Class IsRequiredAttribute
Automatically attached to generated methods depending on runtime behavior.
You should not use this directly.
Inheritance
System.Object
IsRequiredAttribute
Implements
System.IEquatable<IsRequiredAttribute>
Namespace: Cesil
Assembly: Cesil.dll
Syntax
public sealed class IsRequiredAttribute : Attribute, IEquatable<IsRequiredAttribute>
Constructors
IsRequiredAttribute()
Create a new IsRequiredAttribute.
You should not use this directly.
Declaration
public IsRequiredAttribute()
Methods
Equals(IsRequiredAttribute)
Returns true if the given IsRequiredAttribute is equal to this one.
Declaration
public bool Equals(IsRequiredAttribute attribute)
Parameters
Type | Name | Description |
---|---|---|
IsRequiredAttribute | attribute |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Return true if the given object is a IsRequiredAttribute equal to this one.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Returns a stable hash code for this IsRequiredAttribute.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
Returns a representation of this IsRequiredAttribute object.
Only for debugging, this value is not guaranteed to be stable.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Operators
Equality(IsRequiredAttribute, IsRequiredAttribute)
Compare two IsRequiredAttributes for equality
Declaration
public static bool operator ==(IsRequiredAttribute a, IsRequiredAttribute b)
Parameters
Type | Name | Description |
---|---|---|
IsRequiredAttribute | a | |
IsRequiredAttribute | b |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(IsRequiredAttribute, IsRequiredAttribute)
Compare two IsRequiredAttributes for inequality
Declaration
public static bool operator !=(IsRequiredAttribute a, IsRequiredAttribute b)
Parameters
Type | Name | Description |
---|---|---|
IsRequiredAttribute | a | |
IsRequiredAttribute | b |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<>