SemanticallyAdvisedMethodKinds
Gets or sets which target methods are advised semantically. This affects the behavior of the advice when it is applied to iterator or async methods, which are compiled into state machines.
Declaration
public SemanticallyAdvisedMethodKinds SemanticallyAdvisedMethodKinds { get; set; }Property Value
| Type | Description |
|---|---|
| SemanticallyAdvisedMethodKinds |
Remarks
Semantic advising results in an aspect that is consistent with the level of abstraction of the programming language. This is the default behavior. You can disable semantic advising by using this property to be consistent with the level of abstraction of MSIL and for backward compatibility with the versions of PostSharp prior to 3.1.
Set this property on the master advice of a group. Setting it on an advice whose Master property is set is a build-time error.