Skip to content

Commit 3fed30c

Browse files
committed
Apply suggestions from code review
1 parent 62e0569 commit 3fed30c

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/Compilers/CSharp/Test/Symbol/Symbols/TypeResolutionTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public class TestClass
100100
Assert.Same(c1TestClassT, c4.GetTypeByMetadataName("System.TestClass`1"));
101101
}
102102

103-
[SuppressMessage("Design", "CA1052:Static holder types should be Static or NotInheritable", Justification = "Make sure test behavior isn't changed.")]
104103
public class C<S, T>
105104
{
106105
public class D

src/Compilers/CSharp/csc/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Microsoft.CodeAnalysis.CSharp.CommandLine
1111
{
12-
public static class Program
12+
public class Program
1313
{
1414
public static int Main(string[] args)
1515
{

src/Compilers/Core/CodeAnalysisTest/Analyzers/AnalyzerFileReferenceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ public class TestGenerator : ISourceGenerator
620620
public void Initialize(GeneratorInitializationContext context) => throw new NotImplementedException();
621621
}
622622

623-
public static class SomeType
623+
public class SomeType
624624
{
625625
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.VisualBasic)]
626626
public class NestedAnalyzer : DiagnosticAnalyzer

src/Compilers/Core/CodeAnalysisTest/Collections/List/SegmentedList.Generic.Tests.Misc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.CodeAnalysis.UnitTests.Collections
2020
/// <summary>
2121
/// Contains tests that ensure the correctness of the List class.
2222
/// </summary>
23-
public static class SegmentedList_Generic_Tests_Insert
23+
public class SegmentedList_Generic_Tests_Insert
2424
{
2525
internal class Driver<T>
2626
{

0 commit comments

Comments
 (0)