コード例 #1
0
ファイル: SwitchCaseGroup.cs プロジェクト: xen2/stride
 /// <summary>
 /// Initializes a new instance of the <see cref="SwitchCaseGroup"/> class.
 /// </summary>
 public SwitchCaseGroup()
 {
     Cases      = new List <CaseStatement>();
     Statements = new StatementList();
 }
コード例 #2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref = "BlockStatement" /> class.
 /// </summary>
 public BlockStatement()
 {
     Statements = new StatementList();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlockStatement"/> class.
 /// </summary>
 /// <param name="statements">The statements.</param>
 public BlockStatement(StatementList statements)
 {
     Statements = statements;
 }
コード例 #4
0
ファイル: MethodDefinition.cs プロジェクト: Beefr/xenko-wd
 /// <summary>
 /// Initializes a new instance of the <see cref="MethodDefinition"/> class.
 /// </summary>
 public MethodDefinition()
 {
     Body        = new StatementList();
     declaration = this;
 }