Class SetterBackedByConstructorParameterAttribute

Automatically attached to generated methods depending on runtime behavior.

You should not use this directly.

Inheritance
System.Object
SetterBackedByConstructorParameterAttribute
Implements
System.IEquatable<SetterBackedByConstructorParameterAttribute>
Namespace: Cesil
Assembly: Cesil.dll
Syntax
public sealed class SetterBackedByConstructorParameterAttribute : Attribute, IEquatable<SetterBackedByConstructorParameterAttribute>

Constructors

SetterBackedByConstructorParameterAttribute(Int32)

Create a new SetterBackedByConstructorParameterAttribute.

You should not use this directly.

Declaration
public SetterBackedByConstructorParameterAttribute(int index)
Parameters
Type Name Description
System.Int32 index

Properties

Index

Index of parameter in InstanceProvider constructor that the annotated method's column corresponds to.

Declaration
public int Index { get; }
Property Value
Type Description
System.Int32

Methods

Equals(SetterBackedByConstructorParameterAttribute)

Returns true if the given SetterBackedByConstructorParameterAttribute is equal to this one.

Declaration
public bool Equals(SetterBackedByConstructorParameterAttribute attribute)
Parameters
Type Name Description
SetterBackedByConstructorParameterAttribute attribute
Returns
Type Description
System.Boolean

Equals(Object)

Return true if the given object is a SetterBackedByConstructorParameterAttribute 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 SetterBackedByConstructorParameterAttribute.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

ToString()

Returns a representation of this SetterBackedByConstructorParameterAttribute object.

Only for debugging, this value is not guaranteed to be stable.

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

Equality(SetterBackedByConstructorParameterAttribute, SetterBackedByConstructorParameterAttribute)

Compare two SetterBackedByConstructorParameterAttributes for equality

Declaration
public static bool operator ==(SetterBackedByConstructorParameterAttribute a, SetterBackedByConstructorParameterAttribute b)
Parameters
Type Name Description
SetterBackedByConstructorParameterAttribute a
SetterBackedByConstructorParameterAttribute b
Returns
Type Description
System.Boolean

Inequality(SetterBackedByConstructorParameterAttribute, SetterBackedByConstructorParameterAttribute)

Compare two SetterBackedByConstructorParameterAttributes for inequality

Declaration
public static bool operator !=(SetterBackedByConstructorParameterAttribute a, SetterBackedByConstructorParameterAttribute b)
Parameters
Type Name Description
SetterBackedByConstructorParameterAttribute a
SetterBackedByConstructorParameterAttribute b
Returns
Type Description
System.Boolean

Implements

System.IEquatable<>
In This Article
Back to top Generated by DocFX