Skip to content

SourcePosition.Equality Operator ​

Definition ​

Determines whether two specified SourceFiles have the same value.

c#
public static bool operator Equality(SourcePosition? left, SourcePosition? right);

View source

Parameters ​

NameTypeDescription
leftSourcePositionThe first SourceFile to compare, or null.
rightSourcePositionThe second SourceFile to compare, or null.

Returns ​

Boolean

true if the value of left is the same as the value of right; otherwise, false.