X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0143.cs;h=5886f3b7bda3bf99527c6790aa0f18ca543c0312;hb=034e021250581d5c76a36c578cc6bb58bd2f95a9;hp=efb9866c65c7205c97aa0f038d5a7df77b6557d0;hpb=ff228e1c801bda9666b6edab3ee962e05edcf480;p=mono.git diff --git a/mcs/errors/cs0143.cs b/mcs/errors/cs0143.cs index efb9866c65c..5886f3b7bda 100644 --- a/mcs/errors/cs0143.cs +++ b/mcs/errors/cs0143.cs @@ -1,11 +1,11 @@ -// cs0143.cs: The type 'int' has no constructors defined -// Line: 8 +// CS0143: The class `A' has no constructors defined +// Line: 9 +// Compiler options: -r:CS0143-lib.dll -class C +public class Test { - static void Main () + public static void Main () { - int i = new int(1); + new A (); } } -