• /r/csharp
  • Autofac throws an exception when I build on Android but not on UWP (Xamarin Forms).

    I don’t know exactly when this problem started, as I was developing on UWP, but when I try to build on Android I get this exception: “An exception was thrown while invoking the constructor.” Digging deeper, I also found this exception: “System.InvalidOperationException: DeclaringMethod can only be used on generic arguments” It says the module is […]

  • /r/csharp
  • Local Functions and Readable code

    So one of the aspects of local functions that I love is that it allows you to further scope code-units. With that said, I find local functions to be eye-sores. When reading code, top-to-bottom, I just know that I’d prefer if the implementation of the functions were not within the function from a readability standpoint. […]