X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0657-21.cs;h=3442a1170264e7a07ba962d37f01f3eb8337c820;hb=b9dd48c9c44bbc9c057aee9bd834de7966ae8565;hp=317e7be0bf563f5d62923bc7d0cc38b8087b6a92;hpb=cccbf6a4b7152c24fafc319e77060a4723a8560e;p=mono.git diff --git a/mcs/errors/cs0657-21.cs b/mcs/errors/cs0657-21.cs index 317e7be0bf5..3442a117026 100644 --- a/mcs/errors/cs0657-21.cs +++ b/mcs/errors/cs0657-21.cs @@ -1,12 +1,13 @@ -// cs0657-21.cs: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method' -// Line : 9 - -using System; - -public class C -{ - [return: CLSCompliant (false)] - public C () - { - } -} +// CS0657: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method'. All attributes in this section will be ignored +// Line: 9 +// Compiler options: -warnaserror + +using System; + +public class C +{ + [return: CLSCompliant (false)] + public C () + { + } +}