PostSharp.ILAPI ReferencePost­Sharp.​ReflectionSemantic­Info
Open sandboxFocus

SemanticInfo Class

Provides information about the semantic of a declaration in the source programming language. For instance an MSIL method can be in C# a property getter, an operator, an anonymous method, and so on.

Inheritance
SemanticInfo
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public sealed class SemanticInfo : ValueType

Properties

Name Description
DisplayName

Gets a human-readable description of the Semantic property.

IsCompilerGenerated

Determines whether the declaration is compiler-generated.

IsSelectable

Determines whether the declaration can be safely selected in a pointcut using the standard System.Reflection API.

Semantic

Gets the semantic of the MSIL method in the source language.