Skip to content

Commit 435f8ca

Browse files
authored
Apply feedback from code review
1 parent 2a84233 commit 435f8ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

snippets/csharp.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,7 @@
357357
"propex": {
358358
"prefix": "propex",
359359
"body": [
360-
"public ${1:int} ${2:MyProperty} => ${3:myVar};",
361-
"$0"
360+
"public ${1:int} ${2:MyProperty} => ${3:myVar};$0"
362361
],
363362
"description": "An expression-bodied property without a backing field. C# 6.0 or higher"
364363
},
@@ -370,8 +369,7 @@
370369
"{",
371370
"\tget => ${2:myVar};",
372371
"\tset => ${2:myVar} = value;",
373-
"}",
374-
"$0"
372+
"}$0"
375373
],
376374
"description": "An expression-bodied property with a private field. C# 6.0 or higher"
377375
},

0 commit comments

Comments
 (0)