projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump mono-extensions to fix build break (#5677)
[mono.git]
/
mcs
/
errors
/
cs0021.cs
diff --git
a/mcs/errors/cs0021.cs
b/mcs/errors/cs0021.cs
index 394822c47b87cc333aec388c3e6c618af3c53c7a..c11ab15b6c287ca328ada038f83084c5cbcc8503 100644
(file)
--- a/
mcs/errors/cs0021.cs
+++ b/
mcs/errors/cs0021.cs
@@
-1,11
+1,12
@@
-//
cs0021.cs
: Cannot apply indexing with [] to an expression of type `int'
-// Line:
9
+//
CS0021
: Cannot apply indexing with [] to an expression of type `int'
+// Line:
10
using System;
using System;
-class ErrorCS0021 {
- public static void Main () {
+class Test
+{
+ public static void Main ()
+ {
int i = 0;
int i = 0;
- Console.WriteLine ("Test for ERROR CS0021: You can't use the indexer operator with a type that doesn't support it");
Console.WriteLine ("Get i[2]: {0}", i[2]);
}
}
Console.WriteLine ("Get i[2]: {0}", i[2]);
}
}