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