Skip to content

Commit 7099505

Browse files
authored
chore: Cleanup unused Constants (#268)
1 parent d464920 commit 7099505

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

src/FluentAssertions.Analyzers/Constants.cs

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -14,51 +14,6 @@ public static class DiagnosticProperties
1414
public static class Tips
1515
{
1616
public const string Category = "FluentAssertionTips";
17-
public static class Collections
18-
{
19-
public const string CollectionShouldNotBeNullOrEmpty = $"{DiagnosticProperties.IdPrefix}0017";
20-
public const string CollectionShouldHaveElementAt = $"{DiagnosticProperties.IdPrefix}0018";
21-
}
22-
23-
public static class Dictionaries
24-
{
25-
public const string DictionaryShouldContainKey = $"{DiagnosticProperties.IdPrefix}0100";
26-
public const string DictionaryShouldContainValue = $"{DiagnosticProperties.IdPrefix}0101";
27-
public const string DictionaryShouldContainKeyAndValue = $"{DiagnosticProperties.IdPrefix}0102";
28-
public const string DictionaryShouldContainPair = $"{DiagnosticProperties.IdPrefix}0103";
29-
public const string DictionaryShouldNotContainKey = $"{DiagnosticProperties.IdPrefix}0104";
30-
public const string DictionaryShouldNotContainValue = $"{DiagnosticProperties.IdPrefix}0105";
31-
}
32-
33-
public static class Strings
34-
{
35-
public const string StringShouldStartWith = $"{DiagnosticProperties.IdPrefix}0200";
36-
public const string StringShouldEndWith = $"{DiagnosticProperties.IdPrefix}0201";
37-
public const string StringShouldNotBeNullOrEmpty = $"{DiagnosticProperties.IdPrefix}0202";
38-
public const string StringShouldBeNullOrEmpty = $"{DiagnosticProperties.IdPrefix}0203";
39-
public const string StringShouldBeNullOrWhiteSpace = $"{DiagnosticProperties.IdPrefix}0204";
40-
public const string StringShouldNotBeNullOrWhiteSpace = $"{DiagnosticProperties.IdPrefix}0205";
41-
public const string StringShouldHaveLength = $"{DiagnosticProperties.IdPrefix}0206";
42-
}
43-
44-
public static class Comparable
45-
{
46-
public const string ComparableShouldBePositive = $"{DiagnosticProperties.IdPrefix}0300";
47-
}
48-
49-
public static class Numeric
50-
{
51-
public const string NumericShouldBePositive = $"{DiagnosticProperties.IdPrefix}0400";
52-
public const string NumericShouldBeNegative = $"{DiagnosticProperties.IdPrefix}0401";
53-
public const string NumericShouldBeInRange = $"{DiagnosticProperties.IdPrefix}0402";
54-
public const string NumericShouldBeApproximately = $"{DiagnosticProperties.IdPrefix}0403";
55-
}
56-
57-
public static class Exceptions
58-
{
59-
public const string ExceptionShouldThrowWithMessage = $"{DiagnosticProperties.IdPrefix}0500";
60-
public const string ExceptionShouldThrowWithInnerException = $"{DiagnosticProperties.IdPrefix}0501";
61-
}
6217

6318
public static class MsTest
6419
{

0 commit comments

Comments
 (0)