1 instantiation of SynthesizedDefinitions
Microsoft.CodeAnalysis (1)
Emit\CommonPEModuleBuilder.cs (1)
872
return _synthesizedTypeMembers.GetOrAdd(container, _ => new
SynthesizedDefinitions
());
11 references to SynthesizedDefinitions
Microsoft.CodeAnalysis (11)
Emit\CommonPEModuleBuilder.cs (11)
836
private readonly ConcurrentDictionary<TNamedTypeSymbol,
SynthesizedDefinitions
> _synthesizedTypeMembers =
837
new ConcurrentDictionary<TNamedTypeSymbol,
SynthesizedDefinitions
>(ReferenceEqualityComparer.Instance);
851
if (_synthesizedTypeMembers.TryGetValue(container, out
var
defs))
869
private
SynthesizedDefinitions
GetOrAddSynthesizedDefinitions(TNamedTypeSymbol container)
879
SynthesizedDefinitions
defs = GetOrAddSynthesizedDefinitions(container);
892
SynthesizedDefinitions
defs = GetOrAddSynthesizedDefinitions(container);
905
SynthesizedDefinitions
defs = GetOrAddSynthesizedDefinitions(container);
918
SynthesizedDefinitions
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;