[Mono-dev] Are constructors class methods or not?
chris at chrisseaton.com
Thu Apr 7 19:47:12 EDT 2011
When I disassemble a simple hello world C# program using monodis I have these two lines
> .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() = (
> IL_0001: call instance void object::'.ctor'()
In the former the constructor is marked as class, in the latter it is not. Which is correct? Or does the place it is being used lead to the difference?
Are constructor methods class methods or not?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list