3 types derived from ProblemDetails
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
56 instantiations of ProblemDetails
BasicWebSite (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (4)
Microsoft.AspNetCore.Http.Extensions.Tests (8)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Http.Results.Tests (19)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.Core.Test (13)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
MinimalSample (1)
XmlFormattersWebSite (1)
330 references to ProblemDetails
Diagnostics.FunctionalTests (10)
FormatterWebSite (1)
Microsoft.AspNetCore.Diagnostics (2)
Microsoft.AspNetCore.Diagnostics.Tests (8)
Microsoft.AspNetCore.Http.Abstractions (10)
Microsoft.AspNetCore.Http.Abstractions.Tests (13)
Microsoft.AspNetCore.Http.Extensions (6)
Microsoft.AspNetCore.Http.Extensions.Tests (34)
Microsoft.AspNetCore.Http.Results (65)
Microsoft.AspNetCore.Http.Results.Tests (34)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (13)
ApiResponseTypeProviderTest.cs (10)
83new FilterDescriptor(new ProducesResponseTypeAttribute(typeof(ProblemDetails), 400), FilterScope.Controller),
118Assert.Equal(typeof(ProblemDetails), responseType.Type);
381var errorType = typeof(ProblemDetails);
577actionDescriptor.Properties[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
590Assert.Equal(typeof(ProblemDetails), responseType.Type);
607Assert.Equal(typeof(ProblemDetails), responseType.Type);
627actionDescriptor.Properties[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
657actionDescriptor.Properties[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
715actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesResponseTypeAttribute(typeof(ProblemDetails), 404, "application/problem+json"), FilterScope.Action));
741Assert.Equal(typeof(ProblemDetails), responseType.Type);
Microsoft.AspNetCore.Mvc.Core (55)
Microsoft.AspNetCore.Mvc.Core.Test (36)
Microsoft.AspNetCore.Mvc.Formatters.Xml (5)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
Microsoft.AspNetCore.Mvc.FunctionalTests (14)
ApiExplorerTest.cs (10)
1288Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1344Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1379Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1414Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1449Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1455Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1489Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1495Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1526Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1533[InlineData("ActionWithNoExplicitType", typeof(ProblemDetails))]
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Microsoft.AspNetCore.OpenApi.Tests (5)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Routing.Tests (1)
Mvc.Api.Analyzers.Test (1)