PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Location­Info Class / Location­Info Operators / Location­Info.​Equality Operator

LocationInfo.Equality Operator

Determines whether two instances of LocationInfo represent the same element of code.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.9.7.0 (6.9.7.0)
Syntax
C#
public static bool operator ==(
	LocationInfo left,
	LocationInfo right
)

Parameters

left
Type: PostSharp.Reflection.LocationInfo
A LocationInfo.
right
Type: PostSharp.Reflection.LocationInfo
A LocationInfo.

Return Value

Type: Boolean
true if left and right are equal, otherwise false.
See Also