Micro focus COBOL Managed code types

I am trying to manage a pipe and for some reasion the compiler refuses to recognise the type i use;

invoke pipeSec::AddAccessRule(new System.IO.Pipes.PipeAccessRule("Users", type System.IO.Pipes.PipeAccessRights.ReadWrite, type SysSec.AccessControl.AccessControlType.Allow))

it takes exception to "type System.IO.Pipes.PipeAccessRights.ReadWrite" even though it's ok with "System.IO.Pipes.PipeAccessRule"  and "SysSec.AccessControl.AccessControlType.Allow" where SysSec is mapped to SystemSecurity in the repository.

Any help is greatly appreciated.

Thanks

Micro Focus Visual COBOL Version 8