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