Example #1
0
        private System.Reflection.PropertyAttributes GetPropertyAttributes(PropertyDefinition propertyDefinition)
        {
            System.Reflection.PropertyAttributes attributes = System.Reflection.PropertyAttributes.None;

            var cecilAttributes = propertyDefinition.Attributes;

            if ((cecilAttributes & PropertyAttributes.HasDefault) == PropertyAttributes.HasDefault)
            {
                attributes |= System.Reflection.PropertyAttributes.HasDefault;
            }
            if ((cecilAttributes & PropertyAttributes.RTSpecialName) == PropertyAttributes.RTSpecialName)
            {
                attributes |= System.Reflection.PropertyAttributes.RTSpecialName;
            }
            if ((cecilAttributes & PropertyAttributes.SpecialName) == PropertyAttributes.SpecialName)
            {
                attributes |= System.Reflection.PropertyAttributes.SpecialName;
            }

            return(attributes);
        }
Example #2
0
 public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes)
 {
     throw null;
 }
Example #3
0
 public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers)
 {
     throw null;
 }
Example #4
0
 public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Type returnType, System.Type[] parameterTypes)
 {
     return(default(System.Reflection.Emit.PropertyBuilder));
 }
Example #5
0
 public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers)
 {
     return(default(System.Reflection.Emit.PropertyBuilder));
 }
 public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Type returnType, System.Type[] parameterTypes)
 {
     throw new PlatformNotSupportedException();
 }
 public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers)
 {
     throw new PlatformNotSupportedException();
 }
Example #8
0
 public PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, Type returnType, Type[] parameterTypes)
 {
 }
Example #9
0
        public PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, Type returnType, Type[] parameterTypes)
        {
            Contract.Ensures(Contract.Result <System.Reflection.Emit.PropertyBuilder>() != null);

            return(default(PropertyBuilder));
        }
Example #10
0
        public PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers)
        {
            Contract.Ensures(Contract.Result <System.Reflection.Emit.PropertyBuilder>() != null);

            return(default(PropertyBuilder));
        }
Example #11
0
		/// <summary>
		///  Fills the row from the array of bytes.
		/// </summary>
		unsafe public void FromRawData(byte [] buff, int offs)
		{
			if (buff == null) throw new Exception("buff == null");
			if (offs + Size > buff.Length) throw new Exception("bounds");

		
			this.Flags = (System.Reflection.PropertyAttributes) LEBitConverter.ToUInt16(buff, offs);
			offs += sizeof (ushort);
			this.Name = LEBitConverter.ToInt32(buff, offs);
			offs += 4;
			this.Type = LEBitConverter.ToInt32(buff, offs);
			
		}