X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0151.cs;h=7fc40a5f24e3d3d4d2f799c3661b69aaf28bdd76;hb=4b8fc544b0627490f227eb472f54d04e27fc8314;hp=c76071fd356902c03cd6f64957b33267ba836718;hpb=496dfbf9ec0fd3143e5dd560a863d916e56a52b8;p=mono.git diff --git a/mcs/errors/cs0151.cs b/mcs/errors/cs0151.cs index c76071fd356..7fc40a5f24e 100644 --- a/mcs/errors/cs0151.cs +++ b/mcs/errors/cs0151.cs @@ -1,5 +1,6 @@ -// cs0151.cs: A value of an integral type or string expected for switch -// Line: 12 +// CS0151: A switch expression of type `Y' cannot be converted to an integral type, bool, char, string, enum or nullable type +// Line: 13 + class Y { byte b; }