8 references to TryParseDisplayName
Microsoft.CodeAnalysis (2)
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
162
return
TryParseDisplayName
(displayName, out identity, parts: out _);
MetadataReference\AssemblyIdentityComparer.cs (1)
106
if (!AssemblyIdentity.
TryParseDisplayName
(referenceDisplayName!, out reference, out parts) ||
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceAssemblySymbol.cs (1)
2287
if (!AssemblyIdentity.
TryParseDisplayName
(displayName, out identity, out parts))
Microsoft.CodeAnalysis.Scripting (1)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (1)
185
if (!TrustedPlatformAssemblies.IsEmpty && AssemblyIdentity.
TryParseDisplayName
(reference, out var identity, out var identityParts))
Microsoft.CodeAnalysis.UnitTests (3)
MetadataReferences\AssemblyIdentityComparerTests.cs (2)
53
Assert.True(AssemblyIdentity.
TryParseDisplayName
(displayName1, out id1, out parts1));
56
Assert.True(AssemblyIdentity.
TryParseDisplayName
(displayName2, out id2, out parts2));
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (1)
117
bool success = AssemblyIdentity.
TryParseDisplayName
(displayName, out id, out actualParts);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceAssemblySymbol.vb (1)
969
If Not AssemblyIdentity.
TryParseDisplayName
(displayName, identity, parts) Then