6 instantiations of AnonymousTypeValue
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\SymbolMatcher.cs (2)
116
builder.Add(key, new
AnonymousTypeValue
(value.Name, value.UniqueIndex, type));
143
builder.Add(key, values.SelectAsArray(value => new
AnonymousTypeValue
(
Microsoft.CodeAnalysis.CSharp (4)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (2)
155
var value = new
AnonymousTypeValue
(name, index, type.GetCciAdapter());
172
var value = new
AnonymousTypeValue
(name, index, type.GetCciAdapter());
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
693
elementSelector: template => new
AnonymousTypeValue
(template.NameAndIndex.Name, template.NameAndIndex.Index, template.GetCciAdapter()));
708
elementSelector: template => new
AnonymousTypeValue
(template.NameAndIndex.Name, template.NameAndIndex.Index, template.GetCciAdapter()))
29 references to AnonymousTypeValue
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\EmitBaseline.cs (1)
583
foreach (
var
typeValue in typeValues)
Emit\EditAndContinue\SymbolMatcher.cs (6)
108
private ImmutableSegmentedDictionary<AnonymousTypeKey,
AnonymousTypeValue
> MapAnonymousTypes(IReadOnlyDictionary<AnonymousTypeKey,
AnonymousTypeValue
> anonymousTypeMap)
110
var builder = ImmutableSegmentedDictionary.CreateBuilder<AnonymousTypeKey,
AnonymousTypeValue
>();
136
private ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>> MapAnonymousDelegatesWithIndexedNames(
137
IReadOnlyDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>> anonymousDelegates)
139
var builder = ImmutableSegmentedDictionary.CreateBuilder<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>>();
Emit\EditAndContinue\SynthesizedTypeMaps.cs (6)
11
ImmutableSegmentedDictionary<AnonymousTypeKey,
AnonymousTypeValue
>? anonymousTypeMap,
13
ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>>? anonymousDelegatesWithIndexedNames)
23
public ImmutableSegmentedDictionary<AnonymousTypeKey,
AnonymousTypeValue
> AnonymousTypes { get; }
24
= anonymousTypeMap ?? ImmutableSegmentedDictionary<AnonymousTypeKey,
AnonymousTypeValue
>.Empty;
37
public ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>> AnonymousDelegatesWithIndexedNames { get; }
38
= anonymousDelegatesWithIndexedNames ?? ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>>.Empty;
Microsoft.CodeAnalysis.CSharp (15)
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
51
internal bool TryGetAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out
AnonymousTypeValue
typeValue)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (5)
93
internal bool TryGetAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out
AnonymousTypeValue
typeValue)
341
TryGetAnonymousTypeValue(typeTemplate, out
var
value);
349
TryGetAnonymousTypeValue(delegateTemplate, out
var
value);
481
internal bool TryGetAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out
AnonymousTypeValue
otherType)
498
foreach (
var
otherTypeCandidate in otherTypeCandidates)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (5)
118
var anonymousTypes = ImmutableSegmentedDictionary.CreateBuilder<AnonymousTypeKey,
AnonymousTypeValue
>();
119
var anonymousDelegatesWithIndexedNames = PooledDictionary<AnonymousDelegateWithIndexedNamePartialKey, ArrayBuilder<
AnonymousTypeValue
>>.GetInstance();
155
var
value = new AnonymousTypeValue(name, index, type.GetCciAdapter());
172
var
value = new AnonymousTypeValue(name, index, type.GetCciAdapter());
277
internal override bool TryGetPreviousAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out
AnonymousTypeValue
typeValue)
Emitter\Model\PEModuleBuilder.cs (1)
528
internal virtual bool TryGetPreviousAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out
AnonymousTypeValue
typeValue)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
538
if (moduleBeingBuilt.TryGetPreviousAnonymousTypeValue(template, out
var
typeValue))
685
internal ImmutableSegmentedDictionary<AnonymousTypeKey,
AnonymousTypeValue
> GetAnonymousTypeMap()
699
internal ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>> GetAnonymousDelegatesWithIndexedNames()
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\SymbolMatcherTests.cs (1)
49
private static IEnumerable<string> Inspect(ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<
AnonymousTypeValue
>> anonymousDelegatesWithIndexedNames)