Created
May 2, 2021 15:28
-
-
Save sgaliamov/0a16b48a09317e739d004432f59cc34b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static ILEmitter Add(this ILEmitter self, in ILEmitterFunc func1, in ILEmitterFunc func2) { | |
| func1(self); | |
| func2(self); | |
| return self.Add(); // and this finally does the real generator.Emit(OpCodes.Add); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment