/// <summary> /// Marks variable as being referenced. /// </summary> public void MarkLocalByRef(VariableHandle handle) { handle.ThrowIfInvalid(); this.FlowContext.SetReference(handle); this.SetVarInitialized(handle); _flowCtx.SetUsed(handle); }
/// <summary> /// Sets the variable is used by reference. /// </summary> internal void SetVarRef(int varindex) { this.FlowContext.SetReference(varindex); this.SetVarInitialized(varindex); _flowCtx.SetUsed(varindex); }
/// <summary> /// Handles use of a local variable. /// </summary> public void VisitLocal(VariableHandle handle) { handle.ThrowIfInvalid(); FlowContext.SetUsed(handle); }
/// <summary> /// Handles use of a local variable. /// </summary> public void VisitLocal(VariableHandle handle) { handle.ThrowIfInvalid(); _flowCtx.SetUsed(handle); }