1 write to ModelState
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\InputFormatterContext.cs (1)
76ModelState = modelState;
4 references to ModelState
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\InputFormatterContext.cs (1)
98/// Gets the name of the model. Used as the key or key prefix for errors added to <see cref="ModelState"/>.
Microsoft.AspNetCore.Mvc.Core (3)
Formatters\SystemTextJsonInputFormatter.cs (2)
94context.ModelState.TryAddModelError(path, modelStateException, context.Metadata); 105context.ModelState.TryAddModelError(string.Empty, exception, context.Metadata);
Formatters\TextInputFormatter.cs (1)
46context.ModelState.AddModelError(context.ModelName, exception, context.Metadata);