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