Inference/src/CodeGeneration/Operations/CGConstantFieldDefinitionInitializationOperation.cs
/// <summary>
///  The if the initialization is not a NullType the default behaviour is an error
/// </summary>
/// <param name="t"></param>
/// <returns>null</returns>
The if the initialization is not a NullType the default behaviour is an error
The if the initialization is not a NullType the default behaviour is an error
public override object Exec(TypeExpression t, object arg) {
            this.codeGenerator.WriteLNFieldInitialization(t);
            this.codeGenerator.WriteLNFieldInitialization((string)this.node.Init.Accept(new VisitorCodeGeneration2(), this.argument));
            this.codeGenerator.WriteEndOfField();
            return null;
        }
public override object Exec ( TypeExpression t , object arg ) { this . codeGenerator . WriteLNFieldInitialization ( t ) ; this . codeGenerator . WriteLNFieldInitialization ( ( string ) this . node . Init . Accept ( new VisitorCodeGeneration2 ( ) , this . argument ) ) ; this . codeGenerator . WriteEndOfField ( ) ; return null ; }
The if the initialization is not a NullType the default behaviour is an error
The if the initialization is not a NullType the default behaviour is an error
// In the following call the  argument could be node.Init.ILTypeExpression, but is the same of // the argument due to the dispatcher call
None
t
TypeExpression
None
arg
object