We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49ae52 commit c2578fcCopy full SHA for c2578fc
csharp/ql/test/library-tests/csharp7/CSharp7.cs
@@ -11,13 +11,13 @@ class Literals
11
12
class ExpressionBodiedMembers
13
{
14
- int field = 0;
15
- int Foo() => field;
+ int @field = 0;
+ int Foo() => @field;
16
int P => 5;
17
int Q
18
19
get => Foo();
20
- set => field = value;
+ set => @field = value;
21
}
22
ExpressionBodiedMembers() : this(1) { }
23
ExpressionBodiedMembers(int x) => Foo();
0 commit comments