Browse Source

Use the new keyword to tell the compiler we are hiding the GetFunctionOverloads overload.

pull/1/head
triton 12 years ago
parent
commit
4c45531cc0
  1. 2
      src/Bridge/Class.cs

2
src/Bridge/Class.cs

@ -185,7 +185,7 @@ namespace CppSharp @@ -185,7 +185,7 @@ namespace CppSharp
return Variables.Where(v => v.OriginalName == originalName);
}
public IEnumerable<Function> GetFunctionOverloads(Function function)
public new IEnumerable<Function> GetFunctionOverloads(Function function)
{
return Methods.Where(method => method.Name == function.Name)
.Cast<Function>();

Loading…
Cancel
Save