PostSharp5.0/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: 5.0.55.0 (5.0.55.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