27 writes to Instance
BasicWebSite (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Microsoft.AspNetCore.Http.Extensions.Tests (11)
ProblemDetailsDefaultWriterTest.cs (11)
33Instance = "Custom Bad Request",
70Instance = "Custom Bad Request",
102Instance = "Custom Bad Request",
136Instance = "Custom Bad Request",
178Instance = "Custom Bad Request",
218Instance = "Custom Bad Request",
255Instance = "Custom Bad Request",
298Instance = "Custom Bad Request",
341Instance = "Custom Bad Request",
384Instance = "Custom Bad Request",
427Instance = "Custom Bad Request",
Microsoft.AspNetCore.Http.Results (3)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
XmlFormattersWebSite (1)
72 references to Instance
Microsoft.AspNetCore.Http.Abstractions.Tests (7)
ProblemDetailsJsonConverterTest.cs (5)
53Assert.Equal(instance, problemDetails.Instance);
84Assert.Equal(instance, problemDetails.Instance);
116Assert.Equal(instance, problemDetails.Instance);
175var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status},\"detail\":\"{value.Detail}\",\"instance\":\"{JsonEncodedText.Encode(value.Instance)}\",\"traceId\":\"{traceId}\",\"some-data\":[\"value1\",\"value2\"]}}";
230var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status},\"detail\":\"{value.Detail}\",\"instance\":\"{JsonEncodedText.Encode(value.Instance)}\",\"traceId\":null,\"some-data\":[\"value1\",\"value2\"]}}";
Microsoft.AspNetCore.Http.Extensions.Tests (18)
Microsoft.AspNetCore.Http.Results (8)
Microsoft.AspNetCore.Http.Results.Tests (13)
Microsoft.AspNetCore.Mvc.Core (7)
Microsoft.AspNetCore.Mvc.Core.Test (13)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)