Ejemplo 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;
 }
Ejemplo 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;
 }