Interface IAttribute
- Namespace
- ICSharpCode.Decompiler.TypeSystem
- Assembly
- ICSharpCode.Decompiler.dll
Represents an attribute.
public interface IAttribute
Properties
AttributeType
Gets the type of the attribute.
IType AttributeType { get; }
Property Value
Constructor
Gets the constructor being used. This property may return null if no matching constructor was found.
IMethod? Constructor { get; }
Property Value
FixedArguments
Gets the positional arguments.
ImmutableArray<CustomAttributeTypedArgument<IType>> FixedArguments { get; }
Property Value
HasDecodeErrors
Gets whether there were errors decoding the attribute.
bool HasDecodeErrors { get; }
Property Value
NamedArguments
Gets the named arguments passed to the attribute.
ImmutableArray<CustomAttributeNamedArgument<IType>> NamedArguments { get; }