31 references to AccessKind
Microsoft.CodeAnalysis.VisualBasic (31)
Binding\Binder_Expressions.vb (7)
1151
result = New BoundPropertyAccess(typeExpr.Syntax, access.PropertySymbol, access.PropertyGroupOpt, access.
AccessKind
,
1266
Select Case propertyAccess.
AccessKind
1390
Select Case propertyAccess.
AccessKind
1400
Throw ExceptionUtilities.UnexpectedValue(propertyAccess.
AccessKind
)
1757
Debug.Assert(propertyAccess.
AccessKind
<> PropertyAccessKind.Get)
1758
Return propertyAccess.
AccessKind
<> PropertyAccessKind.Get AndAlso
4822
Debug.Assert(DirectCast(isCompleted, BoundPropertyAccess).
AccessKind
= PropertyAccessKind.Get)
Binding\Binder_Invocation.vb (3)
996
If (accessKind And PropertyAccessKind.Get) <> 0 AndAlso (propertyAccess.
AccessKind
And PropertyAccessKind.Get) = 0 Then
1000
If (accessKind And PropertyAccessKind.Set) <> 0 AndAlso (propertyAccess.
AccessKind
And PropertyAccessKind.Set) = 0 Then
2898
If propertyAccess IsNot Nothing AndAlso propertyAccess.
AccessKind
<> PropertyAccessKind.Get AndAlso
Binding\Binder_ObjectInitializer.vb (3)
737
Debug.Assert(propertyAccess.
AccessKind
= PropertyAccessKind.Unknown)
740
If propertyAccess.
AccessKind
<> PropertyAccessKind.Get AndAlso Not propertyAccess.IsWriteable AndAlso
743
propertyAccess = propertyAccess.Update(propertyAccess.PropertySymbol, propertyAccess.PropertyGroupOpt, propertyAccess.
AccessKind
, isWriteable:=True,
Binding\Binder_Statements.vb (1)
1942
Debug.Assert(propertyAccess.
AccessKind
<> PropertyAccessKind.Get)
BoundTree\BoundAssignmentOperator.vb (1)
59
Debug.Assert(propertyAccess.
AccessKind
= If(DirectCast(Left, BoundPropertyAccess).PropertySymbol.ReturnsByRef,
BoundTree\BoundExpressionExtensions.vb (2)
187
If propertyAccess.
AccessKind
= PropertyAccessKind.Get Then
251
Return DirectCast(node, BoundPropertyAccess).
AccessKind
BoundTree\BoundPropertyAccess.vb (4)
47
Me.
AccessKind
= PropertyAccessKind.Unknown OrElse
48
Me.
AccessKind
= newAccessKind)
69
Dim expectedType = GetTypeFromAccessKind(Me.PropertySymbol, Me.
AccessKind
)
80
Debug.Assert(Me.
AccessKind
<> PropertyAccessKind.Set)
Generated\BoundNodes.xml.Generated.vb (3)
4296
If 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
12531
Return node.Update(node.PropertySymbol, propertyGroupOpt, node.
AccessKind
, node.IsWriteable, node.IsLValue, receiverOpt, arguments, node.DefaultArguments, type)
13797
New TreeDumperNode("accessKind", node.
AccessKind
, Nothing),
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
605
Debug.Assert(DirectCast(assignment.Left, BoundPropertyAccess).
AccessKind
= PropertyAccessKind.Set)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
207
Debug.Assert(setNode.
AccessKind
= PropertyAccessKind.Set)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
212
If propertyAccess.
AccessKind
= PropertyAccessKind.Get AndAlso
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.vb (1)
11
Debug.Assert(node.
AccessKind
= PropertyAccessKind.Get)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
124
node.
AccessKind
,
Lowering\UseTwiceRewriter.vb (2)
395
node.
AccessKind
,
406
node.
AccessKind
,