projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
errors
/
cs0117.cs
diff --git
a/mcs/errors/cs0117.cs
b/mcs/errors/cs0117.cs
index bf2c8feafbe5cd9a3aa469633275057ad0ad57fa..dd5b345dfe85fe03d22d14b72da94c70fee965b0 100644
(file)
--- a/
mcs/errors/cs0117.cs
+++ b/
mcs/errors/cs0117.cs
@@
-1,10
+1,21
@@
-//
cs0117.cs: `int' does not contain a definition for `E
'
-// Line:
7
+//
CS0117: `A' does not contain a definition for `Method
'
+// Line:
8
-class T {
- public static int Main (string [] args )
+public class E : A
+{
+ void Test ()
{
{
- int x = 1.E;
- return 0;
+ base.Method ();
}
}
}
}
+
+static class S
+{
+ public static void Method (this A a)
+ {
+ }
+}
+
+public class A
+{
+}
\ No newline at end of file