1 instantiation of SynthesizedDefinitions
Microsoft.CodeAnalysis (1)
Emit\CommonPEModuleBuilder.cs (1)
904
return _synthesizedTypeMembers.GetOrAdd(container, _ => new
SynthesizedDefinitions
());
11 references to SynthesizedDefinitions
Microsoft.CodeAnalysis (11)
Emit\CommonPEModuleBuilder.cs (11)
868
private readonly ConcurrentDictionary<TNamedTypeSymbol,
SynthesizedDefinitions
> _synthesizedTypeMembers =
869
new ConcurrentDictionary<TNamedTypeSymbol,
SynthesizedDefinitions
>(ReferenceEqualityComparer.Instance);
883
if (_synthesizedTypeMembers.TryGetValue(container, out
var
defs))
901
private
SynthesizedDefinitions
GetOrAddSynthesizedDefinitions(TNamedTypeSymbol container)
911
SynthesizedDefinitions
defs = GetOrAddSynthesizedDefinitions(container);
924
SynthesizedDefinitions
defs = GetOrAddSynthesizedDefinitions(container);
937
SynthesizedDefinitions
defs = GetOrAddSynthesizedDefinitions(container);
950
SynthesizedDefinitions
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;