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