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