예제 #1
0
파일: Annotations.cs 프로젝트: zz110/ILSpy
 internal static TranslatedStatement WithILInstruction(this Statement statement, IEnumerable <ILInstruction> instructions)
 {
     foreach (var inst in instructions)
     {
         statement.AddAnnotation(inst);
     }
     return(new TranslatedStatement(statement));
 }
예제 #2
0
 internal static TranslatedStatement WithILInstruction(this Statement statement,
                                                       ILInstruction instruction)
 {
     statement.AddAnnotation(instruction);
     return(new TranslatedStatement(statement));
 }