24 references to Equals
Microsoft.AspNetCore.Http (2)
HeaderDictionary.cs (2)
236
!StringValues.
Equals
(value, item.Value))
289
if (Store.TryGetValue(item.Key, out var value) && StringValues.
Equals
(item.Value, value))
Microsoft.AspNetCore.Http.Abstractions (1)
Internal\HeaderSegmentCollection.cs (1)
20
return StringValues.
Equals
(_headers, other._headers);
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
305
!StringValues.
Equals
(context.CachedVaryByRules.QueryKeys, normalizedVaryQueryKeys) ||
306
!StringValues.
Equals
(context.CachedVaryByRules.Headers, normalizedVaryHeaders))
Microsoft.Extensions.Primitives (19)
StringValues.cs (19)
553
return
Equals
(left, right);
564
return !
Equals
(left, right);
572
public bool Equals(StringValues other) =>
Equals
(this, other);
580
public static bool Equals(string? left, StringValues right) =>
Equals
(new StringValues(left), right);
588
public static bool Equals(StringValues left, string? right) =>
Equals
(left, new StringValues(right));
595
public bool Equals(string? other) =>
Equals
(this, new StringValues(other));
603
public static bool Equals(string?[]? left, StringValues right) =>
Equals
(new StringValues(left), right);
611
public static bool Equals(StringValues left, string?[]? right) =>
Equals
(left, new StringValues(right));
618
public bool Equals(string?[]? other) =>
Equals
(this, new StringValues(other));
621
public static bool operator ==(StringValues left, string? right) =>
Equals
(left, new StringValues(right));
629
public static bool operator !=(StringValues left, string? right) => !
Equals
(left, new StringValues(right));
632
public static bool operator ==(string? left, StringValues right) =>
Equals
(new StringValues(left), right);
640
public static bool operator !=(string? left, StringValues right) => !
Equals
(new StringValues(left), right);
643
public static bool operator ==(StringValues left, string?[]? right) =>
Equals
(left, new StringValues(right));
651
public static bool operator !=(StringValues left, string?[]? right) => !
Equals
(left, new StringValues(right));
654
public static bool operator ==(string?[]? left, StringValues right) =>
Equals
(new StringValues(left), right);
662
public static bool operator !=(string?[]? left, StringValues right) => !
Equals
(new StringValues(left), right);
708
return
Equals
(this, StringValues.Empty);
723
return
Equals
(this, stringValues);