Class SetterBackedByInitOnlyPropertyAttribute

Automatically attached to generated methods depending on runtime behavior.

You should not use this directly.

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

Constructors

SetterBackedByInitOnlyPropertyAttribute(String, BindingFlags)

Create a new SetterBackedByInitOnlyPropertyAttribute.

You should not use this directly.

Declaration
public SetterBackedByInitOnlyPropertyAttribute(string propertyName, BindingFlags bindingFlags)
Parameters
Type Name Description
System.String propertyName
System.Reflection.BindingFlags bindingFlags

Properties

BindingFlags

BindingFlags for property.

Declaration
public BindingFlags BindingFlags { get; }
Property Value
Type Description
System.Reflection.BindingFlags

PropertyName

Property annotated method corresponds to.

Declaration
public string PropertyName { get; }
Property Value
Type Description
System.String

Methods

Equals(SetterBackedByInitOnlyPropertyAttribute)

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

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

Equals(Object)

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

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

ToString()

Returns a representation of this SetterBackedByInitOnlyPropertyAttribute object.

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

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

Operators

Equality(SetterBackedByInitOnlyPropertyAttribute, SetterBackedByInitOnlyPropertyAttribute)

Compare two SetterBackedByInitOnlyPropertyAttribute for equality

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

Inequality(SetterBackedByInitOnlyPropertyAttribute, SetterBackedByInitOnlyPropertyAttribute)

Compare two SetterBackedByInitOnlyPropertyAttribute for inequality

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

Implements

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