Would be preferable to use a transpiler here to avoid possible breakage in the future https://github.com/ResoniteModdingGroup/MonkeyLoader.GamePacks.Resonite/blob/master/MonkeyLoader.Resonite.Integration/UI/Inspectors/CustomInspectorInjector.cs