6 instantiations of SynthesizedDelegateKey
Microsoft.CodeAnalysis.CSharp (3)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
477var key = new SynthesizedDelegateKey(delegateSymbol.MetadataName);
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
136var key = new SynthesizedDelegateKey(reader.GetString(def.Name));
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
678keySelector: delegateSymbol => new CodeAnalysis.Emit.SynthesizedDelegateKey(delegateSymbol.MetadataName),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Emit\EditAndContinue\SymbolMatcherTests.cs (3)
1464Assert.Contains(new SynthesizedDelegateKey("<>F{00000008}`3"), synthesizedDelegates0.Keys); 1465Assert.Contains(new SynthesizedDelegateKey("<>A{00000003}`2"), synthesizedDelegates0.Keys); 1466Assert.Contains(new SynthesizedDelegateKey("<>A{00000000,100000000}`33"), synthesizedDelegates0.Keys);
17 references to SynthesizedDelegateKey
Microsoft.CodeAnalysis (9)
Emit\EditAndContinue\SymbolMatcher.cs (3)
122private ImmutableSegmentedDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> MapAnonymousDelegates(IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates) 124var builder = ImmutableSegmentedDictionary.CreateBuilder<SynthesizedDelegateKey, SynthesizedDelegateValue>();
Emit\EditAndContinue\SynthesizedTypeMaps.cs (3)
12ImmutableSegmentedDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>? anonymousDelegates, 30public ImmutableSegmentedDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> AnonymousDelegates { get; } 31= anonymousDelegates ?? ImmutableSegmentedDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>.Empty;
Emit\SynthesizedDelegateKey.cs (3)
9internal readonly struct SynthesizedDelegateKey : IEquatable<SynthesizedDelegateKey> 19=> obj is SynthesizedDelegateKey other && Equals(other); 21public bool Equals(SynthesizedDelegateKey other)
Microsoft.CodeAnalysis.CSharp (8)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
477var key = new SynthesizedDelegateKey(delegateSymbol.MetadataName);
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (3)
120var anonymousDelegates = ImmutableSegmentedDictionary.CreateBuilder<SynthesizedDelegateKey, SynthesizedDelegateValue>(); 136var key = new SynthesizedDelegateKey(reader.GetString(def.Name)); 266internal override ImmutableArray<SynthesizedDelegateKey> GetPreviousAnonymousDelegates()
Emitter\Model\PEModuleBuilder.cs (2)
513internal virtual ImmutableArray<SynthesizedDelegateKey> GetPreviousAnonymousDelegates() 515return ImmutableArray<SynthesizedDelegateKey>.Empty;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
573foreach (var key in moduleBeingBuilt.GetPreviousAnonymousDelegates()) 672internal ImmutableSegmentedDictionary<CodeAnalysis.Emit.SynthesizedDelegateKey, CodeAnalysis.Emit.SynthesizedDelegateValue> GetAnonymousDelegates()