I get this exception, when trying to build .netstandard 2.1 c# 9 code
BUT there is one nuance. this happens when I have a lot of methods in class or its subclasses, even if I override base class virtual method it can happen. when I remove many of them, the project can be build
When I say a lot I mean ~20 together with base class methods and overrides
this happens only in debug configuration
UPD
if I check this in project settings, project can be build
Thanks for filing this. Unfortunately there's not much I can do without a repro here. Could you attach or send privately the assembly that is read with Cecil in the XamlCTask?
I get this exception, when trying to build .netstandard 2.1 c# 9 code
BUT there is one nuance. this happens when I have a lot of methods in class or its subclasses, even if I override base class virtual method it can happen. when I remove many of them, the project can be build When I say a lot I mean ~20 together with base class methods and overrides
this happens only in debug configuration
UPD if I check this in project settings, project can be build