System.Reflection.Emit.EnumBuilder.MakePointerType C# (CSharp) Method

MakePointerType() public method

public MakePointerType ( ) : System.Type
return System.Type
        public override System.Type MakePointerType() { throw null; }
        public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { }

Usage Example

 public void PosTest1()
 {
     CreateCallee();
     _myEnumBuilder = _myModuleBuilder.DefineEnum("myEnum", TypeAttributes.Public, typeof(int));
     Type myType = _myEnumBuilder.MakePointerType();
     Assert.True(myType.GetTypeInfo().BaseType.Equals(typeof(Array)));
     Assert.Equal(myType.Name, "myEnum*");
 }