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