[mcs] Add expression bodied syntax for accessors. Fixes #54991
[mono.git] / mcs / errors / cs0120.cs
index 817b2d5ea35d9a4c2a0313940ef7c1ce628ba1fb..c11560612ee7db8f15ea594ca57cb4727ef2d513 100644 (file)
@@ -1,5 +1,4 @@
-// cs0120: Ie, a static method invoking a non-static method
-// `An object reference is required for the nonstatic field, method or property test.method()
+// CS0120: An object reference is required to access non-static member `test.method()'
 // Line: 11
 
 class test {