projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
errors
/
cs0117-2.cs
diff --git
a/mcs/errors/cs0117-2.cs
b/mcs/errors/cs0117-2.cs
index a62c853fe592ab8e25c2aff37e25345e555f830e..775ba25b34e87808b005dd496b401a3a39359788 100644
(file)
--- a/
mcs/errors/cs0117-2.cs
+++ b/
mcs/errors/cs0117-2.cs
@@
-1,22
+1,17
@@
-// CS0117: `
A' does not contain a definition for `Foo'.
+// CS0117: `
Data' does not contain a definition for `Count'
// Line: 15
// Line: 15
+
+
using System;
using System;
-using System.Runtime.CompilerServices;
-class
A
+class
Data
{
{
- [IndexerName ("Foo")]
- public int this [int index] {
- get { return index; }
- }
-
- static int Test (A a)
- {
- return a.Foo;
- }
+}
- public static void Main ()
+public class Test
+{
+ static void Main ()
{
{
-
Test (new A ())
;
+
var c = new Data { Count = 10 }
;
}
}
}
}