1 write to ElementType
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
60
ElementType
= elementType;
7 references to ElementType
Microsoft.AspNetCore.Http.RequestDelegateGenerator (7)
StaticRouteHandlerModel\Emitters\EndpointParameterEmitter.cs (3)
95
var createArray = $"new {endpointParameter.
ElementType
.ToDisplayString(EmitterConstants.DisplayFormat)}[{endpointParameter.EmitTempArgument()}.Length]";
115
if (endpointParameter.
ElementType
.NullableAnnotation == NullableAnnotation.Annotated)
177
if (parameter.IsArray && parameter.
ElementType
.NullableAnnotation == NullableAnnotation.Annotated)
StaticRouteHandlerModel\Endpoint.cs (1)
92
parameter is { IsArray: true,
ElementType
.SpecialType: SpecialType.System_String, Source: EndpointParameterSource.Query });
StaticRouteHandlerModel\EndpointParameter.cs (3)
229
else if (IsArray &&
ElementType
.SpecialType == SpecialType.System_String)
262
|| (IsArray &&
ElementType
.SpecialType == SpecialType.System_String)
264
|| (IsArray && TryGetParsability(
ElementType
, wellKnownTypes, out var _));