9 [__DynamicallyInvokable]
16 internal Type ArgumentType
24 return ((
FieldInfo)m_memberInfo).FieldType;
34 [__DynamicallyInvokable]
37 [__DynamicallyInvokable]
46 [__DynamicallyInvokable]
49 [__DynamicallyInvokable]
59 [__DynamicallyInvokable]
62 [__DynamicallyInvokable]
86 return !left.
Equals(right);
98 if (memberInfo ==
null)
105 if (fieldInfo !=
null)
111 if (!(propertyInfo !=
null))
117 m_memberInfo = memberInfo;
128 if (memberInfo ==
null)
132 m_memberInfo = memberInfo;
133 m_value = typedArgument;
140 if (m_memberInfo ==
null)
160 return obj == (object)
this;
Obtains information about the attributes of a member and provides access to member metadata.
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
abstract Type FieldType
Gets the type of this field object.
Represents a named argument of a custom attribute in the reflection-only context.
CustomAttributeNamedArgument(MemberInfo memberInfo, CustomAttributeTypedArgument typedArgument)
Initializes a new instance of the T:System.Reflection.CustomAttributeNamedArgument class,...
Discovers the attributes of a field and provides access to field metadata.
bool IsField
Gets a value that indicates whether the named argument is a field.
Provides information about, and means to manipulate, the current environment and platform....
static bool operator==(CustomAttributeNamedArgument left, CustomAttributeNamedArgument right)
Tests whether two T:System.Reflection.CustomAttributeNamedArgument structures are equivalent.
static bool operator !=(CustomAttributeNamedArgument left, CustomAttributeNamedArgument right)
Tests whether two T:System.Reflection.CustomAttributeNamedArgument structures are different.
Represents an argument of a custom attribute in the reflection-only context, or an element of an arra...
Represents type declarations: class types, interface types, array types, value types,...
abstract string Name
Gets the name of the current member.
abstract Type PropertyType
Gets the type of this property.
Discovers the attributes of a property and provides access to property metadata.
static CultureInfo CurrentCulture
Gets or sets the T:System.Globalization.CultureInfo object that represents the culture used by the cu...
The exception that is thrown when one of the arguments provided to a method is not valid.
override string ToString()
Returns a string consisting of the argument name, the equal sign, and a string representation of the ...
override int GetHashCode()
Returns the hash code for this instance.
CustomAttributeTypedArgument TypedValue
Gets a T:System.Reflection.CustomAttributeTypedArgument structure that can be used to obtain the type...
Specifies that the class can be serialized.
CustomAttributeNamedArgument(MemberInfo memberInfo, object value)
Initializes a new instance of the T:System.Reflection.CustomAttributeNamedArgument class,...
override bool Equals(object obj)
Returns a value that indicates whether this instance is equal to a specified object.
Provides information about a specific culture (called a locale for unmanaged code development)....
override string ToString()
Returns a string that consists of the argument name, the equal sign, and a string representation of t...
Provides the base class for value types.
string MemberName
Gets the name of the attribute member that would be used to set the named argument.