Open sandboxFocus

Property Member

Member

Gets the innermost member of the code model that contains the site: a method, a constructor, an operator or an accessor, the field, property or event of an initializer, the entry point for top-level statements, or the primary constructor for primary-constructor base arguments. Lambdas and local functions are attributed to their enclosing member.

Declaration
IMember Member { get; }
Property Value
Type Description
IMember
Remarks

The type that contains the site is the DeclaringType of this member.