Metalama CommunityMC
Metalama Community3y ago
2 replies
WiredWizard

Trying to override a method and pass an enum

I'm trying to create an OverrideMethodAspect to transform a method. I want to pass an enum value into the aspect attribute, but I get an error complaining about the enum being runtime and the aspect being compile time. What is the best way to accomplish this? I'm trying to decorate my methods with something like [ParserRule(SyntaxNodeType.Expression)].
Was this page helpful?