1 instantiation of ModelErrorCollection
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelStateEntry.cs (1)
32_errors = new ModelErrorCollection();
10 references to ModelErrorCollection
FormatterWebSite (1)
ValidateBodyParameterAttribute.cs (1)
24var parameterBindingErrors = context.ModelState[bodyParameter.Name]?.Errors ??
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateEntry.cs (3)
11private ModelErrorCollection? _errors; 24/// Gets the <see cref="ModelErrorCollection"/> for this entry. 26public ModelErrorCollection Errors
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\UnsupportedContentTypeFilter.cs (1)
45var errors = kvp.Value.Errors;
SerializableError.cs (1)
41var errors = keyModelStatePair.Value.Errors;
ValidationProblemDetails.cs (1)
42var errors = keyModelStatePair.Value.Errors;
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
741var modelErrors = tryGetModelStateResult ? entry.Errors : null;
XmlFormattersWebSite (2)
Controllers\HomeController.cs (1)
34var errors = keyModelStatePair.Value.Errors;
Controllers\ValidationController.cs (1)
32var errors = keyModelStatePair.Value.Errors;