3 writes to TypeMap
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Synthesized\SynthesizedContainer.cs (3)
32
TypeMap
= TypeMap.Empty;
37
TypeMap
= TypeMap.Empty.WithConcatAlphaRename(containingMethod, this, out _typeParameters, out _constructedFromTypeParameters);
49
TypeMap
= typeMap;
10 references to TypeMap
Microsoft.CodeAnalysis.CSharp (10)
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
34
_constructedSuccessfully = AsyncMethodBuilderMemberCollection.TryCreate(F, method, this.stateMachineType.
TypeMap
, out _asyncMethodBuilderMemberCollection);
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
35
var elementType =
TypeMap
.SubstituteType(asyncMethod.IteratorElementTypeWithAnnotations).Type;
Lowering\ClosureConversion\ClosureConversion.cs (1)
1694
var cacheVariableType = containerAsFrame.
TypeMap
.SubstituteType(node.Type).Type;
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
117
return frame.
TypeMap
.SubstituteType(((object)local != null ? local.TypeWithAnnotations : ((ParameterSymbol)variable).TypeWithAnnotations).Type).Type;
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
60
typeMap = lambdaFrame.
TypeMap
.WithConcatAlphaRename(
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
29
this.ElementType =
TypeMap
.SubstituteType(elementType);
Lowering\LocalRewriter\DelegateCacheContainer.cs (1)
69
var fieldType = TypeParameters.IsEmpty ? delegateType :
TypeMap
.SubstituteType(delegateType).Type;
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
638
var methodToContainerTypeParametersMap = containerDef.
TypeMap
;
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
183
get { return ((SynthesizedContainer)F.CurrentType).
TypeMap
; }
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
145
var typeMap = stateMachineType.
TypeMap
;