You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Determines whether the specified <see cref="System.Object"/> is equal to the current <see cref="System.Object"/>.
@@ -118,8 +128,7 @@ public T Value
118
128
/// <returns><value>true</value> if the specified <see cref="System.Object"/> is equal to the current <see cref="System.Object"/>; otherwise, <value>false</value>.</returns>
119
129
publicoverrideboolEquals(objectobj)
120
130
{
121
-
varother=objasParsed<T>;
122
-
if(other!=null)
131
+
if(objisParsed<T>other)
123
132
{
124
133
returnEquals(other);
125
134
}
@@ -159,21 +168,12 @@ public bool Equals(Parsed<T> other)
159
168
/// <typeparam name="T">The type with attributes that define the syntax of parsing rules.</typeparam>
/// Determines whether the specified <see cref="System.Object"/> is equal to the current <see cref="System.Object"/>.
@@ -182,8 +182,7 @@ public IEnumerable<Error> Errors
182
182
/// <returns><value>true</value> if the specified <see cref="System.Object"/> is equal to the current <see cref="System.Object"/>; otherwise, <value>false</value>.</returns>
0 commit comments