Class RoslynCustomAttributeData
Namespace: Neon.Roslyn
Assembly: Neon.Roslyn.dll
Syntax
public class RoslynCustomAttributeData : CustomAttributeData
Constructors
RoslynCustomAttributeData(AttributeData, MetadataLoadContext)
Declaration
public RoslynCustomAttributeData(AttributeData a, MetadataLoadContext metadataLoadContext)
Parameters
| Type | Name | Description |
|---|---|---|
| AttributeData | a | |
| MetadataLoadContext | metadataLoadContext |
Properties
Constructor
Gets a ConstructorInfo object that represents the constructor that would have initialized the custom attribute.
Declaration
public override ConstructorInfo Constructor { get; }
Property Value
| Type | Description |
|---|---|
| ConstructorInfo | An object that represents the constructor that would have initialized the custom attribute represented by the current instance of the CustomAttributeData class. |
Overrides
ConstructorArguments
Gets the list of positional arguments specified for the attribute instance represented by the CustomAttributeData object.
Declaration
public override IList<CustomAttributeTypedArgument> ConstructorArguments { get; }
Property Value
| Type | Description |
|---|---|
| IList<CustomAttributeTypedArgument> | A collection of structures that represent the positional arguments specified for the custom attribute instance. |
Overrides
NamedArguments
Gets the list of named arguments specified for the attribute instance represented by the CustomAttributeData object.
Declaration
public override IList<CustomAttributeNamedArgument> NamedArguments { get; }
Property Value
| Type | Description |
|---|---|
| IList<CustomAttributeNamedArgument> | A collection of structures that represent the named arguments specified for the custom attribute instance. |