Beispiel #1
0
 internal static TranslatedStatement WithILInstruction(this Statement statement, IEnumerable <ILInstruction> instructions)
 {
     foreach (var inst in instructions)
     {
         statement.AddAnnotation(inst);
     }
     return(new TranslatedStatement(statement));
 }
Beispiel #2
0
 internal static TranslatedStatement WithILInstruction(this Statement statement,
                                                       ILInstruction instruction)
 {
     statement.AddAnnotation(instruction);
     return(new TranslatedStatement(statement));
 }