PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Reflection­Helper Class / Reflection­Helper Methods / Reflection­Helper.​Get­Semantic­Info Method / Reflection­Helper.​Get­Semantic­Info Method (Member­Info)

ReflectionHelper.GetSemanticInfo Method (MemberInfo)

Gets the SemanticInfo for a given member.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static SemanticInfo GetSemanticInfo(
	this MemberInfo member


Type: System.Reflection.MemberInfo
A member.

Return Value

Type: SemanticInfo
The SemanticInfo for member.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MemberInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also