Maxim Rakov

Results 5 comments of Maxim Rakov

![image](https://user-images.githubusercontent.com/61143434/189202372-ec02e652-b934-4c2f-838d-22917dec729d.png) **If you declare : $content = 123.1; inside an anonymous function, it will not cause errors. The Content property will be NULL** > We see this behavior only when...

> Hi @FibonacciFox ! > > Do you have a stack trace of the exception? I recommend also disabling "Just My Code" when debugging (depends on your IDE). @jakubmisek, I...

@jakubmisek, thank you for your help. I can't understand: ![image](https://user-images.githubusercontent.com/61143434/189577393-8a271e4f-eeea-47d9-8473-99752f5cbe41.png)

https://github.com/AvaloniaUI/Avalonia/blob/ffaf02cf036cd92776367cef3c0290dec9c59b84/src/Markup/Avalonia.Markup.Xaml/AvaloniaXamlLoader.cs#L10C4-L25C10

> The compiler sees several `Load()` overloads, so it postpones the resolution to runtime using the callsite (`call_Load?0`). > > The fix would be to improve the compiler so it...