PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Extensibility Namespace / Message­Location­Extensions Class / Message­Location­Extensions Methods / Message­Location­Extensions.​To­Message­Location Method

MessageLocationExtensions.ToMessageLocation Method

[Missing <summary> documentation for "M:PostSharp.Extensibility.MessageLocationExtensions.ToMessageLocation(System.Xml.Linq.XObject)"]

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static MessageLocation ToMessageLocation(
	this XObject node
)

Parameters

node
Type: System.Xml.Linq.XObject

[Missing <param name="node"/> documentation for "M:PostSharp.Extensibility.MessageLocationExtensions.ToMessageLocation(System.Xml.Linq.XObject)"]

Return Value

Type: MessageLocation

[Missing <returns> documentation for "M:PostSharp.Extensibility.MessageLocationExtensions.ToMessageLocation(System.Xml.Linq.XObject)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XObject. 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