Compiler Error CS0635

'attribute' : System.Interop.UnmanagedType.CustomMarshaller requires named arguments ComType and Marshal

The ComType and Marshal arguments must be specified when the marshal format is System.Interop.UnmanagedType.CustomMarshaller.