ICSharpCode.NRefactory.CSharp.Resolver.CSharpResolver.AddVariable C# (CSharp) Method

AddVariable() public method

Adds a new variable or lambda parameter to the current block.
public AddVariable ( IVariable variable ) : CSharpResolver
variable IVariable
return CSharpResolver
		public CSharpResolver AddVariable(IVariable variable)
		{
			if (variable == null)
				throw new ArgumentNullException("variable");
			return WithLocalVariableStack(localVariableStack.Push(variable));
		}
		
CSharpResolver