Base:
property
Message
System.ArgumentException.Message
53 references to Message
Aspire.Hosting.Tests (2)
Utils\ContainerReferenceParserTests.cs (2)
16Assert.StartsWith("repository name must have at least one component", ex.Message); 32Assert.StartsWith("invalid reference format", ex.Message);
Microsoft.ML.Samples (1)
Dynamic\Transforms\DropColumns.cs (1)
62$" is thrown: {exception.Message}.");
Microsoft.ML.Tests (5)
AnomalyDetectionTests.cs (1)
288Assert.Contains("The learnt eigenvectors contained NaN values", ex.Message);
TextLoaderTests.cs (1)
585Assert.StartsWith("File or directory does not exist at path: fakefile.txt", ex.Message);
Transformers\FeatureSelectionTests.cs (3)
242Assert.Contains("Variable length column 'Features' is not allowed", ex.Message); 250Assert.Contains("Label column 'BadLabel' does not have compatible type. Expected types are float, double, int, bool and key.", ex.Message); 258Assert.Contains("Column 'Features' does not have compatible type. Expected types are float, double, int, bool and key.", ex.Message);
NuGet.Packaging (1)
PackageExtraction\ZipArchiveExtensions.cs (1)
118ex.Message); // {1}
Shared.Tests (44)
Throw\DoubleTests.cs (12)
20Assert.StartsWith("Argument less than minimum value 1", exception.Message); 24Assert.StartsWith("Argument less than minimum value 1", exception.Message); 39Assert.StartsWith("Argument greater than maximum value 0", exception.Message); 43Assert.StartsWith("Argument greater than maximum value 0", exception.Message); 59Assert.StartsWith($"Argument less or equal than minimum value {TestValue}", exception.Message); 63Assert.StartsWith($"Argument less or equal than minimum value {TestValue}", exception.Message); 79Assert.StartsWith($"Argument greater or equal than maximum value {TestValue}", exception.Message); 83Assert.StartsWith($"Argument greater or equal than maximum value {TestValue}", exception.Message); 100Assert.StartsWith("Argument is zero", exception.Message); 119Assert.StartsWith("Argument not in the range", exception.Message); 123Assert.StartsWith("Argument not in the range", exception.Message); 130Assert.StartsWith("Argument not in the range", exception.Message);
Throw\IntegerTests.cs (14)
20Assert.StartsWith("Argument less than minimum value 1", exception.Message); 35Assert.StartsWith("Argument greater than maximum value 0", exception.Message); 50Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message); 65Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message); 80Assert.StartsWith("Argument is zero", exception.Message); 95Assert.StartsWith("Argument not in the range", exception.Message); 99Assert.StartsWith("Argument not in the range", exception.Message); 192Assert.StartsWith("Argument less than minimum value 1", exception.Message); 207Assert.StartsWith("Argument greater than maximum value 0", exception.Message); 222Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message); 237Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message); 252Assert.StartsWith("Argument is zero", exception.Message); 267Assert.StartsWith("Argument not in the range", exception.Message); 271Assert.StartsWith("Argument not in the range", exception.Message);
Throw\LongTests.cs (14)
20Assert.StartsWith("Argument less than minimum value 1", exception.Message); 35Assert.StartsWith("Argument greater than maximum value 0", exception.Message); 50Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message); 65Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message); 80Assert.StartsWith("Argument is zero", exception.Message); 95Assert.StartsWith("Argument not in the range", exception.Message); 99Assert.StartsWith("Argument not in the range", exception.Message); 192Assert.StartsWith("Argument less than minimum value 1", exception.Message); 207Assert.StartsWith("Argument greater than maximum value 0", exception.Message); 222Assert.StartsWith("Argument less or equal than minimum value 1", exception.Message); 237Assert.StartsWith("Argument greater or equal than maximum value 1", exception.Message); 252Assert.StartsWith("Argument is zero", exception.Message); 267Assert.StartsWith("Argument not in the range", exception.Message); 271Assert.StartsWith("Argument not in the range", exception.Message);
Throw\ThrowTest.cs (4)
92Assert.Contains(message, exception.Message, StringComparison.Ordinal); 104Assert.Contains(message, exception.Message, StringComparison.Ordinal); 418Assert.Contains("is an invalid value for enum type", exception.Message); 422Assert.Contains("is an invalid value for enum type", exception.Message);