22 references to Proxies
Microsoft.CodeAnalysis.VisualBasic (22)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
326
If Not Me.
Proxies
.ContainsKey(local) Then
357
Dim capturedLocal As CapturedSymbolOrExpression = Me.
Proxies
(local)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
372
Debug.Assert(Me.
Proxies
.ContainsKey(DirectCast(expr, BoundParameter).ParameterSymbol))
Lowering\LambdaRewriter\LambdaRewriter.vb (9)
251
Proxies
.Add(captured, proxy)
402
If
Proxies
.TryGetValue(result, proxyField) Then
548
Proxies
.TryGetValue(_innermostFramePointer, oldInnermostFrameProxy)
573
Proxies
(_innermostFramePointer) = capturedFrame
622
Proxies
(_innermostFramePointer) = oldInnermostFrameProxy
624
Proxies
.Remove(_innermostFramePointer)
643
If
Proxies
.TryGetValue(originalSymbol, proxy) AndAlso Not _analysis.declaredInsideExpressionLambda.Contains(originalSymbol) Then
815
Debug.Assert(Me.
Proxies
.ContainsKey(node.LocalOpt), "original local should be proxied")
826
Debug.Assert(Not Me.
Proxies
.ContainsKey(origLocal), "captured local should not need rewriting")
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (5)
89
If
Proxies
.TryGetValue(localSymbol, proxy) Then
166
If
Proxies
.TryGetValue(node.ParameterSymbol, proxy) Then
189
If
Proxies
.TryGetValue(local, proxy) Then
352
If Me.PreserveOriginalLocals OrElse Not Me.
Proxies
.ContainsKey(v) Then
465
If Not Me.
Proxies
.ContainsKey(v) Then
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (5)
106
Proxies
.Add(p.Key, p.Value)
271
If
Proxies
.TryGetValue(local, proxy) Then
405
Return Me.MaterializeProxy(node, Me.
Proxies
(Me.TopLevelMethod.MeParameter))
409
Return Me.MaterializeProxy(node, Me.
Proxies
(Me.TopLevelMethod.MeParameter))
413
Return Me.MaterializeProxy(node, Me.
Proxies
(Me.TopLevelMethod.MeParameter))