Inheritance: FieldInfo
Exemplo n.º 1
0
		public FieldBuilder DefineField(string fieldName, Type type, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers, FieldAttributes attributes)
		{
			FieldBuilder fb = new FieldBuilder(this, fieldName, type, requiredCustomModifiers, optionalCustomModifiers, attributes);
			fields.Add(fb);
			return fb;
		}
Exemplo n.º 2
0
		public FieldBuilder __DefineField(string fieldName, Type type, CustomModifiers customModifiers, FieldAttributes attributes)
		{
			FieldBuilder fb = new FieldBuilder(this, fieldName, type, customModifiers, attributes);
			fields.Add(fb);
			return fb;
		}
Exemplo n.º 3
0
		internal EnumBuilder(TypeBuilder typeBuilder, FieldBuilder fieldBuilder)
			: base(typeBuilder)
		{
			this.typeBuilder = typeBuilder;
			this.fieldBuilder = fieldBuilder;
		}
Exemplo n.º 4
0
 internal EnumBuilder(TypeBuilder typeBuilder, FieldBuilder fieldBuilder)
     : base(typeBuilder)
 {
     this.typeBuilder  = typeBuilder;
     this.fieldBuilder = fieldBuilder;
 }