5 references to TryGetOrCreateTypeByMetadataName
Roslyn.Diagnostics.Analyzers (5)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\CompilationExtensions.cs (1)
70
WellKnownTypeProvider.GetOrCreate(compilation).
TryGetOrCreateTypeByMetadataName
(fullTypeName, out namedTypeSymbol);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (3)
340
|| !wellKnownTypeProvider.
TryGetOrCreateTypeByMetadataName
(WellKnownTypeNames.SystemCollectionsICollection, out var iCollection)
341
|| !wellKnownTypeProvider.
TryGetOrCreateTypeByMetadataName
(WellKnownTypeNames.SystemCollectionsGenericICollection1, out var iCollectionOfT)
342
|| !wellKnownTypeProvider.
TryGetOrCreateTypeByMetadataName
(WellKnownTypeNames.SystemCollectionsGenericIReadOnlyCollection1, out var iReadOnlyCollectionOfT))
src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
189
TryGetOrCreateTypeByMetadataName
(fullTypeName, out INamedTypeSymbol? namedTypeSymbol);