Open sandboxFocus

Operator operator !=

operator !=(LocationInfo, LocationInfo)

Determines whether two instances of LocationInfo represent different elements of code.

Declaration
public static bool operator !=(LocationInfo left, LocationInfo right)
Parameters
Type Name Description
LocationInfo left

A LocationInfo.

LocationInfo right

A LocationInfo.

Returns
Type Description
bool

true if left and right are different, otherwise false.