193 references to WellKnownType
Microsoft.AspNetCore.App.Analyzers (191)
Authorization\AddAuthorizationBuilderAnalyzer.cs (2)
14
using WellKnownType = WellKnownTypeData.
WellKnownType
;
38
var policyServiceCollectionExtensions = wellKnownTypes.Get(
WellKnownType
.Microsoft_Extensions_DependencyInjection_PolicyServiceCollectionExtensions);
Authorization\AuthorizationOptionsTypes.cs (2)
10
using WellKnownType = WellKnownTypeData.
WellKnownType
;
16
AuthorizationOptions = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Authorization_AuthorizationOptions);
Http\HeaderDictionaryAddAnalyzer.cs (2)
12
using WellKnownType = WellKnownTypeData.
WellKnownType
;
36
&& SymbolEqualityComparer.Default.Equals(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_IHeaderDictionary), invocation.Instance?.Type))
Http\RequestDelegateReturnTypeAnalyzer.cs (5)
12
using WellKnownType = WellKnownTypeData.
WellKnownType
;
33
SymbolEqualityComparer.Default.Equals(parent.Type, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_RequestDelegate)))
38
if (SymbolEqualityComparer.Default.Equals(returnType.OriginalDefinition, wellKnownTypes.Get(
WellKnownType
.System_Threading_Tasks_Task_T)))
49
SymbolEqualityComparer.Default.Equals(parent.Type, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_RequestDelegate)))
64
if (returnType != null && SymbolEqualityComparer.Default.Equals(returnType.OriginalDefinition, wellKnownTypes.Get(
WellKnownType
.System_Threading_Tasks_Task_T)))
Mvc\DetectAmbiguousActionRoutes.cs (45)
17
using WellKnownType = WellKnownTypeData.
WellKnownType
;
122
var actionNameAttribute = actionSymbol.GetAttributes(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_ActionNameAttribute), inherit: true).FirstOrDefault();
168
private static readonly
WellKnownType
[] KnownMethodAttributeTypes = new[]
170
WellKnownType
.Microsoft_AspNetCore_Mvc_RouteAttribute,
171
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpDeleteAttribute,
172
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpGetAttribute,
173
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpHeadAttribute,
174
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpOptionsAttribute,
175
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPatchAttribute,
176
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPostAttribute,
177
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPutAttribute,
178
WellKnownType
.Microsoft_AspNetCore_Http_EndpointDescriptionAttribute,
179
WellKnownType
.Microsoft_AspNetCore_Http_EndpointSummaryAttribute,
180
WellKnownType
.Microsoft_AspNetCore_Http_TagsAttribute,
181
WellKnownType
.Microsoft_AspNetCore_Routing_EndpointGroupNameAttribute,
182
WellKnownType
.Microsoft_AspNetCore_Routing_EndpointNameAttribute,
183
WellKnownType
.Microsoft_AspNetCore_Routing_ExcludeFromDescriptionAttribute,
184
WellKnownType
.Microsoft_AspNetCore_Cors_DisableCorsAttribute,
185
WellKnownType
.Microsoft_AspNetCore_Cors_EnableCorsAttribute,
186
WellKnownType
.Microsoft_AspNetCore_OutputCaching_OutputCacheAttribute,
187
WellKnownType
.Microsoft_AspNetCore_RateLimiting_DisableRateLimitingAttribute,
188
WellKnownType
.Microsoft_AspNetCore_RateLimiting_EnableRateLimitingAttribute,
189
WellKnownType
.Microsoft_AspNetCore_Mvc_ActionNameAttribute,
190
WellKnownType
.Microsoft_AspNetCore_Mvc_DisableRequestSizeLimitAttribute,
191
WellKnownType
.Microsoft_AspNetCore_Mvc_FormatFilterAttribute,
192
WellKnownType
.Microsoft_AspNetCore_Mvc_ProducesAttribute,
193
WellKnownType
.Microsoft_AspNetCore_Mvc_ProducesDefaultResponseTypeAttribute,
194
WellKnownType
.Microsoft_AspNetCore_Mvc_ProducesErrorResponseTypeAttribute,
195
WellKnownType
.Microsoft_AspNetCore_Mvc_ProducesResponseTypeAttribute,
196
WellKnownType
.Microsoft_AspNetCore_Mvc_RequestFormLimitsAttribute,
197
WellKnownType
.Microsoft_AspNetCore_Mvc_RequestSizeLimitAttribute,
198
WellKnownType
.Microsoft_AspNetCore_Mvc_RequireHttpsAttribute,
199
WellKnownType
.Microsoft_AspNetCore_Mvc_ResponseCacheAttribute,
200
WellKnownType
.Microsoft_AspNetCore_Mvc_ServiceFilterAttribute,
201
WellKnownType
.Microsoft_AspNetCore_Mvc_TypeFilterAttribute,
202
WellKnownType
.Microsoft_AspNetCore_Mvc_ApiExplorer_ApiConventionNameMatchAttribute,
203
WellKnownType
.Microsoft_AspNetCore_Mvc_Filters_ResultFilterAttribute,
204
WellKnownType
.Microsoft_AspNetCore_Mvc_Infrastructure_DefaultStatusCodeAttribute,
205
WellKnownType
.Microsoft_AspNetCore_Mvc_AutoValidateAntiforgeryTokenAttribute,
206
WellKnownType
.Microsoft_AspNetCore_Mvc_IgnoreAntiforgeryTokenAttribute,
207
WellKnownType
.Microsoft_AspNetCore_Mvc_ViewFeatures_SaveTempDataAttribute,
208
WellKnownType
.Microsoft_AspNetCore_Mvc_SkipStatusCodePagesAttribute,
209
WellKnownType
.Microsoft_AspNetCore_Mvc_ValidateAntiForgeryTokenAttribute,
210
WellKnownType
.Microsoft_AspNetCore_Authorization_AllowAnonymousAttribute,
211
WellKnownType
.Microsoft_AspNetCore_Authorization_AuthorizeAttribute
Mvc\DetectOverriddenAuthorizeAttribute.cs (6)
14
using WellKnownType = WellKnownTypeData.
WellKnownType
;
117
var attributeUsageAttributeType = wellKnownTypes.Get(
WellKnownType
.System_AttributeUsageAttribute);
166
var authInterfaceType = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Authorization_IAuthorizeData);
167
var authAttributeType = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Authorization_AuthorizeAttribute);
182
var anonInterfaceType = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Authorization_IAllowAnonymous);
183
var anonAttributeType = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Authorization_AllowAnonymousAttribute);
Mvc\MvcAnalyzer.cs (21)
19
using WellKnownType = WellKnownTypeData.
WellKnownType
;
71
var controllerRouteAttribute = namedTypeSymbol.GetAttributes(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_RouteAttribute), inherit: true).FirstOrDefault();
111
var methods = match.Value is
WellKnownType
.Microsoft_AspNetCore_Mvc_RouteAttribute
142
private static string? GetHttpMethod(
WellKnownType
match)
146
WellKnownType
.Microsoft_AspNetCore_Mvc_RouteAttribute => null,// No HTTP method.
147
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpDeleteAttribute => "DELETE",
148
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpGetAttribute => "GET",
149
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpHeadAttribute => "HEAD",
150
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpOptionsAttribute => "OPTIONS",
151
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPatchAttribute => "PATCH",
152
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPostAttribute => "POST",
153
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPutAttribute => "PUT",
158
private static readonly
WellKnownType
[] RouteAttributeTypes = new[]
160
WellKnownType
.Microsoft_AspNetCore_Mvc_RouteAttribute,
161
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpDeleteAttribute,
162
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpGetAttribute,
163
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpHeadAttribute,
164
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpOptionsAttribute,
165
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPatchAttribute,
166
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPostAttribute,
167
WellKnownType
.Microsoft_AspNetCore_Mvc_HttpPutAttribute
RenderTreeBuilder\RenderTreeBuilderAnalyzer.cs (2)
13
using WellKnownType = WellKnownTypeData.
WellKnownType
;
60
=> SymbolEqualityComparer.Default.Equals(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Components_Rendering_RenderTreeBuilder), targetMethod.ContainingType)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
30
using WellKnownType = WellKnownTypeData.
WellKnownType
;
374
if (SymbolEqualityComparer.Default.Equals(attributeTypeSymbol.ContainingSymbol, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_AsParametersAttribute)))
RouteEmbeddedLanguage\Infrastructure\MvcDetector.cs (4)
11
using WellKnownType = WellKnownTypeData.
WellKnownType
;
24
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_ControllerAttribute),
25
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_NonControllerAttribute));
36
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_NonActionAttribute),
RouteEmbeddedLanguage\Infrastructure\RoutePatternParametersDetector.cs (5)
11
using WellKnownType = WellKnownTypeData.
WellKnownType
;
30
else if (child.HasAttribute(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_AsParametersAttribute)))
45
var fromRouteMetadata = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromRouteMetadata);
75
private static bool HasSpecialType(ISymbol child, WellKnownTypes wellKnownTypes,
WellKnownType
[] specialTypes)
85
private static bool HasExplicitNonRouteAttribute(ISymbol child, WellKnownTypes wellKnownTypes,
WellKnownType
[] allNoneRouteMetadataTypes)
RouteEmbeddedLanguage\Infrastructure\RouteUsageDetector.cs (4)
16
using WellKnownType = WellKnownTypeData.
WellKnownType
;
156
if (SymbolEqualityComparer.Default.Equals(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_EndpointRouteBuilderExtensions), mapMethodSymbol.ContainingType))
270
a => SymbolEqualityComparer.Default.Equals(a.Type, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Routing_IEndpointRouteBuilder)) ||
271
a.Type.Implements(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Routing_IEndpointRouteBuilder))))
RouteEmbeddedLanguage\Infrastructure\RouteWellKnownTypes.cs (17)
8
using WellKnownType = WellKnownTypeData.
WellKnownType
;
14
public static readonly
WellKnownType
[] ParameterSpecialTypes = new[]
16
WellKnownType
.System_Threading_CancellationToken,
17
WellKnownType
.Microsoft_AspNetCore_Http_HttpContext,
18
WellKnownType
.Microsoft_AspNetCore_Http_HttpRequest,
19
WellKnownType
.Microsoft_AspNetCore_Http_HttpResponse,
20
WellKnownType
.System_Security_Claims_ClaimsPrincipal,
21
WellKnownType
.Microsoft_AspNetCore_Http_IFormFileCollection,
22
WellKnownType
.Microsoft_AspNetCore_Http_IFormFile,
23
WellKnownType
.System_IO_Stream,
24
WellKnownType
.System_IO_Pipelines_PipeReader,
27
public static readonly
WellKnownType
[] NonRouteMetadataTypes = new[]
29
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromBodyMetadata,
30
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromFormMetadata,
31
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromHeaderMetadata,
32
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromQueryMetadata,
33
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromServiceMetadata,
RouteHandlers\AtMostOneFromBodyAttribute.cs (3)
13
using WellKnownType = WellKnownTypeData.
WellKnownType
;
22
var fromBodyMetadataInterfaceType = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromBodyMetadata);
23
var asParametersAttributeType = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_AsParametersAttribute);
RouteHandlers\DetectAmbiguousRoutes.cs (7)
18
using WellKnownType = WellKnownTypeData.
WellKnownType
;
97
if (SymbolEqualityComparer.Default.Equals(method.ContainingType, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_RoutingEndpointConventionBuilderExtensions)))
109
else if (SymbolEqualityComparer.Default.Equals(method.ContainingType, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_AuthorizationEndpointConventionBuilderExtensions)))
113
else if (SymbolEqualityComparer.Default.Equals(method.ContainingType, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_OpenApiRouteHandlerBuilderExtensions)))
128
else if (SymbolEqualityComparer.Default.Equals(method.ContainingType, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_CorsEndpointConventionBuilderExtensions)))
132
else if (SymbolEqualityComparer.Default.Equals(method.ContainingType, wellKnownTypes.Get(
WellKnownType
.Microsoft_Extensions_DependencyInjection_OutputCacheConventionBuilderExtensions)))
136
else if (SymbolEqualityComparer.Default.Equals(method.ContainingType, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_RateLimiterEndpointConventionBuilderExtensions)))
RouteHandlers\DisallowMvcBindArgumentsOnParameters.cs (3)
12
using WellKnownType = WellKnownTypeData.
WellKnownType
;
24
var modelBindingAttribute = parameter.GetAttributes(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_ModelBinding_IBinderTypeProviderMetadata)).FirstOrDefault() ??
25
parameter.GetAttributes(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_BindAttribute)).FirstOrDefault();
RouteHandlers\DisallowNonParsableComplexTypesOnParameters.cs (5)
14
using WellKnownType = WellKnownTypeData.
WellKnownType
;
27
var fromServiceMetadataTypeSymbol = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromServiceMetadata);
52
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromHeaderMetadata,
61
WellKnownType
.Microsoft_AspNetCore_Http_Metadata_IFromQueryMetadata,
97
static bool ReportFromAttributeDiagnostic(OperationAnalysisContext context,
WellKnownType
fromMetadataInterfaceType, WellKnownTypes wellKnownTypes, IParameterSymbol parameter, INamedTypeSymbol parameterTypeSymbol, Location location)
RouteHandlers\DisallowReturningActionResultFromMapMethods.cs (6)
12
using WellKnownType = WellKnownTypeData.
WellKnownType
;
36
if (wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_IResult).IsAssignableFrom(returnType))
43
(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_IActionResult).IsAssignableFrom(returnType) ||
44
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_Infrastructure_IConvertToActionResult).IsAssignableFrom(returnType)))
74
if (wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_IResult).IsAssignableFrom(type))
79
if (wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Mvc_IActionResult).IsAssignableFrom(type))
RouteHandlers\RouteHandlerAnalyzer.cs (4)
16
using WellKnownType = WellKnownTypeData.
WellKnownType
;
201
SymbolEqualityComparer.Default.Equals(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_EndpointRouteBuilderExtensions), targetMethod.ContainingType) &&
209
if (SymbolEqualityComparer.Default.Equals(wellKnownTypes.Get(
WellKnownType
.System_Delegate), parmeterType))
213
if (SymbolEqualityComparer.Default.Equals(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_RequestDelegate), parmeterType))
src\Shared\RoslynUtils\ParsabilityHelper.cs (10)
16
using WellKnownType = WellKnownTypeData.
WellKnownType
;
33
if (SymbolEqualityComparer.Default.Equals(typeSymbol, wellKnownTypes.Get(
WellKnownType
.System_Uri)))
111
SymbolEqualityComparer.Default.Equals(methodSymbol.Parameters[1].Type, wellKnownTypes.Get(
WellKnownType
.System_IFormatProvider)) &&
117
var iParsableTypeSymbol = wellKnownTypes.Get(
WellKnownType
.System_IParsable_T);
126
var iBindableFromHttpContextTypeSymbol = wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_IBindableFromHttpContext_T);
139
SymbolEqualityComparer.Default.Equals(methodSymbol.Parameters[0].Type, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_HttpContext)) &&
141
SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, wellKnownTypes.Get(
WellKnownType
.System_Threading_Tasks_ValueTask_T)) &&
150
SymbolEqualityComparer.Default.Equals(methodSymbol.Parameters[0].Type, wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_HttpContext)) &&
151
SymbolEqualityComparer.Default.Equals(methodSymbol.Parameters[1].Type, wellKnownTypes.Get(
WellKnownType
.System_Reflection_ParameterInfo)) &&
158
return SymbolEqualityComparer.Default.Equals(returnType.ConstructedFrom, wellKnownTypes.Get(
WellKnownType
.System_Threading_Tasks_ValueTask_T)) &&
src\Shared\RoslynUtils\WellKnownTypes.cs (9)
34
var
typeId = (WellKnownTypeData.
WellKnownType
)i;
61
public INamedTypeSymbol Get(WellKnownTypeData.
WellKnownType
type)
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)
120
foreach (
var
wellKnownType in wellKnownTypes)
133
public bool Implements(ITypeSymbol type, WellKnownTypeData.
WellKnownType
[] interfaceWellKnownTypes)
135
foreach (
var
wellKnownType in interfaceWellKnownTypes)
WebApplicationBuilder\WebApplicationBuilderAnalyzer.cs (27)
16
using WellKnownType = WellKnownTypeData.
WellKnownType
;
41
INamedTypeSymbol[] configureTypes = { wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Hosting_WebHostBuilderExtensions) };
42
INamedTypeSymbol[] configureWebHostTypes = { wellKnownTypes.Get(
WellKnownType
.Microsoft_Extensions_Hosting_GenericHostWebHostBuilderExtensions) };
45
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Hosting_HostingAbstractionsWebHostBuilderExtensions),
46
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Hosting_WebHostBuilderExtensions),
50
wellKnownTypes.Get(
WellKnownType
.Microsoft_Extensions_Hosting_HostingHostBuilderExtensions),
51
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Hosting_WebHostBuilderExtensions)
55
wellKnownTypes.Get(
WellKnownType
.Microsoft_Extensions_Hosting_HostingHostBuilderExtensions),
56
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder)
60
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder),
61
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder),
62
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Hosting_WebHostBuilderExtensions),
63
wellKnownTypes.Get(
WellKnownType
.Microsoft_Extensions_Hosting_HostingHostBuilderExtensions),
65
INamedTypeSymbol[] configureHostTypes = { wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder) };
68
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_EndpointRoutingApplicationBuilderExtensions),
69
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_WebApplication)
83
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder),
99
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder),
115
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder),
131
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder),
147
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder),
163
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder),
179
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder),
195
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureWebHostBuilder),
211
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder),
227
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_ConfigureHostBuilder),
245
wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Builder_WebApplication),
Microsoft.AspNetCore.App.Analyzers.Test (1)
Infrastructure\WellKnownTypesTests.cs (1)
117
var wellKnownTypeKeys = Enum.GetValues<
WellKnownType
>();
Microsoft.AspNetCore.App.CodeFixes (1)
Http\HeaderDictionaryAddFixer.cs (1)
72
var annotation = new SyntaxAnnotation("SymbolId", DocumentationCommentId.CreateReferenceId(wellKnownTypes.Get(
WellKnownType
.Microsoft_AspNetCore_Http_HeaderDictionaryExtensions)));