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)
747OutLn($"if (!global::System.ComponentModel.DataAnnotations.Validator.TryValidateValue(options.{vm.Name}{_TryGetValueNullableAnnotation}, context, validationResults, validationAttributes))");