1 instantiation of SynthesizedDefinitions
Microsoft.CodeAnalysis (1)
Emit\CommonPEModuleBuilder.cs (1)
872return _synthesizedTypeMembers.GetOrAdd(container, _ => new SynthesizedDefinitions());
11 references to SynthesizedDefinitions
Microsoft.CodeAnalysis (11)
Emit\CommonPEModuleBuilder.cs (11)
836private readonly ConcurrentDictionary<TNamedTypeSymbol, SynthesizedDefinitions> _synthesizedTypeMembers = 837new ConcurrentDictionary<TNamedTypeSymbol, SynthesizedDefinitions>(ReferenceEqualityComparer.Instance); 851if (_synthesizedTypeMembers.TryGetValue(container, out var defs)) 869private SynthesizedDefinitions GetOrAddSynthesizedDefinitions(TNamedTypeSymbol container) 879SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 892SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 905SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 918SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 937=> _synthesizedTypeMembers.TryGetValue(container, out var defs) ? defs.Fields : null; 943=> _synthesizedTypeMembers.TryGetValue(container, out var defs) ? defs.Properties : null; 949=> _synthesizedTypeMembers.TryGetValue(container, out var defs) ? defs.Methods : null;