You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding RouteEntry: The cause for this is that it is a struct and the "Instantiated By" analyzer only scans for newobj instructions, but not initobj. Not sure, if treating initobj the same would be an appropriate fix.
Regarding HttpsMethods: Yes, that should actually work. Will provide a fix.
Ideally, I'd want "Instantiated By" to include any place the decompiler would output new X. But I guess initobj represents default(X) as well as new X() for value types? I think there's an argument to be made that default for value types does represent an instantiation.
Steps to reproduce
Microsoft.AspNetCore.Routing.RouteEndpointDataSource.AddRequestDelegate(...)
in "Microsoft.AspNetCore.Routing, Version=8.0.0.0".RouteEntry
; click "Analyze".HttpMethods
in theRouteEntry
initializer; click "Analyze".Details
The text was updated successfully, but these errors were encountered: