Mono.CSharp.CSharpCodeGenerator.GenerateThrowExceptionStatement C# (CSharp) Method

GenerateThrowExceptionStatement() protected method

protected GenerateThrowExceptionStatement ( CodeThrowExceptionStatement statement ) : void
statement CodeThrowExceptionStatement
return void
		protected override void GenerateThrowExceptionStatement (CodeThrowExceptionStatement statement)
		{
			Output.Write ("throw");
			if (statement.ToThrow != null) {
				Output.Write (' ');
				GenerateExpression (statement.ToThrow);
			}
			Output.WriteLine (";");
		}
CSharpCodeGenerator