projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[utils] Add check for ANDROID_UNIFIED_HEADERS to mono-compiler.h (#5742)
[mono.git]
/
mcs
/
errors
/
cs0133-5.cs
diff --git
a/mcs/errors/cs0133-5.cs
b/mcs/errors/cs0133-5.cs
index da896bb471ec982c41087601f3ea592fb152ce0b..a49f265c69018defc5b0a4d5840627801c083934 100644
(file)
--- a/
mcs/errors/cs0133-5.cs
+++ b/
mcs/errors/cs0133-5.cs
@@
-1,7
+1,10
@@
-//
cs0133-5.cs: The expression being assigned to `T.i
' must be constant
-// Line:
12
+//
CS0133: The expression being assigned to `b
' must be constant
+// Line:
8
-class
T
+class
X
{
{
- const decimal[] i = new decimal [] { 2m };
+ static void Main ()
+ {
+ const int b = true ? 1 : b;
+ }
}
}