6 instantiations of SynthesizedDelegateKey
Microsoft.CodeAnalysis.CSharp (3)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
690var key = new SynthesizedDelegateKey(delegateSymbol.MetadataName);
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
218var key = new SynthesizedDelegateKey(metadataName);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
673var key = new CodeAnalysis.Emit.SynthesizedDelegateKey(delegateSymbol.MetadataName);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\EditAndContinue\SymbolMatcherTests.cs (3)
1763Assert.Contains(new SynthesizedDelegateKey("<>F{00000004}`3"), synthesizedDelegates0); 1764Assert.Contains(new SynthesizedDelegateKey("<>A{00000003}`2"), synthesizedDelegates0); 1765Assert.Contains(new SynthesizedDelegateKey("<>A{00000000,00000001}`33"), synthesizedDelegates0);
32 references to SynthesizedDelegateKey
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\EmitBaseline.cs (6)
76public readonly IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> AnonymousDelegates; 94IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates, 339private readonly IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>? _anonymousDelegates; 370IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>? anonymousDelegates, 475IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates, 545internal IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> AnonymousDelegates
Emit\EditAndContinue\IPEDeltaAssemblyBuilder.cs (1)
13IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> GetAnonymousDelegates();
Emit\EditAndContinue\SymbolMatcher.cs (3)
120private IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> MapAnonymousDelegates(IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates) 122var result = new Dictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>();
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 (16)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (5)
30IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates, 45IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates, 285private readonly IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> _anonymousDelegates; 313IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> anonymousDelegates, 690var key = new SynthesizedDelegateKey(delegateSymbol.MetadataName);
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (5)
197internal static IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> GetAnonymousDelegateMapFromMetadata(MetadataReader reader, MetadataDecoder metadataDecoder) 199var result = new Dictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>(); 218var key = new SynthesizedDelegateKey(metadataName); 268public IReadOnlyDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue> GetAnonymousDelegates() 320internal override ImmutableArray<SynthesizedDelegateKey> GetPreviousAnonymousDelegates()
Emitter\Model\PEModuleBuilder.cs (2)
506internal virtual ImmutableArray<SynthesizedDelegateKey> GetPreviousAnonymousDelegates() 508return ImmutableArray<SynthesizedDelegateKey>.Empty;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (4)
567foreach (var key in moduleBeingBuilt.GetPreviousAnonymousDelegates()) 666internal IReadOnlyDictionary<CodeAnalysis.Emit.SynthesizedDelegateKey, CodeAnalysis.Emit.SynthesizedDelegateValue> GetAnonymousDelegates() 668var result = new Dictionary<CodeAnalysis.Emit.SynthesizedDelegateKey, CodeAnalysis.Emit.SynthesizedDelegateValue>(); 673var key = new CodeAnalysis.Emit.SynthesizedDelegateKey(delegateSymbol.MetadataName);
Microsoft.CodeAnalysis.VisualBasic (3)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (3)
120Dim anonymousDelegates = SpecializedCollections.EmptyReadOnlyDictionary(Of SynthesizedDelegateKey, SynthesizedDelegateValue) 240Friend Overloads Function GetAnonymousDelegates() As IReadOnlyDictionary(Of SynthesizedDelegateKey, SynthesizedDelegateValue) Implements IPEDeltaAssemblyBuilder.GetAnonymousDelegates 242Return SpecializedCollections.EmptyReadOnlyDictionary(Of SynthesizedDelegateKey, SynthesizedDelegateValue)