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