1 write to Key
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (1)
36
this.
Key
= ComputeKey(fields, f => f.Name);
6 references to Key
Microsoft.CodeAnalysis.CSharp (6)
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (3)
72
if (this.
Key
!= other.
Key
)
94
return this.
Key
.GetHashCode();
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
437
if (!this.AnonymousTypeTemplates.TryGetValue(typeDescr.
Key
, out template))
440
template = this.AnonymousTypeTemplates.GetOrAdd(typeDescr.
Key
, new AnonymousTypeTemplateSymbol(this, typeDescr));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
42
this.TypeDescriptorKey = typeDescr.
Key
;