Open sandboxFocus

Interface IHasAccessors

A base interface for IProperty and IEvent. Exposes GetAccessor(MethodKind).

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IHasAccessors : IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IHasType

Properties

Name Description
Accessors

Gets the list of accessors defined by the current event or property.

Methods

Name Description
GetAccessor(MethodKind)

Gets the accessor for a given MethodKind, or null if the member does not define an accessor of this kind.

Extension Methods