Mono.CSharp.CSharpCodeGenerator.GenerateThrowExceptionStatement C# (CSharp) Méthode

GenerateThrowExceptionStatement() protected méthode

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