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