You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Documentation/DocumentInternalMemberSpecs.cs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,11 @@ public class C
47
47
protected abstract class X
48
48
{
49
49
}
50
-
50
+
51
51
protected internal class Y
52
52
{
53
53
}
54
-
54
+
55
55
private sealed class Z
56
56
{
57
57
}
@@ -375,17 +375,17 @@ public class C
375
375
protected string F2;
376
376
protected internal string F3;
377
377
private string F4;
378
-
378
+
379
379
public string P1 { get; set; }
380
380
protected string P2 { get; set; }
381
381
protected internal string P3 { get; set; }
382
382
private string P4 { get; set; }
383
-
383
+
384
384
public event EventHandler E1;
385
385
protected event EventHandler E2;
386
386
protected internal event EventHandler E3;
387
387
private event EventHandler E4;
388
-
388
+
389
389
public int M1(string p1) => throw new NotImplementedException();
390
390
protected int M2(string p2) => throw new NotImplementedException();
391
391
protected internal int M3(string p3) => throw new NotImplementedException();
Copy file name to clipboardExpand all lines: src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Framework/AvoidQuerySyntaxForSimpleExpressionSpecs.cs
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ void M()
23
23
var query =
24
24
[|from item in Enumerable.Empty<string>()
25
25
select item|];
26
-
26
+
27
27
// Method chain equivalent (no invocations):
28
28
// var query = Enumerable.Empty<string>();
29
29
}
@@ -48,7 +48,7 @@ void M()
48
48
var query =
49
49
[|from item in new List<string>()
50
50
select item|];
51
-
51
+
52
52
// Method chain equivalent (single invocation):
53
53
// var query = new List<string>().Select(item => item);
54
54
}
@@ -73,7 +73,7 @@ void M()
73
73
[|from item in Enumerable.Empty<string>()
74
74
where item.Length > 2
75
75
select item|];
76
-
76
+
77
77
// Method chain equivalent (single invocation):
78
78
// var query = Enumerable.Empty<string>().Where(item => item.Length > 2);
79
79
}
@@ -99,7 +99,7 @@ from item in Enumerable.Empty<string>()
0 commit comments