提交 394d1c58 编写于 作者: S Sam Harwell

Allow TryGetTextVersion to pass through to the initial source

上级 9c40d6a4
......@@ -67,6 +67,10 @@ public bool TryGetTextVersion(out VersionStamp version)
{
version = textAndVersion.Version;
}
else if (_initialSource is ITextVersionable textVersionable)
{
return textVersionable.TryGetTextVersion(out version);
}
}
return version != default;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册