File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ public sealed class StyleTestScript
77 public const string ConstProperty = "This is a const property" ;
88 public static readonly string StaticProperty = "This is a static property" ;
99 public string ProperlyStyledProperty { get ; } = "This is a properly styled property" ;
10- public int IntProperty => _intField ;
10+ public int IntProperty => _intField ;
1111
12- static readonly string s_staticField = "This is a static field" ;
12+ static readonly string s_staticField = "This is a static field" ;
1313
1414 string stringField ;
1515 int _intField ;
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ public class RuleChecker
77 {
88 private int _incorrect_field ;
99 private string stringField ;
10- int _intField ;
10+ int _intField ;
1111
12- public int CorrectProperty { get ; set ; }
12+ public int CorrectProperty { get ; set ; }
1313
1414 public void CheckRules ( )
1515 {
Original file line number Diff line number Diff line change @@ -6,11 +6,14 @@ namespace Tests
66{
77 public sealed class StyleTestScript3
88 {
9+ public const int ConstField = 10 ;
10+ public static readonly int StaticField = 10 ;
11+ public int NonStaticField ;
912 private static int _s_static_Field = 10 ;
1013 private int m_nonStaticField ;
14+ public int property_value { get ; set ; }
1115
1216 private List < int > testCollection = new List < int > ( ) ;
13- public int property_value { get ; set ; }
1417
1518 public void test_Method ( ) {
1619 int testVariable = 42 ;
You can’t perform that action at this time.
0 commit comments