Mono.CSharp.LocalVariable.IsThisAssigned C# (CSharp) Method

IsThisAssigned() public method

public IsThisAssigned ( BlockContext ec, Block block ) : bool
ec BlockContext
block Block
return bool
		public bool IsThisAssigned (BlockContext ec, Block block)
		{
			if (VariableInfo == null)
				throw new Exception ();

			if (!ec.DoFlowAnalysis || ec.CurrentBranching.IsAssigned (VariableInfo))
				return true;

			return VariableInfo.TypeInfo.IsFullyInitialized (ec, VariableInfo, block.StartLocation);
		}