S
Sergey M
Hi all,
I'm working on some code that creates C#/VB.NET source files. I use
reflection to examine some base class methods, their return types and
parameter types. When I use reflection I of course get .NET types
('Int32' for instance).
The problem is that when building the source code files, I need to use
the actual ('int' for integral types or 'bool' for Boolean, for
instance) type names/keywords as oppose to .NET ones. And I also need to
be able to generate the code correctly for both C# and VB.NET.
I'm kind of stuck and would appreciate any ideas or suggestions. Thanks
in advance.
I'm working on some code that creates C#/VB.NET source files. I use
reflection to examine some base class methods, their return types and
parameter types. When I use reflection I of course get .NET types
('Int32' for instance).
The problem is that when building the source code files, I need to use
the actual ('int' for integral types or 'bool' for Boolean, for
instance) type names/keywords as oppose to .NET ones. And I also need to
be able to generate the code correctly for both C# and VB.NET.
I'm kind of stuck and would appreciate any ideas or suggestions. Thanks
in advance.