public void PortableReference_Display() { var comparer = CommonReferenceManager <CS.CSharpCompilation, IAssemblySymbolInternal> .MetadataReferenceEqualityComparer.Instance; var f1 = MscorlibRef; var f2 = SystemCoreRef; var m1a = new MyReference2(@"c:\a\goo.dll", display: "m1a"); Assert.Equal(@"c:\a\goo.dll", m1a.Display); Assert.Equal(@"c:\a\goo.dll", m1a.FilePath); }
public void PortableReference_Display() { var comparer = CommonReferenceManager<CS.CSharpCompilation, IAssemblySymbol>.MetadataReferenceEqualityComparer.Instance; var f1 = MscorlibRef; var f2 = SystemCoreRef; var m1a = new MyReference2(@"c:\a\foo.dll", display: "m1a"); Assert.Equal(@"c:\a\foo.dll", m1a.Display); Assert.Equal(@"c:\a\foo.dll", m1a.FilePath); }