Beispiel #1
0
#pragma warning restore CA1707 // Identifiers should not contain underscores
#pragma warning restore SA1600 // Elements must be documented
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
#pragma warning restore SA1313 // Parameter names must begin with lower-case letter
        //// ReSharper restore UnusedParameter.Global

        /// <inheritdoc />
        bool IEqualityComparer <ExpressionSyntax> .Equals(ExpressionSyntax x, ExpressionSyntax y) => MemberPath.Equals(x, y);
Beispiel #2
0
 /// <summary> Compares equality by <see cref="MemberPath.Equals(ExpressionSyntax,ExpressionSyntax)"/>. </summary>
 /// <param name="x">The first instance.</param>
 /// <param name="y">The other instance.</param>
 /// <returns>True if the instances are found equal.</returns>
 public static bool Equals(ExpressionSyntax x, ExpressionSyntax y) => MemberPath.Equals(x, y);