CustomAttribute class

A custom (named) attribute.

Inheritance

Constructors

CustomAttribute(Scope scope, int token, int modifiedObjectToken, MemberRef memberRef, TypeDef constructor, int attributeType, Uint8List signatureBlob)
CustomAttribute.fromToken(Scope scope, int token)
Creates a custom attribute object from a provided token.
factory

Properties

attributeType int
final
constructor TypeDef
final
hashCode int
The hash code for this object.
no setterinherited
isGlobal bool
Returns true if the token is marked as global.
no setterinherited
isResolvedToken bool
Returns true if the token maps to an entry in the WinMD database.
no setterinherited
memberRef MemberRef
final
modifiedObjectToken int
final
name String
The name of the attribute
no setter
parameters List<CustomAttributeParameter>
latefinal
reader → IMetaDataImport2
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope
The Scope that contains this token.
finalinherited
signatureBlob Uint8List
final
token int
A unique identifier for this token in the metadata file.
finalinherited
tokenType TokenType
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited