ILSpy decompiler quirks
ILSpy decompiler quirks ((Type)(ref x)) is invalid pseudo-syntax it emits when a struct's readonly method is called by reference; the fix is just to call the method directly on the variable.
Just enjoy sharing what I learned.