Skip to content

Commit 28031e4

Browse files
Update Documentation/Contributing/CodingGuidelines.md
Co-Authored-By: Kurtis <[email protected]>
1 parent 3fbb1e4 commit 28031e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Contributing/CodingGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Always declare an access modifier for all fields, properties and methods.
171171
protected int myVariable = 0;
172172

173173
// property should have protected setter
174-
public int MyVariable { get => myVariable; }
174+
public int MyVariable => myVariable;
175175

176176
// No public / private access modifiers
177177
void Foo() { }

0 commit comments

Comments
 (0)