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)
278
!StringValues.
Equals
(context.CachedVaryByRules.QueryKeys, normalizedVaryQueryKeys) ||
279
!StringValues.
Equals
(context.CachedVaryByRules.Headers, normalizedVaryHeaders))
Microsoft.Extensions.Primitives (19)
StringValues.cs (19)
556
return
Equals
(left, right);
567
return !
Equals
(left, right);
575
public bool Equals(StringValues other) =>
Equals
(this, other);
583
public static bool Equals(string? left, StringValues right) =>
Equals
(new StringValues(left), right);
591
public static bool Equals(StringValues left, string? right) =>
Equals
(left, new StringValues(right));
598
public bool Equals(string? other) =>
Equals
(this, new StringValues(other));
606
public static bool Equals(string?[]? left, StringValues right) =>
Equals
(new StringValues(left), right);
614
public static bool Equals(StringValues left, string?[]? right) =>
Equals
(left, new StringValues(right));
621
public bool Equals(string?[]? other) =>
Equals
(this, new StringValues(other));
624
public static bool operator ==(StringValues left, string? right) =>
Equals
(left, new StringValues(right));
632
public static bool operator !=(StringValues left, string? right) => !
Equals
(left, new StringValues(right));
635
public static bool operator ==(string? left, StringValues right) =>
Equals
(new StringValues(left), right);
643
public static bool operator !=(string? left, StringValues right) => !
Equals
(new StringValues(left), right);
646
public static bool operator ==(StringValues left, string?[]? right) =>
Equals
(left, new StringValues(right));
654
public static bool operator !=(StringValues left, string?[]? right) => !
Equals
(left, new StringValues(right));
657
public static bool operator ==(string?[]? left, StringValues right) =>
Equals
(new StringValues(left), right);
665
public static bool operator !=(string?[]? left, StringValues right) => !
Equals
(new StringValues(left), right);
711
return
Equals
(this, StringValues.Empty);
726
return
Equals
(this, stringValues);