21 references to GetTypesByMetadataName
Aspire.Hosting.Analyzers (1)
Infrastructure\WellKnownTypes.cs (1)
87var types = _compilation.GetTypesByMetadataName(metadataName);
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\RoslynUtils\WellKnownTypes.cs (1)
92var types = _compilation.GetTypesByMetadataName(metadataName);
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
src\Shared\RoslynUtils\WellKnownTypes.cs (1)
92var types = _compilation.GetTypesByMetadataName(metadataName);
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1194/// resolution, consider using <see cref="GetTypesByMetadataName(string)" /> instead and filtering the results for the symbol required.
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\CompilationExtensions.cs (1)
40foreach (var currentType in compilation.GetTypesByMetadataName(fullyQualifiedMetadataName))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (15)
Compilation\CompilationAPITests.cs (8)
3407var types = comp.GetTypesByMetadataName("N.C`1"); 3425var types = comp.GetTypesByMetadataName("N.C`1"); 3450var types = comp.GetTypesByMetadataName("N.C`1"); 3474var types = comp.GetTypesByMetadataName("N.C`1"); 3502var types = comp.GetTypesByMetadataName("N.C`1"); 3531var types = comp.GetTypesByMetadataName("N.C`1"); 3569var types = comp.GetTypesByMetadataName("N.C`1"); 3612var types = current.GetTypesByMetadataName("C");
Symbols\Source\FileModifierTests.cs (7)
4287var types = comp.GetTypesByMetadataName(metadataName); 4293Assert.Empty(comp.GetTypesByMetadataName("C")); 4316var types = comp.GetTypesByMetadataName(metadataName); 4320Assert.Empty(comp.GetTypesByMetadataName("C")); 4335Assert.Empty(comp.GetTypesByMetadataName($"<>F{checksum}__C")); 4338Assert.Empty(comp.GetTypesByMetadataName($"<WrongName>F{checksum}__C")); 4343var types = comp.GetTypesByMetadataName($"<SomeFile>F{checksum}__C");
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\CompilationExtensions.cs (1)
40foreach (var currentType in compilation.GetTypesByMetadataName(fullyQualifiedMetadataName))