Method Equals
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Equals(SymbolStringPoolEntry?)
Compares this string with another to determine if they contain the same contents
public bool Equals(SymbolStringPoolEntry? other)
Parameters
otherSymbolStringPoolEntryOther entry to compare against
Returns
Remarks
information
A string pool interns the strings such that no two entries in a pool will ever be equal so this is only useful with entries from different pools.
Equals(ReadOnlySpan<byte>)
Tests if the span of characters for this string is identical to the provided span
public bool Equals(ReadOnlySpan<byte> otherSpan)
Parameters
otherSpanReadOnlySpan<byte>Span of bytes to compare this string to