1 instantiation of SynthesizedDefinitions
Microsoft.CodeAnalysis (1)
Emit\CommonPEModuleBuilder.cs (1)
904return _synthesizedTypeMembers.GetOrAdd(container, _ => new SynthesizedDefinitions());
11 references to SynthesizedDefinitions
Microsoft.CodeAnalysis (11)
Emit\CommonPEModuleBuilder.cs (11)
868private readonly ConcurrentDictionary<TNamedTypeSymbol, SynthesizedDefinitions> _synthesizedTypeMembers = 869new ConcurrentDictionary<TNamedTypeSymbol, SynthesizedDefinitions>(ReferenceEqualityComparer.Instance); 883if (_synthesizedTypeMembers.TryGetValue(container, out var defs)) 901private SynthesizedDefinitions GetOrAddSynthesizedDefinitions(TNamedTypeSymbol container) 911SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 924SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 937SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 950SynthesizedDefinitions defs = GetOrAddSynthesizedDefinitions(container); 969=> _synthesizedTypeMembers.TryGetValue(container, out var defs) ? defs.Fields : null; 975=> _synthesizedTypeMembers.TryGetValue(container, out var defs) ? defs.Properties : null; 981=> _synthesizedTypeMembers.TryGetValue(container, out var defs) ? defs.Methods : null;