53 references to PropertySymbol
Microsoft.CodeAnalysis.VisualBasic (53)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1723Debug.Assert(node.PropertySymbol.IsShared)
Analysis\ForLoopVerification.vb (1)
136Return DirectCast(expression, BoundPropertyAccess).PropertySymbol
Binding\Binder_Attributes.vb (1)
738Return New KeyValuePair(Of String, TypedConstant)(left.PropertySymbol.Name, VisitExpression(assignment.Right, diag))
Binding\Binder_Expressions.vb (6)
1151result = New BoundPropertyAccess(typeExpr.Syntax, access.PropertySymbol, access.PropertyGroupOpt, access.AccessKind, 1274Dim propertySymbol = propertyAccess.PropertySymbol 1384Dim getMethod = propertyAccess.PropertySymbol.GetMostDerivedGetMethod() 1395Debug.Assert(propertyAccess.PropertySymbol.IsReadable) 1754Dim [property] = propertyAccess.PropertySymbol 4823Dim prop As PropertySymbol = DirectCast(isCompleted, BoundPropertyAccess).PropertySymbol
Binding\Binder_Invocation.vb (2)
988Dim [property] As PropertySymbol = propertyAccess.PropertySymbol 2899propertyAccess.PropertySymbol.SetMethod?.IsInitOnly Then
Binding\Binder_Lambda.vb (1)
683Dim propSym = TryCast(propAccess.PropertySymbol, SourcePropertySymbol)
Binding\Binder_ObjectInitializer.vb (4)
555DirectCast(TryCast(assignmentOperator.Left, BoundPropertyAccess)?.PropertySymbol, Symbol), 741propertyAccess.PropertySymbol.IsWritable(propertyAccess.ReceiverOpt, Me, isKnownTargetOfObjectMemberInitializer:=True) Then 743propertyAccess = propertyAccess.Update(propertyAccess.PropertySymbol, propertyAccess.PropertyGroupOpt, propertyAccess.AccessKind, isWriteable:=True, 755Dim [property] = propertyAccess.PropertySymbol
Binding\Binder_Statements.vb (1)
1934Dim propertySymbol As PropertySymbol = propertyAccess.PropertySymbol
Binding\MemberSemanticModel.vb (3)
768current = currentProperty.PropertySymbol 2287Debug.Assert(receiver Is Nothing OrElse Not node.PropertySymbol.IsShared OrElse receiver.HasErrors) 2297ElseIf node.PropertySymbol.IsShared Then
BoundTree\BoundAssignmentOperator.vb (1)
59Debug.Assert(propertyAccess.AccessKind = If(DirectCast(Left, BoundPropertyAccess).PropertySymbol.ReturnsByRef,
BoundTree\BoundExpressionExtensions.vb (5)
134DirectCast(node, BoundPropertyAccess).PropertySymbol.ReturnsByRef 154Return DirectCast(node, BoundPropertyAccess).PropertySymbol.GetTypeFromSetMethod() 167Return DirectCast(node, BoundPropertyAccess).PropertySymbol 288Debug.Assert(Not propertyAccess.PropertySymbol.ReturnsByRef OrElse (newAccessKind And PropertyAccessKind.Set) = 0) 326Dim accessKind = If(propertyAccess.PropertySymbol.ReturnsByRef, PropertyAccessKind.Get, PropertyAccessKind.Get Or PropertyAccessKind.Set)
BoundTree\BoundPropertyAccess.vb (6)
36Return Me.PropertySymbol 50Not Me.PropertySymbol.ReturnsByRef) 53Me.PropertySymbol, 61type:=GetTypeFromAccessKind(Me.PropertySymbol, newAccessKind)) 69Dim expectedType = GetTypeFromAccessKind(Me.PropertySymbol, Me.AccessKind) 83PropertySymbol,
Compilation\SemanticModel.vb (1)
1359symbolsBuilder.Add(parentPropAccess.PropertySymbol)
Generated\BoundNodes.xml.Generated.vb (3)
4296If propertySymbol IsNot Me.PropertySymbol OrElse propertyGroupOpt IsNot Me.PropertyGroupOpt OrElse accessKind <> Me.AccessKind OrElse isWriteable <> Me.IsWriteable OrElse isLValue <> Me.IsLValue OrElse receiverOpt IsNot Me.ReceiverOpt OrElse arguments <> Me.Arguments OrElse defaultArguments <> Me.DefaultArguments OrElse type IsNot Me.Type Then 12531Return node.Update(node.PropertySymbol, propertyGroupOpt, node.AccessKind, node.IsWriteable, node.IsLValue, receiverOpt, arguments, node.DefaultArguments, type) 13795New TreeDumperNode("propertySymbol", node.PropertySymbol, Nothing),
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (2)
271Dim [property] As PropertySymbol = node.PropertySymbol 283If IsInExpressionLambda AndAlso node.PropertySymbol.ReturnsByRef Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
431Dim [property] As PropertySymbol = node.PropertySymbol 606leftSymbol = DirectCast(assignment.Left, BoundPropertyAccess).PropertySymbol
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (4)
128Return Not propertyAccess.PropertySymbol.ReturnsByRef 192Dim sourceProperty As SourcePropertySymbol = DirectCast(node.PropertySymbol, SourcePropertySymbol) 193Dim propertyIsStatic As Boolean = node.PropertySymbol.IsShared 209Dim [property] = setNode.PropertySymbol
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (2)
213propertyAccess.PropertySymbol.IsMyGroupCollectionProperty Then 216propertyAccess.PropertySymbol.AssociatedField,
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.vb (3)
22If (node.PropertySymbol Is GetSpecialTypeMember(SpecialMember.System_Array__Length) OrElse 23node.PropertySymbol Is GetSpecialTypeMember(SpecialMember.System_Array__LongLength)) Then 30Dim [property] = node.PropertySymbol
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
113Dim rewrittenPropertySymbol = VisitPropertySymbol(node.PropertySymbol)
Lowering\UseTwiceRewriter.vb (2)
305Dim propertySymbol = node.PropertySymbol 313ElseIf node.PropertySymbol.IsShared Then
Lowering\WithExpressionRewriter.vb (1)
338If Not state.IsDraftRewrite OrElse Not DirectCast(value, BoundPropertyAccess).PropertySymbol.ReturnsByRef Then