12 references to Create
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
1103
propTypeRef = WithNullability(propTypeRef, prop.PropertyType, nullabilityContext.
Create
(prop).ReadState);
1659
var propertyNullability = nullabilityContext.
Create
(property);
Aspire.Hosting.Tests (2)
Backchannel\BackchannelContractTests.cs (1)
141
var 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)
760
ModelMetadataKind.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)
432
ModelMetadataKind.Property => nullabilityContext.
Create
(context.Key.PropertyInfo!),
Microsoft.AspNetCore.OpenApi (2)
Extensions\TypeExtensions.cs (1)
114
var nullabilityInfo = nullabilityInfoContext.
Create
(propertyInfo);
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
230
_nullabilityContext.
Create
(_underlyingProperty);
Microsoft.Extensions.VectorData.Abstractions (1)
ProviderServices\PropertyModel.cs (1)
88
var nullabilityInfo = new NullabilityInfoContext().
Create
(propertyInfo);
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
958
nullabilityInfo = nullabilityCtx.
Create
((PropertyInfo)memberInfo);