30 references to NullableReferenceTypes
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (30)
DataAnnotationsMetadataProviderTest.cs (30)
1151
typeof(
NullableReferenceTypes
),
1152
typeof(
NullableReferenceTypes
).GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceType)));
1154
typeof(
NullableReferenceTypes
).GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceType)),
1156
typeof(
NullableReferenceTypes
));
1175
typeof(
NullableReferenceTypes
),
1176
typeof(
NullableReferenceTypes
).GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceTypeWithRequired)));
1179
typeof(
NullableReferenceTypes
).GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceTypeWithRequired)),
1181
typeof(
NullableReferenceTypes
));
1204
typeof(
NullableReferenceTypes
),
1205
typeof(
NullableReferenceTypes
).GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceType)));
1208
typeof(
NullableReferenceTypes
).GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceType)),
1210
typeof(
NullableReferenceTypes
));
1386
var type = typeof(
NullableReferenceTypes
);
1387
var method = type.GetMethod(nameof(
NullableReferenceTypes
.MethodWithDefault));
1407
var type = typeof(
NullableReferenceTypes
);
1408
var method = type.GetMethod(nameof(
NullableReferenceTypes
.MethodWithDefault));
1583
var type = typeof(
NullableReferenceTypes
);
1584
var property = type.GetProperty(nameof(
NullableReferenceTypes
.NonNullableReferenceType));
1635
var type = typeof(
NullableReferenceTypes
);
1636
var property = type.GetProperty(nameof(
NullableReferenceTypes
.NullableReferenceType));
1651
var type = typeof(
NullableReferenceTypes
);
1652
var method = type.GetMethod(nameof(
NullableReferenceTypes
.Method));
1668
var type = typeof(
NullableReferenceTypes
);
1669
var method = type.GetMethod(nameof(
NullableReferenceTypes
.Method));