swig/SWIG/Examples/test-suite/csharp/director_ignore_runme.cs
William S Fulton 9b8fd2ff04 Director %ignore test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:39:50 +00:00

34 lines
685 B
C#

using System;
namespace director_ignoreNamespace {
public class runme
{
static void Main()
{
runme r = new runme();
r.run();
}
void run()
{
}
}
class DIgnoresDerived : DIgnores
{
public DIgnoresDerived() : base()
{
}
// These will give a warning if the %ignore is not working
public virtual void OverloadedMethod(int n, int xoffset, int yoffset) {}
public virtual void OverloadedMethod(int n, int xoffset) {}
public virtual void OverloadedMethod(int n) {}
public virtual void ProtectedMethod(int n, int xoffset, int yoffset) {}
public virtual void ProtectedMethod(int n, int xoffset) {}
public virtual void ProtectedMethod(int n) {}
}
}