17 references to Hash
Microsoft.AspNetCore.Components.AI.SourceGenerators (17)
ToolBlockCandidate.cs (17)
68var hash = Hash.Combine(Namespace, ClassName); 69hash = Hash.Combine(hash, BlockTypeGlobal.GetHashCode()); 70hash = Hash.Combine(hash, ToolName.GetHashCode()); 73hash = Hash.Combine(hash, p.GetHashCode()); 77hash = Hash.Combine(hash, r.GetHashCode()); 112var hash = Hash.Combine(PropertyName, ResultKey); 113hash = Hash.Combine(hash, TypeName.GetHashCode()); 114hash = Hash.Combine(hash, IsNullable ? 1 : 0); 115hash = Hash.Combine(hash, (int)TypeKind); 149var hash = Hash.Combine(PropertyName, ArgumentKey); 150hash = Hash.Combine(hash, TypeName.GetHashCode()); 151hash = Hash.Combine(hash, IsNullable ? 1 : 0); 152hash = Hash.Combine(hash, (int)TypeKind); 196hash = Hash.Combine(hash, d.GetHashCode()); 227=> Hash.Combine(Hash.Combine(DescriptorId, MessageArg), Location?.GetHashCode() ?? 0); 264public override int GetHashCode() => Hash.Combine(FilePath.GetHashCode(), TextSpan.GetHashCode());