MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIField­Or­Property­Or­IndexerSet­Method
Open sandboxFocus

IFieldOrPropertyOrIndexer.SetMethod Property

SetMethod

Gets the property getter, or null if the property is read-only. In case of automatic properties, this property returns an object that does not map to source code but allows to add aspects and advice as with a normal method. In case of fields, this property returns a pseudo-method that can be the target of aspects and advice, as if the field were a property.

Declaration
IMethod SetMethod { get; }
Property Value
Type Description
IMethod