public SecurityAttribute(TypeReference attributeType)
 {
     this.attribute_type = attributeType;
 }
예제 #2
0
 public EventDefinition(string name, EventAttributes attributes, TypeReference eventType)
     : base(name, eventType)
 {
     this.attributes = (ushort)attributes;
     this.token      = new MetadataToken(TokenType.Event);
 }
예제 #3
0
 public SentinelType(TypeReference type)
     : base(type)
 {
     Mixin.CheckType(type);
     this.etype = MD.ElementType.Sentinel;
 }
예제 #4
0
		public TypeReference Import (TypeReference type, IGenericParameterProvider context)
		{
			return ImportReference (type, context);
		}
예제 #5
0
		public TypeReference ImportReference (TypeReference type)
		{
			return ImportReference (type, null);
		}
예제 #6
0
		internal TypeDefinition Resolve (TypeReference type)
		{
			return MetadataResolver.Resolve (type);
		}
예제 #7
0
		public bool TryGetTypeReference (string fullName, out TypeReference type)
		{
			return TryGetTypeReference (string.Empty, fullName, out type);
		}
예제 #8
0
 internal TypeSpecification(TypeReference type)
     : base(null, null)
 {
     this.element_type = type;
     this.token        = new MetadataToken(TokenType.TypeSpec);
 }
예제 #9
0
 public PropertyDefinition(string name, PropertyAttributes attributes, TypeReference propertyType)
     : base(name, propertyType)
 {
     this.attributes = (ushort)attributes;
     this.token      = new MetadataToken(TokenType.Property);
 }
예제 #10
0
 public CustomAttributeArgument(TypeReference type, object value)
 {
     Mixin.CheckType(type);
     this.type  = type;
     this.value = value;
 }