Skip to content

Commit e4a251f

Browse files
rokupswsfulton
authored andcommitted
Add new keywords for non-verriding methods in director_basic test.
1 parent ea3140a commit e4a251f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Examples/test-suite/csharp/director_basic_runme.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ public override Bar pmethod(Bar b) {
7272
return b;
7373
}
7474

75-
public bool nonVirtual() {
75+
public new bool nonVirtual() {
7676
throw new Exception("non-virtual overrides virtual method");
7777
}
7878

79-
public virtual bool nonOverride() {
79+
public new virtual bool nonOverride() {
8080
throw new Exception("non-override overrides virtual method");
8181
}
8282
}

0 commit comments

Comments
 (0)