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