59 references to GetDisplayName
Microsoft.CodeAnalysis (7)
CommandLine\CommonCompiler.cs (2)
621consoleOutput.WriteLine(string.Format(CodeAnalysisResources.InternalsVisibleToCurrentAssembly, currentAssembly.Identity.GetDisplayName(fullKey: true))); 635consoleOutput.WriteLine(string.Format(CodeAnalysisResources.InternalsVisibleToReferencedAssembly, assembly.Identity.GetDisplayName(fullKey: true), grantsIvt));
MetadataReference\AssemblyIdentity.DisplayName.cs (2)
60return GetDisplayName(fullKey: false); 152return GetDisplayName(fullKey: true);
NativePdbWriter\PdbWriter.cs (1)
238UsingNamespace("Z" + alias.Name + " " + alias.Assembly.Identity.GetDisplayName(), Module);
ReferenceManager\AssemblyData.cs (1)
72private string GetDebuggerDisplay() => $"{GetType().Name}: [{Identity.GetDisplayName()}]";
ReferenceManager\AssemblyReferenceBinding.cs (1)
106var displayName = ReferenceIdentity?.GetDisplayName() ?? "";
Microsoft.CodeAnalysis.CSharp (10)
Errors\MessageProvider.cs (3)
208reference.Display ?? identity.GetDisplayName(), 209equivalentReference.Display ?? equivalentIdentity.GetDisplayName()); 216reference.Display ?? identity.GetDisplayName());
SymbolDisplay\SymbolDisplayVisitor.cs (1)
155: symbol.Identity.GetDisplayName();
Symbols\NonMissingModuleSymbol.cs (5)
114referenceId.GetDisplayName(), 116definitionId.GetDisplayName(), 132ownerAssembly.Identity.GetDisplayName(), 133referenceId.GetDisplayName(), 135definitionId.GetDisplayName()
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
824type.ErrorInfo ?? new CSDiagnosticInfo(ErrorCode.ERR_ErrorInReferencedAssembly, type.ContainingAssembly?.Identity.GetDisplayName() ?? string.Empty), true);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\ReferenceManagerTests.cs (4)
2063Assert.Equal("B, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2", libBv1.Assembly.Identity.GetDisplayName()); 2064Assert.Equal("B, Version=2.0.0.0, Culture=neutral, PublicKeyToken=ce65828c82a341f2", libBv2.Assembly.Identity.GetDisplayName()); 2171Assert.Equal("System.Numerics.Vectors, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", vectors40.Assembly.Identity.GetDisplayName()); 2178Assert.Equal("System.Numerics.Vectors, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", vectors41.Assembly.Identity.GetDisplayName());
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
ExpressionCompiler.cs (1)
377(AssemblyIdentity assemblyIdentity, out uint size) => appDomain.GetMetaDataBytesPtr(assemblyIdentity.GetDisplayName(), out size),
Microsoft.CodeAnalysis.Features (4)
AddMissingReference\AddMissingReferenceCodeAction.cs (1)
69var description = string.Format(FeaturesResources.Add_reference_to_0, missingAssemblyIdentity.GetDisplayName());
Completion\Providers\Scripting\GlobalAssemblyCacheCompletionHelper.cs (1)
47identity.GetDisplayName(), displayTextSuffix: "", glyph: Glyph.Assembly, rules: _itemRules));
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
236var fullAssemblyName = containingAssembly.Identity.GetDisplayName();
MetadataAsSource\MetadataAsSourceHelpers.cs (1)
39assemblySymbol.Identity.GetDisplayName());
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\DecompiledSource\AssemblyResolver.cs (1)
110Log(assembly.Identity.GetDisplayName());
Microsoft.CodeAnalysis.Scripting (2)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
82private string GetDebuggerDisplay() => IsDefault ? "uninitialized" : Identity.GetDisplayName() + (Location != null ? " @ " + Location : "");
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (1)
102var path = GacFileResolver.Resolve(referenceIdentity.GetDisplayName());
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (3)
GlobalAssemblyCacheTests.cs (3)
53Assert.True(name.GetDisplayName().Contains("PublicKeyToken=b77a5c561934e089"), "PublicKeyToken matches"); 60Assert.Equal("System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", name.GetDisplayName()); 71Assert.Equal("System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", name.GetDisplayName());
Microsoft.CodeAnalysis.Test.Utilities (4)
CompilationVerifier.cs (1)
498return _compilation.Assembly.Identity.GetDisplayName();
Diagnostics\DiagnosticExtensions.cs (1)
131Assert.Contains(id.GetDisplayName(), diagnosticMessage);
Metadata\ModuleData.cs (1)
77this.Id = new ModuleDataId(identity.Name, identity.GetDisplayName(), GetMvid(image));
Mocks\TestMissingMetadataReferenceResolver.cs (1)
30return $"{Reference.Display} -> {Identity.GetDisplayName()}";
Microsoft.CodeAnalysis.UnitTests (13)
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (13)
127Assert.Equal("goo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", id.GetDisplayName()); 130Assert.Equal("goo, Version=1.2.3.4, Culture=neutral, PublicKeyToken=null", id.GetDisplayName()); 133Assert.Equal("goo, Version=0.0.0.0, Culture=en-US, PublicKeyToken=null", id.GetDisplayName()); 136Assert.Equal("goo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=0123456789abcdef", id.GetDisplayName(), StringComparer.OrdinalIgnoreCase); 139Assert.Equal("goo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, Retargetable=Yes", id.GetDisplayName()); 142Assert.Equal("goo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime", id.GetDisplayName()); 145string dn1 = id.GetDisplayName(); 146string dn2 = id.GetDisplayName(fullKey: false); 150string dnFull = id.GetDisplayName(fullKey: true); 154Assert.Equal("Goo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", id.GetDisplayName()); 157Assert.Equal(@"Goo, Version=0.0.0.0, Culture="" \'\t\r\n\\\=\, "", PublicKeyToken=null", id.GetDisplayName()); 327var dn = ai.GetDisplayName(); 408var name = identity.GetDisplayName();
Microsoft.CodeAnalysis.VisualBasic (4)
Errors\MessageProvider.vb (3)
389If(reference.Display, identity.GetDisplayName()), 390If(equivalentReference.Display, equivalentIdentity.GetDisplayName())) 397If(equivalentReference.Display, equivalentIdentity.GetDisplayName()))
SymbolDisplay\SymbolDisplayVisitor.vb (1)
181Dim text = If((Format.TypeQualificationStyle = SymbolDisplayTypeQualificationStyle.NameOnly), symbol.Identity.Name, symbol.Identity.GetDisplayName())
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\AbstractDiagnosticPropertiesService.cs (1)
34assemblyIds[0].GetDisplayName());
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (2)
587_applyChangesProjectFile.AddMetadataReferenceAsync(identity.GetDisplayName(), metadataReference.Properties.Aliases, hintPath: null, CancellationToken.None).Wait(); 619_applyChangesProjectFile.RemoveMetadataReferenceAsync(identity.Name, identity.GetDisplayName(), peRef.FilePath, CancellationToken.None).Wait();
Microsoft.VisualStudio.LanguageServices (3)
Library\VsNavInfo\NavInfoFactory.cs (1)
61=> new NavInfo(this, libraryName: assemblySymbol.Identity.GetDisplayName());
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (2)
58if (!visualStudioWorkspace.TryAddReferenceToProject(_projectId, "*" + _assemblyIdentity.GetDisplayName())) 81=> string.Format(ServicesVSResources.Add_a_reference_to_0, _assemblyIdentity.GetDisplayName());