Esempio n. 1
0
 /// <summary>
 /// Constructs a new variable entry.
 /// </summary>
 /// <param name="index">Index of the variable.</param>
 /// <param name="refType">Type of this variable reference.</param>
 public VariableRef(int index, VariableRefType refType)
 {
     Index   = index;
     RefType = refType;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a new variable entry.
 /// </summary>
 /// <param name="index">Index of the variable.</param>
 /// <param name="refType">Type of this variable reference.</param>
 public VariableRef(int index, VariableRefType refType)
 {
     Debug.Assert(index >= 0, "Invalid index");
     Index   = index;
     RefType = refType;
 }