Skip to content

Instantly share code, notes, and snippets.

@azyobuzin
Last active December 11, 2015 02:19
Show Gist options
  • Save azyobuzin/4529881 to your computer and use it in GitHub Desktop.
Save azyobuzin/4529881 to your computer and use it in GitHub Desktop.
(load "cts:System.Linq.Expressions")
(load "cts:XSpect.Yacq.Symbols")
(load "cts:XSpect.Yacq.Expressions")
$global.(Add DispatchTypes.Method "assemblyfile" (\ [e s t]
Expression.(Constant
(type "System.Reflection.Assembly").(LoadFrom
e.Arguments.[0].(reduce).(to ConstantExpression).Value.(ToString)
)
)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment