59 references to FieldSymbol
Microsoft.CodeAnalysis.VisualBasic (59)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1678ElseIf node.FieldSymbol.IsShared Then 1688If fieldAccess.FieldSymbol.IsShared Then
Analysis\FlowAnalysis\DataFlowPass.vb (6)
448Dim fieldsymbol = fieldAccess.FieldSymbol 465result(i) = GetOrCreateSlot(fieldAccess.FieldSymbol, result(0)) 985ReportUnassigned(fieldAccess.FieldSymbol, node, rwContext, unassignedSlot, fieldAccess) 1054unassignedSlot = GetOrCreateSlot(fieldAccess.FieldSymbol, unassignedSlot) 1126Return GetUnassignedSymbolFirstLocation(fieldAccess.FieldSymbol, fieldAccess) 1963Dim field As FieldSymbol = fieldAccess.FieldSymbol
Analysis\FlowAnalysis\ReadWriteWalker.vb (2)
127If fieldAccess.FieldSymbol.IsShared Then Return 128If fieldAccess.FieldSymbol.ContainingType.IsReferenceType Then Return
Analysis\ForLoopVerification.vb (1)
144Return DirectCast(expression, BoundFieldAccess).FieldSymbol
Binding\Binder_Attributes.vb (1)
734Return New KeyValuePair(Of String, TypedConstant)(left.FieldSymbol.Name, VisitExpression(assignment.Right, diag))
Binding\Binder_Expressions.vb (2)
1162result = New BoundFieldAccess(typeExpr.Syntax, access.ReceiverOpt, access.FieldSymbol, access.IsLValue, 1814If field.FieldSymbol.IsReadOnly Then
Binding\Binder_Lambda.vb (2)
699field = fieldAccess.FieldSymbol 750fields.Add(fieldAccess.FieldSymbol)
Binding\Binder_ObjectInitializer.vb (2)
556TryCast(assignmentOperator.Left, BoundFieldAccess)?.FieldSymbol) 753isShared = DirectCast(target, BoundFieldAccess).FieldSymbol.IsShared
BoundTree\BoundAssignmentOperator.vb (1)
95DirectCast(Left, BoundFieldAccess).FieldSymbol.AssociatedSymbol.Kind = SymbolKind.Property AndAlso
BoundTree\BoundFieldAccess.vb (3)
20Return Me.FieldSymbol 48result = Me.FieldSymbol.GetConstantValue(constantsInProgress) 50result = Me.FieldSymbol.GetConstantValue(ConstantFieldsInProgress.Empty)
CodeGen\EmitAddress.vb (6)
204If Not fieldAccess.FieldSymbol.IsShared Then 262Dim field = fieldAccess.FieldSymbol 385If fieldAccess.FieldSymbol.ContainingType.IsValueType Then 426Dim field = fieldAccess.FieldSymbol 428If fieldAccess.FieldSymbol.IsShared Then 501Dim field = fieldAccess.FieldSymbol
CodeGen\EmitExpression.vb (7)
638Dim field = fieldAccess.FieldSymbol 686Dim field As FieldSymbol = fieldAccess.FieldSymbol 733Dim field As FieldSymbol = fieldAccess.FieldSymbol 779Return fieldAccess.FieldSymbol.IsShared OrElse FieldLoadPrefersRef(fieldAccess.ReceiverOpt) 931Return DirectCast(receiver, BoundFieldAccess).FieldSymbol.IsCapturedFrame 1909If Not left.FieldSymbol.IsShared Then 2146Dim field As FieldSymbol = fieldAccess.FieldSymbol
CodeGen\EmitStatement.vb (2)
349If Not left.FieldSymbol.IsShared Then 351Dim stateMachineField = TryCast(left.FieldSymbol, StateMachineFieldSymbol)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
264Return Not DirectCast(node, BoundFieldAccess).FieldSymbol.IsShared 754Dim field As FieldSymbol = node.FieldSymbol
Generated\BoundNodes.xml.Generated.vb (3)
4199If receiverOpt IsNot Me.ReceiverOpt OrElse fieldSymbol IsNot Me.FieldSymbol OrElse isLValue <> Me.IsLValue OrElse suppressVirtualCalls <> Me.SuppressVirtualCalls OrElse constantsInProgressOpt IsNot Me.ConstantsInProgressOpt OrElse type IsNot Me.Type Then 12523Return node.Update(receiverOpt, node.FieldSymbol, node.IsLValue, node.SuppressVirtualCalls, node.ConstantsInProgressOpt, type) 13785New TreeDumperNode("fieldSymbol", node.FieldSymbol, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
393rewritten.FieldSymbol,
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (2)
290Dim evaluateSideEffectsHere = evaluateSideEffects And Not isAssignmentTarget And fieldAccess.FieldSymbol.ContainingType.IsReferenceType 298fieldAccess.FieldSymbol,
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
436Return New CapturedFieldAccessExpression(CaptureExpression(typeMap, fieldAccess.ReceiverOpt, initializers), fieldAccess.FieldSymbol)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
171Dim field As FieldSymbol = node.FieldSymbol
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
229If fieldAccess.FieldSymbol.IsCapturedFrame Then 404Dim field As FieldSymbol = node.FieldSymbol 602leftSymbol = DirectCast(assignment.Left, BoundFieldAccess).FieldSymbol
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
53Not DirectCast(nodeLeft, BoundFieldAccess).FieldSymbol.IsConstButNotMetadataConstant)
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (4)
16Dim rewrittenReceiver As BoundExpression = If(node.FieldSymbol.IsShared, Nothing, Me.VisitExpressionNode(node.ReceiverOpt)) 18If node.FieldSymbol.IsTupleField Then 19Return MakeTupleFieldAccess(node.Syntax, node.FieldSymbol, rewrittenReceiver, node.ConstantValueOpt, node.IsLValue) 22Return node.Update(rewrittenReceiver, node.FieldSymbol, node.IsLValue, node.SuppressVirtualCalls, constantsInProgressOpt:=Nothing, node.Type)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
207VisitFieldSymbol(node.FieldSymbol),
Lowering\UseTwiceRewriter.vb (1)
268Dim fieldSymbol = node.FieldSymbol
Lowering\WithExpressionRewriter.vb (1)
181Dim fieldSymbol = value.FieldSymbol
Semantics\Conversions.vb (1)
955sourceIsConstant = DirectCast(source, BoundFieldAccess).FieldSymbol.GetConstantValue(binder.ConstantFieldsInProgress) IsNot Nothing AndAlso source.IsConstant