mirror of https://github.com/swig/swig
21 lines
456 B
C#
21 lines
456 B
C#
using System;
|
|
using nested_directorsNamespace;
|
|
#pragma warning disable 219
|
|
|
|
public class CNested : Base.Nest {
|
|
public override bool GetValue() {return true;}
|
|
}
|
|
public class CSub : Sub {
|
|
protected override bool GetValue() { return base.GetValue(); }
|
|
public bool Test(){ return GetValue(); }
|
|
}
|
|
|
|
public class runme {
|
|
static void Main() {
|
|
CNested n = new CNested();
|
|
CSub s = new CSub();
|
|
if (!s.Test())
|
|
throw new Exception("Sub.GetValue");
|
|
}
|
|
}
|