89 references to BoundFieldAccess
Microsoft.CodeAnalysis.VisualBasic (89)
Analysis\FlowAnalysis\AbstractFlowPass.vb (7)
730VisitFieldAccessInternal(DirectCast(node, BoundFieldAccess)) 806VisitFieldAccessInReadWriteContext(DirectCast(node, BoundFieldAccess), rwContext) 998Return IsNotCapturedExpression(DirectCast(node, BoundFieldAccess).ReceiverOpt) 1035Protected Overridable Sub VisitFieldAccessInReadWriteContext(node As BoundFieldAccess, rwContext As ReadWriteContext) 1669Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode 1674Private Function VisitFieldAccessInternal(node As BoundFieldAccess) As BoundNode 1687Protected Shared Function FieldAccessMayRequireTracking(fieldAccess As BoundFieldAccess) As Boolean
Analysis\FlowAnalysis\DataFlowPass.vb (11)
302Dim fieldAccess = DirectCast(node, BoundFieldAccess) 369Protected Overridable Sub NoteRead(fieldAccess As BoundFieldAccess) 447Dim fieldAccess = DirectCast(node, BoundFieldAccess) 981Private Sub CheckAssigned(fieldAccess As BoundFieldAccess, node As SyntaxNode, Optional rwContext As ReadWriteContext = ReadWriteContext.None) 1049Dim fieldAccess = DirectCast(node, BoundFieldAccess) 1099Private Function GetUnassignedSymbolFirstLocation(sym As Symbol, boundFieldAccess As BoundFieldAccess) As Location 1125Dim fieldAccess = DirectCast(receiver, BoundFieldAccess) 1146Optional boundFieldAccess As BoundFieldAccess = Nothing) 1783Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode 1793Protected Overrides Sub VisitFieldAccessInReadWriteContext(node As BoundFieldAccess, rwContext As ReadWriteContext) 1962Dim fieldAccess = DirectCast(expr, BoundFieldAccess)
Analysis\FlowAnalysis\DataFlowsInWalker.vb (1)
111Optional boundFieldAccess As BoundFieldAccess = Nothing)
Analysis\FlowAnalysis\DataFlowsOutWalker.vb (1)
145Optional boundFieldAccess As BoundFieldAccess = Nothing)
Analysis\FlowAnalysis\ReadWriteWalker.vb (6)
108Protected Overrides Sub NoteRead(fieldAccess As BoundFieldAccess) 115If node.Kind = BoundKind.FieldAccess Then NoteReceiverWritten(CType(node, BoundFieldAccess)) 118Private Sub NoteReceiverRead(fieldAccess As BoundFieldAccess) 122Private Sub NoteReceiverWritten(fieldAccess As BoundFieldAccess) 126Private Sub NoteReceiverReadOrWritten(fieldAccess As BoundFieldAccess, readOrWritten As HashSet(Of Symbol)) 145If receiver.Type.IsStructureType AndAlso receiverSyntax.Span.OverlapsWith(_region) Then NoteReceiverReadOrWritten(CType(receiver, BoundFieldAccess), readOrWritten)
Analysis\FlowAnalysis\UnassignedVariablesWalker.vb (1)
40Optional boundFieldAccess As BoundFieldAccess = Nothing)
Analysis\ForLoopVerification.vb (1)
144Return DirectCast(expression, BoundFieldAccess).FieldSymbol
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
162Protected Overrides Sub ReportUnassigned(symbol As Symbol, node As SyntaxNode, rwContext As ReadWriteContext, Optional slot As Integer = -1, Optional boundFieldAccess As BoundFieldAccess = Nothing)
Binding\Binder_Attributes.vb (1)
733Dim left = DirectCast(assignment.Left, BoundFieldAccess)
Binding\Binder_Expressions.vb (2)
1161Dim access = DirectCast(result, BoundFieldAccess) 1812Dim field = DirectCast(node, BoundFieldAccess)
Binding\Binder_Lambda.vb (2)
697Dim fieldAccess = DirectCast(argument, BoundFieldAccess) 749Dim fieldAccess = DirectCast(receiverOpt, BoundFieldAccess)
Binding\Binder_ObjectInitializer.vb (2)
556TryCast(assignmentOperator.Left, BoundFieldAccess)?.FieldSymbol) 753isShared = DirectCast(target, BoundFieldAccess).FieldSymbol.IsShared
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
41Dim fieldAccess As BoundFieldAccess = Nothing
BoundTree\BoundAssignmentOperator.vb (1)
95DirectCast(Left, BoundFieldAccess).FieldSymbol.AssociatedSymbol.Kind = SymbolKind.Property AndAlso
BoundTree\BoundFieldAccess.vb (1)
28Public Shadows Function MakeRValue() As BoundFieldAccess
BoundTree\BoundTreeVisitor.vb (1)
66Return VisitFieldAccess(CType(node, BoundFieldAccess), arg)
CodeGen\EmitAddress.vb (8)
83tempOpt = EmitFieldAddress(DirectCast(expression, BoundFieldAccess), addressKind) 203Dim fieldAccess = DirectCast(value, BoundFieldAccess) 226Return HasHome(DirectCast(expression, BoundFieldAccess)) 261Private Function HasHome(fieldAccess As BoundFieldAccess) As Boolean 305Return AllowedToTakeRef(DirectCast(expression, BoundFieldAccess), addressKind) 374Private Function AllowedToTakeRef(fieldAccess As BoundFieldAccess, addressKind As AddressKind) As Boolean 425Private Function EmitFieldAddress(fieldAccess As BoundFieldAccess, addressKind As AddressKind) As LocalDefinition 500Private Function EmitInstanceFieldAddress(fieldAccess As BoundFieldAccess, addressKind As AddressKind) As LocalDefinition
CodeGen\EmitExpression.vb (9)
122EmitFieldLoad(DirectCast(expression, BoundFieldAccess), used) 637Private Sub EmitFieldLoad(fieldAccess As BoundFieldAccess, used As Boolean) 683Private Sub EmitInstanceFieldLoad(fieldAccess As BoundFieldAccess, used As Boolean) 732Dim fieldAccess = DirectCast(receiver, BoundFieldAccess) 778Dim fieldAccess = DirectCast(receiver, BoundFieldAccess) 931Return DirectCast(receiver, BoundFieldAccess).FieldSymbol.IsCapturedFrame 1908Dim left = DirectCast(assignmentTarget, BoundFieldAccess) 2022EmitFieldStore(DirectCast(expression, BoundFieldAccess)) 2145Private Sub EmitFieldStore(fieldAccess As BoundFieldAccess)
CodeGen\EmitStatement.vb (1)
348Dim left = DirectCast(exceptionSource, BoundFieldAccess)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
264Return Not DirectCast(node, BoundFieldAccess).FieldSymbol.IsShared 753Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode
Generated\BoundNodes.xml.Generated.vb (7)
4198Public Function Update(receiverOpt As BoundExpression, fieldSymbol As FieldSymbol, isLValue As Boolean, suppressVirtualCalls As Boolean, constantsInProgressOpt As ConstantFieldsInProgress, type As TypeSymbol) As BoundFieldAccess 9495Return VisitFieldAccess(CType(node, BoundFieldAccess), arg) 10003Public Overridable Function VisitFieldAccess(node As BoundFieldAccess, arg As A) As R 10706Public Overridable Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode 11497Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode 12520Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode 13782Public Overrides Function VisitFieldAccess(node As BoundFieldAccess, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
380Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode 381Dim rewritten = DirectCast(MyBase.VisitFieldAccess(node), BoundFieldAccess)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
282Dim fieldAccess = DirectCast(expr, BoundFieldAccess)
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
435Dim fieldAccess = DirectCast(expression, BoundFieldAccess)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
170Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
228Dim fieldAccess = DirectCast(node, BoundFieldAccess) 402Private Function VisitFieldAccess(node As BoundFieldAccess) As BoundExpression 602leftSymbol = DirectCast(assignment.Left, BoundFieldAccess).FieldSymbol
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
53Not DirectCast(nodeLeft, BoundFieldAccess).FieldSymbol.IsConstButNotMetadataConstant) 152Dim leftFieldAccess = DirectCast(leftNode, BoundFieldAccess)
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (1)
15Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (2)
34Dim fieldAccess As BoundFieldAccess = DirectCast(receiver, BoundFieldAccess)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
205Public Overrides Function VisitFieldAccess(node As BoundFieldAccess) As BoundNode
Lowering\SyntheticBoundNodeFactory.vb (1)
189Public Function Field(receiver As BoundExpression, f As FieldSymbol, isLValue As Boolean) As BoundFieldAccess
Lowering\UseTwiceRewriter.vb (2)
124Return UseTwiceFieldAccess(containingMember, DirectCast(value, BoundFieldAccess), temporaries) 264Private Shared Function UseTwiceFieldAccess(containingMember As Symbol, node As BoundFieldAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As Result
Lowering\WithExpressionRewriter.vb (3)
178Private Function CaptureFieldAccess(value As BoundFieldAccess, state As State) As BoundExpression 215Return CaptureFieldAccess(DirectCast(value, BoundFieldAccess), state) 335expression = CaptureFieldAccess(DirectCast(value, BoundFieldAccess), state)
Semantics\Conversions.vb (1)
955sourceIsConstant = DirectCast(source, BoundFieldAccess).FieldSymbol.GetConstantValue(binder.ConstantFieldsInProgress) IsNot Nothing AndAlso source.IsConstant
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
311Dim boundBackingField As BoundFieldAccess = New BoundFieldAccess(syntax,