I hereby claim:
- I am filmor on github.
- I am filmor (https://keybase.io/filmor) on keybase.
- I have a public key ASBmlycxlFn5zxsoeP6neD0ZLaCp0f8aB6q06IRU8YZrygo
To claim this, I am signing this object:
| using System; | |
| public class Program | |
| { | |
| static int i = 0; | |
| static Test test = new Test(); | |
| static Test GetTest => (i % 2) == 0 ? null : test; | |
| static string FuncWithSideEffect() { | |
| Console.WriteLine("Called inner"); |
I hereby claim:
To claim this, I am signing this object:
| from System.Dynamic import DynamicObject as _do | |
| from System import Func, Array, Object | |
| from System.Runtime.CompilerServices import CallSite | |
| from Microsoft.CSharp.RuntimeBinder import ( | |
| Binder, CSharpBinderFlags, CSharpArgumentInfoFlags, | |
| RuntimeBinderException, CSharpArgumentInfo | |
| ) | |
| class _Injected: |
| from logging import Logger, getLogger | |
| class MagicLogger: | |
| def __getattr__(self, name): | |
| try: | |
| from sys import _getframe | |
| from inspect import getmodule | |
| frame = _getframe(1) | |
| mod_name = getattr(getmodule(frame), "__name__", None) |