mellinoe / ShaderGen

Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
MIT License
497 stars 56 forks source link

[BUG] Constructor name collision #71

Closed thargy closed 6 years ago

thargy commented 6 years ago

"ctor" should not be used to identify constructors, ".ctor" should be used (as .NET does) to prevent collision with legitimate members named "ctor".