Base:
property
Display
Microsoft.CodeAnalysis.MetadataReference.Display
5 overrides of Display
Microsoft.CodeAnalysis (1)
MetadataReference\MetadataImageReference.cs (1)
49public override string Display
Microsoft.CodeAnalysis.Test.Utilities (2)
Mocks\TestMetadataReference.cs (2)
26public override string Display 72public override string Display
Microsoft.CodeAnalysis.UnitTests (2)
MetadataReferences\MetadataReferenceTests.cs (2)
472public override string Display 500public override string Display
35 references to Display
Microsoft.CodeAnalysis (5)
ReferenceManager\CommonReferenceManager.Resolution.cs (5)
363diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_MetadataFileNotAssembly, location, peReference.Display ?? "")); 378diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_LinkedNetmoduleMetadataMustProvideFullPEImage, location, peReference.Display ?? "")); 385diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_MetadataFileNotModule, location, peReference.Display ?? "")); 505newDiagnostic = PortableExecutableReference.ExceptionToDiagnostic(e, messageProvider, location, peReference.Display ?? "", peReference.Properties.Kind); 559diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_MetadataFileNotAssembly, Location.None, peReference.Display ?? ""));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
SourceGeneration\GeneratorDriverTests.cs (3)
3240Assert.Equal(referenceList[0], metadataRefs[0].Display); 3241Assert.Equal(referenceList[1], metadataRefs[1].Display); 3255Assert.Single(referenceList, modifiedRef.Display);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
120Assert.True(File.Exists(portableExecutable.FilePath), $"'{portableExecutable.FilePath}' does not exist for reference '{portableExecutable.Display}'");
Microsoft.CodeAnalysis.Features (5)
AddImport\AbstractAddImportFeatureService.cs (3)
433var path1 = x?.FilePath ?? x?.Display; 434var path2 = y?.FilePath ?? y?.Display; 443var path = obj.FilePath ?? obj.Display;
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (1)
157=> peReference.FilePath ?? peReference.Display;
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (1)
64=> peReference.FilePath ?? peReference.Display;
Microsoft.CodeAnalysis.UnitTests (10)
MetadataReferences\MetadataReferenceTests.cs (10)
104Assert.Equal(CodeAnalysisResources.InMemoryAssembly, r.Display); 119Assert.Equal(CodeAnalysisResources.InMemoryAssembly, r.Display); 135Assert.Equal(CodeAnalysisResources.InMemoryAssembly, r.Display); 151Assert.Equal(CodeAnalysisResources.InMemoryModule, r.Display); 167Assert.Equal(file.Path, r.Display); 190Assert.Equal(file.Path, r.Display); 210Assert.Equal(assembly.Location, r.Display); 227Assert.Equal(assembly.Location, r.Display); 502get { return base.Display; } 585Assert.Equal(CodeAnalysisResources.InMemoryAssembly, r.Display);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\ReferenceManagerTests.vb (2)
663Diagnostic(ERRID.ERR_DuplicateReferenceStrong).WithArguments(NetFramework.System.Display, Net20.References.System.Display))
Microsoft.CodeAnalysis.Workspaces (3)
Serialization\SerializedPortableExecutableReference.cs (1)
18[DebuggerDisplay("{" + nameof(Display) + ",nq}")]
Workspace\Workspace.cs (2)
1434if ((!RoslynString.IsNullOrEmpty(pemeta.Display) && outputAssemblyToProjectIdMap.TryGetValue(pemeta.Display, out var matchingProjectId)) ||
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (6)
VisualStudioMSBuildWorkspaceTests.cs (6)
322var pref = c2.References.OfType<PortableExecutableReference>().FirstOrDefault(r => r.Display == "CSharpProject"); 349var pref = c2.References.OfType<PortableExecutableReference>().FirstOrDefault(r => r.Display == "EmittedCSharpProject"); 1329Assert.Contains(metaRefs, r => r is PortableExecutableReference reference && reference.Display.Contains("CSharpProject.dll")); 1351Assert.Contains(project.MetadataReferences, r => r is PortableExecutableReference reference && reference.Display.Contains("CSharpProject.dll")); 1397Assert.Contains(metaRefs, r => r is PortableExecutableReference reference && reference.Display.Contains("CSharpProject.dll")); 1439Assert.Contains(vbProject.MetadataReferences, r => r is PortableExecutableReference reference && reference.Display.Contains("CSharpProject.dll"));