2 instantiations of AnonymousTypeTemplateSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
440template = this.AnonymousTypeTemplates.GetOrAdd(typeDescr.Key, new AnonymousTypeTemplateSymbol(this, typeDescr)); 465return new AnonymousTypeTemplateSymbol(this, typeDescr);
30 references to AnonymousTypeTemplateSymbol
Microsoft.CodeAnalysis.CSharp (30)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (11)
49AnonymousTypeTemplateSymbol anonymousType = (AnonymousTypeTemplateSymbol)this.ContainingType; 100AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingType).Manager; 114AnonymousTypeTemplateSymbol anonymousType = (AnonymousTypeTemplateSymbol)this.ContainingType; 162AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingType).Manager; 183AnonymousTypeTemplateSymbol anonymousType = (AnonymousTypeTemplateSymbol)this.ContainingType; 225AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingType).Manager; 240AnonymousTypeTemplateSymbol anonymousType = (AnonymousTypeTemplateSymbol)this.ContainingType;
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
331if (sourceType is AnonymousTypeManager.AnonymousTypeTemplateSymbol typeTemplate) 478if (template is AnonymousTypeManager.AnonymousTypeTemplateSymbol typeTemplate)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (13)
32private ConcurrentDictionary<string, AnonymousTypeTemplateSymbol> _lazyAnonymousTypeTemplates; 114private ConcurrentDictionary<string, AnonymousTypeTemplateSymbol> AnonymousTypeTemplates 128? new ConcurrentDictionary<string, AnonymousTypeTemplateSymbol>() 129: new ConcurrentDictionary<string, AnonymousTypeTemplateSymbol>(previousCache), 436AnonymousTypeTemplateSymbol? template; 461private AnonymousTypeTemplateSymbol CreatePlaceholderTemplate(Microsoft.CodeAnalysis.Emit.AnonymousTypeKey key) 496var anonymousTypes = ArrayBuilder<AnonymousTypeTemplateSymbol>.GetInstance(); 605private void GetCreatedAnonymousTypeTemplates(ArrayBuilder<AnonymousTypeTemplateSymbol> builder) 611foreach (var template in anonymousTypes.Values) 688var templates = ArrayBuilder<AnonymousTypeTemplateSymbol>.GetInstance(); 726var anonymousTypes = ArrayBuilder<AnonymousTypeTemplateSymbol>.GetInstance(); 749return type is AnonymousTypeTemplateSymbol; 759return ((AnonymousTypeTemplateSymbol)type).SpecialMembers;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
150AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingSymbol).Manager;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
29internal AnonymousTypePropertySymbol(AnonymousTypeTemplateSymbol container, AnonymousTypeField field, TypeWithAnnotations fieldTypeWithAnnotations, int index) :
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (2)
180AnonymousTypeTemplateSymbol template = _containingType as AnonymousTypeTemplateSymbol;