22 references to GetHashCode
GenerateDocumentationAndConfigFiles (2)
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
31return string.GetHashCode(obj.Span);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
349return string.GetHashCode(_symbolKeyData.AsSpan(position));
Microsoft.CodeAnalysis (1)
InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
31return string.GetHashCode(obj.Span);
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
31return string.GetHashCode(obj.Span);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
349return string.GetHashCode(_symbolKeyData.AsSpan(position));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
31return string.GetHashCode(obj.Span);
Microsoft.Extensions.Primitives (1)
StringSegment.cs (1)
275return string.GetHashCode(AsSpan());
Microsoft.ML.Tokenizers.Tests (1)
src\Microsoft.ML.Tokenizers\Utils\Helpers.netcoreapp.cs (1)
53internal static int GetHashCode(ReadOnlySpan<char> span) => string.GetHashCode(span);
System.Drawing.Common (1)
System\Drawing\FontFamily.cs (1)
191return string.GetHashCode(name.SliceAtFirstNull());
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (1)
313public int GetHashCode(ReadOnlySpan<char> span) => string.GetHashCode(span);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (1)
1562return string.GetHashCode(source);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Invariant.cs (1)
135return string.GetHashCode(source);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (1)
776return GetHashCode(value);
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (2)
406string.GetHashCode(span); 468string.GetHashCode(span);
System.Private.Xml (4)
System\Xml\Dom\XmlName.cs (1)
181return string.GetHashCode(name.AsSpan(name.LastIndexOf(':') + 1));
System\Xml\NameTable.cs (3)
99int hashCode = string.GetHashCode(key.AsSpan(start, len)); 159int hashCode = string.GetHashCode(key.AsSpan(start, len)); 191return string.GetHashCode(key.AsSpan());
System.Private.Xml.Linq (1)
System\Xml\Linq\XHashtable.cs (1)
399return string.GetHashCode(key.AsSpan(index, count));
Test.Utilities (2)
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyMemoryOfCharComparer.cs (1)
31return string.GetHashCode(obj.Span);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
349return string.GetHashCode(_symbolKeyData.AsSpan(position));