24 references to Equals
Microsoft.AspNetCore.Http (2)
HeaderDictionary.cs (2)
236!StringValues.Equals(value, item.Value)) 289if (Store.TryGetValue(item.Key, out var value) && StringValues.Equals(item.Value, value))
Microsoft.AspNetCore.Http.Abstractions (1)
Internal\HeaderSegmentCollection.cs (1)
20return 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)
556return Equals(left, right); 567return !Equals(left, right); 575public bool Equals(StringValues other) => Equals(this, other); 583public static bool Equals(string? left, StringValues right) => Equals(new StringValues(left), right); 591public static bool Equals(StringValues left, string? right) => Equals(left, new StringValues(right)); 598public bool Equals(string? other) => Equals(this, new StringValues(other)); 606public static bool Equals(string?[]? left, StringValues right) => Equals(new StringValues(left), right); 614public static bool Equals(StringValues left, string?[]? right) => Equals(left, new StringValues(right)); 621public bool Equals(string?[]? other) => Equals(this, new StringValues(other)); 624public static bool operator ==(StringValues left, string? right) => Equals(left, new StringValues(right)); 632public static bool operator !=(StringValues left, string? right) => !Equals(left, new StringValues(right)); 635public static bool operator ==(string? left, StringValues right) => Equals(new StringValues(left), right); 643public static bool operator !=(string? left, StringValues right) => !Equals(new StringValues(left), right); 646public static bool operator ==(StringValues left, string?[]? right) => Equals(left, new StringValues(right)); 654public static bool operator !=(StringValues left, string?[]? right) => !Equals(left, new StringValues(right)); 657public static bool operator ==(string?[]? left, StringValues right) => Equals(new StringValues(left), right); 665public static bool operator !=(string?[]? left, StringValues right) => !Equals(new StringValues(left), right); 711return Equals(this, StringValues.Empty); 726return Equals(this, stringValues);