Esempio n. 1
0
 protected SyntaxException Error(string message, TextLocation location)
 {
     return(StmtGen.Error(message, location));
 }
Esempio n. 2
0
 protected virtual Expression GenLambdaParam(LambdaParameter elem)
 {
     Contract.Requires <ArgumentNullException>(elem != null);
     Contract.Ensures(Contract.Result <Expression>() != null);
     throw StmtGen.Error("ラムダパラメタはラムダ式の内部でのみ利用出来ます。", elem.Range.Start);
 }