12 references to Create
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
1103propTypeRef = WithNullability(propTypeRef, prop.PropertyType, nullabilityContext.Create(prop).ReadState); 1659var propertyNullability = nullabilityContext.Create(property);
Aspire.Hosting.Tests (2)
Backchannel\BackchannelContractTests.cs (1)
141var nullabilityInfo = nullabilityContext.Create(prop);
ResourceNotificationTests.cs (1)
1728(!type.IsValueType && new NullabilityInfoContext().Create(property).WriteState == NullabilityState.Nullable))
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
230_nullabilityContext.Create(_underlyingProperty);
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelMetadata.cs (1)
760ModelMetadataKind.Property => Identity.PropertyInfo != null ? nullabilityContext.Create(Identity.PropertyInfo!) : null,
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
230_nullabilityContext.Create(_underlyingProperty);
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
432ModelMetadataKind.Property => nullabilityContext.Create(context.Key.PropertyInfo!),
Microsoft.AspNetCore.OpenApi (2)
Extensions\TypeExtensions.cs (1)
114var nullabilityInfo = nullabilityInfoContext.Create(propertyInfo);
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
230_nullabilityContext.Create(_underlyingProperty);
Microsoft.Extensions.VectorData.Abstractions (1)
ProviderServices\PropertyModel.cs (1)
88var nullabilityInfo = new NullabilityInfoContext().Create(propertyInfo);
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
958nullabilityInfo = nullabilityCtx.Create((PropertyInfo)memberInfo);