Skip to content

Commit f4adf27

Browse files
authored
chore: cleanup dead code (#273)
1 parent 795064d commit f4adf27

File tree

5 files changed

+0
-467
lines changed

5 files changed

+0
-467
lines changed

src/FluentAssertions.Analyzers/Constants.cs

-58
Original file line numberDiff line numberDiff line change
@@ -14,64 +14,6 @@ public static class DiagnosticProperties
1414
public static class Tips
1515
{
1616
public const string Category = "FluentAssertionTips";
17-
18-
public static class MsTest
19-
{
20-
public const string AssertIsTrue = $"{DiagnosticProperties.IdPrefix}0600";
21-
public const string AssertIsFalse = $"{DiagnosticProperties.IdPrefix}0601";
22-
public const string AssertIsNotNull = $"{DiagnosticProperties.IdPrefix}0602";
23-
public const string AssertIsNull = $"{DiagnosticProperties.IdPrefix}0603";
24-
public const string AssertIsInstanceOfType = $"{DiagnosticProperties.IdPrefix}0604";
25-
public const string AssertIsNotInstanceOfType = $"{DiagnosticProperties.IdPrefix}0605";
26-
public const string AssertAreEqual = $"{DiagnosticProperties.IdPrefix}0606";
27-
public const string AssertAreNotEqual = $"{DiagnosticProperties.IdPrefix}0607";
28-
public const string AssertAreSame = $"{DiagnosticProperties.IdPrefix}0608";
29-
public const string AssertAreNotSame = $"{DiagnosticProperties.IdPrefix}0609";
30-
public const string AssertThrowsException = $"{DiagnosticProperties.IdPrefix}0610";
31-
public const string AssertThrowsExceptionAsync = $"{DiagnosticProperties.IdPrefix}0611";
32-
public const string StringAssertContains = $"{DiagnosticProperties.IdPrefix}0612";
33-
public const string StringAssertStartsWith = $"{DiagnosticProperties.IdPrefix}0613";
34-
public const string StringAssertEndsWith = $"{DiagnosticProperties.IdPrefix}0614";
35-
public const string StringAssertMatches = $"{DiagnosticProperties.IdPrefix}0615";
36-
public const string StringAssertDoesNotMatch = $"{DiagnosticProperties.IdPrefix}0616";
37-
public const string CollectionAssertAllItemsAreInstancesOfType = $"{DiagnosticProperties.IdPrefix}0617";
38-
public const string CollectionAssertAreEqual = $"{DiagnosticProperties.IdPrefix}0618";
39-
public const string CollectionAssertAreNotEqual = $"{DiagnosticProperties.IdPrefix}0619";
40-
public const string CollectionAssertAreEquivalent = $"{DiagnosticProperties.IdPrefix}0620";
41-
public const string CollectionAssertAreNotEquivalent = $"{DiagnosticProperties.IdPrefix}0621";
42-
public const string CollectionAssertAllItemsAreNotNull = $"{DiagnosticProperties.IdPrefix}0622";
43-
public const string CollectionAssertAllItemsAreUnique = $"{DiagnosticProperties.IdPrefix}0623";
44-
public const string CollectionAssertContains = $"{DiagnosticProperties.IdPrefix}0624";
45-
public const string CollectionAssertDoesNotContain = $"{DiagnosticProperties.IdPrefix}0625";
46-
public const string CollectionAssertIsSubsetOf = $"{DiagnosticProperties.IdPrefix}0626";
47-
public const string CollectionAssertIsNotSubsetOf = $"{DiagnosticProperties.IdPrefix}0627";
48-
}
49-
50-
public static class Xunit
51-
{
52-
public const string AssertTrue = $"{DiagnosticProperties.IdPrefix}0700";
53-
public const string AssertFalse = $"{DiagnosticProperties.IdPrefix}0701";
54-
public const string AssertSame = $"{DiagnosticProperties.IdPrefix}0702";
55-
public const string AssertNotSame = $"{DiagnosticProperties.IdPrefix}0703";
56-
public const string AssertEqual = $"{DiagnosticProperties.IdPrefix}0704";
57-
public const string AssertStrictEqual = $"{DiagnosticProperties.IdPrefix}0705";
58-
public const string AssertNotEqual = $"{DiagnosticProperties.IdPrefix}0706";
59-
public const string AssertNotStrictEqual = $"{DiagnosticProperties.IdPrefix}0707";
60-
public const string AssertNull = $"{DiagnosticProperties.IdPrefix}0708";
61-
public const string AssertNotNull = $"{DiagnosticProperties.IdPrefix}0709";
62-
public const string AssertContains = $"{DiagnosticProperties.IdPrefix}0710";
63-
public const string AssertDoesNotContain = $"{DiagnosticProperties.IdPrefix}0711";
64-
public const string AssertMatches = $"{DiagnosticProperties.IdPrefix}0712";
65-
public const string AssertDoesNotMatch = $"{DiagnosticProperties.IdPrefix}0713";
66-
public const string AssertEmpty = $"{DiagnosticProperties.IdPrefix}0714";
67-
public const string AssertEndsWith = $"{DiagnosticProperties.IdPrefix}0715";
68-
public const string AssertStartsWith = $"{DiagnosticProperties.IdPrefix}0716";
69-
public const string AssertSubset = $"{DiagnosticProperties.IdPrefix}0717";
70-
public const string AssertIsAssignableFrom = $"{DiagnosticProperties.IdPrefix}0718";
71-
public const string AssertIsNotAssignableFrom = $"{DiagnosticProperties.IdPrefix}0719";
72-
public const string AssertIsType = $"{DiagnosticProperties.IdPrefix}0720";
73-
public const string AssertIsNotType = $"{DiagnosticProperties.IdPrefix}0721";
74-
}
7517
}
7618

7719
public static class CodeSmell

src/FluentAssertions.Analyzers/Utilities/FluentAssertionsAnalyzer.cs

-125
This file was deleted.

src/FluentAssertions.Analyzers/Utilities/FluentAssertionsCSharpSyntaxVisitor.cs

-116
This file was deleted.

0 commit comments

Comments
 (0)