提交 1b53c27e 编写于 作者: T Tomas Matousek

Disable ReferenceResolution_RelativePaths on Linux, need better x-plat resolver mocks

上级 feeeb7e4
......@@ -1346,7 +1346,8 @@ public void ResolvedReferencesCaching()
var a2 = c2.SourceAssembly;
}
[Fact]
// TODO: make x-plat (https://github.com/dotnet/roslyn/issues/6465)
[ConditionalFact(typeof(WindowsOnly))]
public void ReferenceResolution_RelativePaths()
{
var t1 = Parse(@"
......
......@@ -33,6 +33,10 @@ public override ImmutableArray<PortableExecutableReference> ResolveReference(str
if (_pathResolver != null)
{
reference = _pathResolver.ResolvePath(reference, baseFilePath);
if (reference == null)
{
return ImmutableArray<PortableExecutableReference>.Empty;
}
}
map = _files;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册