Error in AttributesChangedEventHandler (GH Mac Plugin)

I am trying to port an existing, working GH component to MacOS. I’ve written the following code to listen to parameter changes, overriding the default parameter instantiation:

IGH_Param IGH_VariableParameterComponent.CreateParameter(GH_ParameterSide side, int index)
    Param_Number p = new Param_Number();
    p.AttributesChanged += new IGH_DocumentObject.AttributesChangedEventHandler(ParameterAttributesChanged);
    p.Name = GH_ComponentParamServer.InventUniqueNickname(@"ABCDEFGHIJKLMNOPQRSTUVWXYZ", this.Params.Input);
    return p;

But I am getting the following compile-time error:

/Users/***.cs(59,59): Error CS0426: The nested type `AttributesChangedEventHandler' does not exist in the type `Grasshopper.Kernel.IGH_DocumentObject' (CS0426) (***)

How can this be fixed in Grasshopper SDK for MacOS? In windows it is working without errors.

Thank you.

Thanks for reporting this @Yannis. We’ll take a look (RH-37655).