Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
This commit is contained in:
parent
cb2df12630
commit
adb93980f2
14 changed files with 200 additions and 211 deletions
|
|
@ -188,7 +188,7 @@ namespace Space {
|
|||
|
||||
#if defined(SWIGCSHARP)
|
||||
%typemap(cscode) Space::RenameMe %{
|
||||
public static NewName factory(String s) {
|
||||
public static NewName factory(System.String s) {
|
||||
//below should expand to:
|
||||
//return new NewName( new Name(s) );
|
||||
return new $typemap(cstype, Space::RenameMe)( new $typemap(cstype, Name)(s) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue