17 references to TryParseDisplayName
Microsoft.CodeAnalysis (2)
MetadataReader\PEAssembly.cs (1)
138if (AssemblyIdentity.TryParseDisplayName(attrVal, out identity))
MetadataReader\TypeNameDecoder.cs (1)
131if (!AssemblyIdentity.TryParseDisplayName(fullName.AssemblyName, out identity))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\UseSiteErrorTests.cs (1)
2451AssemblyIdentity.TryParseDisplayName("Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", out expectedAssemblyId);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\MethodDebugInfo.Native.cs (1)
338if (!AssemblyIdentity.TryParseDisplayName(target, out var targetIdentity))
Microsoft.CodeAnalysis.Features (2)
AddMissingReference\AbstractAddMissingReferenceCodeFixProvider.cs (1)
72AssemblyIdentity.TryParseDisplayName(displayName, out var serializedIdentity))
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
239if (AssemblyIdentity.TryParseDisplayName(argument, out var assemblyIdentity))
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
225if (!AssemblyIdentity.TryParseDisplayName(assemblyDisplayName, out var identity))
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\IRuntimeEnvironment.cs (1)
333AssemblyIdentity.TryParseDisplayName(module.FullName, out var identity);
Microsoft.CodeAnalysis.UnitTests (6)
Analyzers\AnalyzerFileReferenceTests.cs (1)
220AssemblyIdentity.TryParseDisplayName("Alpha, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", out var expectedIdentity);
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (5)
79bool success = AssemblyIdentity.TryParseDisplayName(displayName, out id); 101actual = AssemblyIdentity.TryParseDisplayName(displayName, out id) ? id.Name : null; 367Assert.Throws<ArgumentNullException>(() => AssemblyIdentity.TryParseDisplayName(null, out id)); 379AssemblyIdentity.TryParseDisplayName("goo, Version=1.0.0.0, Culture=en-US, Retargetable=Yes, ContentType=WindowsRuntime, PublicKeyToken=" + StrPublicKeyToken1, out id)); 410Assert.False(AssemblyIdentity.TryParseDisplayName(name, out _));
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
533ElseIf Not AssemblyIdentity.TryParseDisplayName(value, identity) OrElse
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\UseSiteErrorTests.vb (1)
746AssemblyIdentity.TryParseDisplayName("Unavailable, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", expectedAssemblyId)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Metadata\PE\LoadingEvents.vb (1)
78AssemblyIdentity.TryParseDisplayName("System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", expectedAssemblyId)