Base:
property
Message
System.ArgumentException.Message
27 references to Message
Microsoft.AspNetCore.Authentication.Test (1)
OpenIdConnect\OpenIdConnectConfigurationTests.cs (1)
550ex => Assert.StartsWith("The value must not be a negative TimeSpan.", ex.Message)
Microsoft.AspNetCore.Components.Server.Tests (3)
Circuits\RemoteJSRuntimeTest.cs (3)
34Assert.Equal("Exceeded the maximum byte array transfer limit for a call. (Parameter 'data')", ex.Message); 74Assert.Equal("Exceeded the maximum byte array transfer limit for a call. (Parameter 'data')", ex.Message); 86Assert.Equal("Exceeded the maximum byte array transfer limit for a call. (Parameter 'data')", ex.Message);
Microsoft.AspNetCore.Cors.Test (2)
CorsPolicyTests.cs (1)
56exception.Message);
CorsResultTests.cs (1)
38exception.Message);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateFactoryTests.FormMapping.cs (1)
174Assert.Equal("Specified argument was out of the range of valid values.", anotherException.Message);
Microsoft.AspNetCore.HttpLogging.Tests (2)
W3CLoggerOptionsTests.cs (2)
22Assert.Contains("FileSizeLimit must be positive", ex.Message); 44Assert.Contains("FlushInterval must be positive", ex.Message);
Microsoft.AspNetCore.HttpOverrides.Tests (2)
IPNetworkTest.cs (2)
75Assert.StartsWith("The prefix length was out of range.", ex.Message); 106Assert.StartsWith("The prefix length was out of range.", ex.Message);
Microsoft.AspNetCore.Rewrite.Tests (1)
IISUrlRewrite\MiddleWareTests.cs (1)
581Assert.Equal("Cannot access back reference at index 9. Only 5 back references were captured.", ex.Message);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (12)
Http1\Http1ConnectionTests.cs (1)
946Assert.StartsWith(CoreStrings.NonNegativeNumberOrNullRequired, ex.Message);
KestrelServerLimitsTests.cs (9)
109Assert.StartsWith(CoreStrings.PositiveNumberRequired, ex.Message); 176Assert.StartsWith(CoreStrings.PositiveTimeSpanRequired, exception.Message); 205Assert.StartsWith(CoreStrings.PositiveTimeSpanRequired, exception.Message); 236Assert.StartsWith(CoreStrings.PositiveNumberOrNullRequired, ex.Message); 260Assert.StartsWith(CoreStrings.NonNegativeNumberOrNullRequired, ex.Message); 291Assert.StartsWith(CoreStrings.NonNegativeNumberOrNullRequired, ex.Message); 323Assert.Contains("A value between", ex.Message); 338Assert.StartsWith(CoreStrings.GreaterThanOrEqualToZeroRequired, ex.Message); 354Assert.StartsWith(CoreStrings.GreaterThanZeroRequired, ex.Message);
MinDataRateTests.cs (2)
29Assert.StartsWith(CoreStrings.PositiveNumberOrNullMinDataRateRequired, exception.Message); 46Assert.StartsWith(CoreStrings.FormatMinimumGracePeriodRequired(Heartbeat.Interval.TotalSeconds), exception.Message);
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
HttpsConnectionAdapterOptionsTest.cs (1)
40Assert.StartsWith(CoreStrings.PositiveTimeSpanRequired, exception.Message);
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
TimeExpirationAsyncTests.cs (1)
29Assert.StartsWith(message, ex.Message); // can have "\r\nParameter name:" etc
Microsoft.JSInterop.Tests (1)
JSRuntimeTest.cs (1)
390Assert.Equal("Element id '7' cannot be added to the byte arrays to be revived with length '2'.", ex.Message);