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