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