Skip to content

Commit ee6398f

Browse files
authored
Features/7 import type as static (#21)
* initial commit * wip * Tests + feature done
1 parent 3ce1d13 commit ee6398f

File tree

8 files changed

+651
-1
lines changed

8 files changed

+651
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
|ACA0003|Suggestion|Removes all comments within a method.|
3232
|ACA0004|Suggestion|Removes all comments within an array.|
3333
|ACA0005|Suggestion|Removes all comments within a namespace.|
34+
|ACA0006|Suggestion|Imports type as using static import.|
3435

3536
## References
3637
- [Repository docs](https://github.com/taori/Amusoft.CodeAnalysis.Analyzers/tree/master/docs)

src/Amusoft.CodeAnalysis.Analyzers.Test/Tests/ACA0002/FixCommentsOnArrayTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public async Task EmptySourceNoAction()
2424
}
2525

2626
[TestMethod]
27-
[Ignore]
2827
public async Task SimpleRemoval()
2928
{
3029

@@ -74,8 +73,11 @@ private int[] TestMethod(int arg)
7473
{
7574
var diagnostics = new[]
7675
{
76+
7777
1,
78+
7879
2,
80+
7981
3,
8082
};
8183

0 commit comments

Comments
 (0)