File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 354
354
],
355
355
"description" : " An automatically implemented property. C# 3.0 or higher"
356
356
},
357
+ "propex" : {
358
+ "prefix" : " propex" ,
359
+ "body" : [
360
+ " public ${1:int} ${2:MyProperty} => ${3:myVar};" ,
361
+ " $0"
362
+ ],
363
+ "description" : " An expression-bodied property without a backing field. C# 6.0 or higher"
364
+ },
365
+ "propexfull" : {
366
+ "prefix" : " propexfull" ,
367
+ "body" : [
368
+ " private ${1:int} ${2:myVar};" ,
369
+ " public ${1:int} ${3:MyProperty}" ,
370
+ " {" ,
371
+ " \t get => ${2:myVar};" ,
372
+ " \t set => ${2:myVar} = value;" ,
373
+ " }" ,
374
+ " $0"
375
+ ],
376
+ "description" : " An expression-bodied property with a private field. C# 6.0 or higher"
377
+ },
357
378
"sim" : {
358
379
"prefix" : " sim" ,
359
380
"body" : [
You can’t perform that action at this time.
0 commit comments