projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[msbuild] Bump msbuild, fix build breakage
[mono.git]
/
mcs
/
tests
/
dtest-error-02.cs
diff --git
a/mcs/tests/dtest-error-02.cs
b/mcs/tests/dtest-error-02.cs
index 58578fe3b50ab5351a159c1babe4262593ee6f06..b0c186b8ebe77a5c871e1dfd9b773c1f6fdaae82 100644
(file)
--- a/
mcs/tests/dtest-error-02.cs
+++ b/
mcs/tests/dtest-error-02.cs
@@
-34,7
+34,7
@@
public class Test
d.Foo ();
return 1;
} catch (RuntimeBinderException e) {
d.Foo ();
return 1;
} catch (RuntimeBinderException e) {
- if (e.Message != "
`A.N.Foo()' is inaccessible due to its protection level
")
+ if (e.Message != "
'object' does not contain a definition for 'Foo'
")
return 2;
}
return 2;
}
@@
-42,7
+42,7
@@
public class Test
var x = d.Property;
return 3;
} catch (RuntimeBinderException e) {
var x = d.Property;
return 3;
} catch (RuntimeBinderException e) {
- if (e.Message != "
`A.N.Property.get' is inaccessible due to its protection level
")
+ if (e.Message != "
'object' does not contain a definition for 'Property'
")
return 4;
}
return 4;
}
@@
-50,7
+50,7
@@
public class Test
var x = d [4];
return 5;
} catch (RuntimeBinderException e) {
var x = d [4];
return 5;
} catch (RuntimeBinderException e) {
- if (e.Message != "
`A.N.this[int]' is inaccessible due to its protection level
")
+ if (e.Message != "
Cannot apply indexing with [] to an expression of type 'object'
")
return 6;
}
return 6;
}