1 write to _TryGetValueNullableAnnotation
Microsoft.Extensions.Options.SourceGeneration (1)
Emitter.cs (1)
52
_TryGetValueNullableAnnotation
= GetNullableAnnotationStringForTryValidateValueToUseInGeneratedCode(compilation);
1 reference to _TryGetValueNullableAnnotation
Microsoft.Extensions.Options.SourceGeneration (1)
Emitter.cs (1)
747
OutLn($"if (!global::System.ComponentModel.DataAnnotations.Validator.TryValidateValue(options.{vm.Name}{
_TryGetValueNullableAnnotation
}, context, validationResults, validationAttributes))");