32 references to WellKnownTypeData
Microsoft.AspNetCore.App.Analyzers (32)
Authorization\AddAuthorizationBuilderAnalyzer.cs (1)
14using WellKnownType = WellKnownTypeData.WellKnownType;
Authorization\AuthorizationOptionsTypes.cs (1)
10using WellKnownType = WellKnownTypeData.WellKnownType;
Http\HeaderDictionaryAddAnalyzer.cs (1)
12using WellKnownType = WellKnownTypeData.WellKnownType;
Http\RequestDelegateReturnTypeAnalyzer.cs (1)
12using WellKnownType = WellKnownTypeData.WellKnownType;
Mvc\DetectAmbiguousActionRoutes.cs (1)
17using WellKnownType = WellKnownTypeData.WellKnownType;
Mvc\DetectOverriddenAuthorizeAttribute.cs (1)
14using WellKnownType = WellKnownTypeData.WellKnownType;
Mvc\MvcAnalyzer.cs (1)
19using WellKnownType = WellKnownTypeData.WellKnownType;
RenderTreeBuilder\RenderTreeBuilderAnalyzer.cs (1)
13using WellKnownType = WellKnownTypeData.WellKnownType;
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
30using WellKnownType = WellKnownTypeData.WellKnownType;
RouteEmbeddedLanguage\Infrastructure\MvcDetector.cs (1)
11using WellKnownType = WellKnownTypeData.WellKnownType;
RouteEmbeddedLanguage\Infrastructure\RoutePatternParametersDetector.cs (1)
11using WellKnownType = WellKnownTypeData.WellKnownType;
RouteEmbeddedLanguage\Infrastructure\RouteUsageDetector.cs (1)
16using WellKnownType = WellKnownTypeData.WellKnownType;
RouteEmbeddedLanguage\Infrastructure\RouteWellKnownTypes.cs (1)
8using WellKnownType = WellKnownTypeData.WellKnownType;
RouteHandlers\AtMostOneFromBodyAttribute.cs (1)
13using WellKnownType = WellKnownTypeData.WellKnownType;
RouteHandlers\DetectAmbiguousRoutes.cs (1)
18using WellKnownType = WellKnownTypeData.WellKnownType;
RouteHandlers\DisallowMvcBindArgumentsOnParameters.cs (1)
12using WellKnownType = WellKnownTypeData.WellKnownType;
RouteHandlers\DisallowNonParsableComplexTypesOnParameters.cs (1)
14using WellKnownType = WellKnownTypeData.WellKnownType;
RouteHandlers\DisallowReturningActionResultFromMapMethods.cs (1)
12using WellKnownType = WellKnownTypeData.WellKnownType;
RouteHandlers\RouteHandlerAnalyzer.cs (1)
16using WellKnownType = WellKnownTypeData.WellKnownType;
src\Shared\RoslynUtils\ParsabilityHelper.cs (1)
16using WellKnownType = WellKnownTypeData.WellKnownType;
src\Shared\RoslynUtils\WellKnownTypes.cs (11)
31for (var i = 0; i < WellKnownTypeData.WellKnownTypeNames.Length; i++) 33var name = WellKnownTypeData.WellKnownTypeNames[i]; 34var typeId = (WellKnownTypeData.WellKnownType)i; 52_lazyWellKnownTypes = new INamedTypeSymbol?[WellKnownTypeData.WellKnownTypeNames.Length]; 61public INamedTypeSymbol Get(WellKnownTypeData.WellKnownType type) 77var result = GetTypeByMetadataNameInTargetAssembly(WellKnownTypeData.WellKnownTypeNames[index]); 80throw new InvalidOperationException($"Failed to resolve well-known type '{WellKnownTypeData.WellKnownTypeNames[index]}'."); 116public bool IsType(ITypeSymbol type, WellKnownTypeData.WellKnownType[] wellKnownTypes) => IsType(type, wellKnownTypes, out var _); 118public bool IsType(ITypeSymbol type, WellKnownTypeData.WellKnownType[] wellKnownTypes, [NotNullWhen(true)] out WellKnownTypeData.WellKnownType? match) 133public bool Implements(ITypeSymbol type, WellKnownTypeData.WellKnownType[] interfaceWellKnownTypes)
WebApplicationBuilder\WebApplicationBuilderAnalyzer.cs (1)
16using WellKnownType = WellKnownTypeData.WellKnownType;