Describes the kind of constructor initializer. A constructor initializer is the optional
: base(...) or : this(...) clause that appears after the constructor parameter list
and invokes another constructor before the current constructor body executes.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum ConstructorInitializerKindRemarks
For example, in public MyClass() : base(42) { }, the : base(42) part is a constructor initializer
of kind Base.
In public MyClass(int x) : this() { }, the : this() part is a constructor initializer
of kind This.
Fields
| Name | Description |
|---|---|
| Base | The constructor has a |
| None | The constructor has no explicit initializer (no |
| This | The constructor has a |