46 references to Get
Microsoft.CodeAnalysis.VisualBasic (46)
Binding\Binder_Expressions.vb (6)
1391
Case PropertyAccessKind.
Get
1396
WarnOnRecursiveAccess(propertyAccess, PropertyAccessKind.
Get
, diagnostics)
1397
expr = propertyAccess.SetAccessKind(PropertyAccessKind.
Get
)
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 (6)
996
If (accessKind And PropertyAccessKind.
Get
) <> 0 AndAlso (propertyAccess.AccessKind And PropertyAccessKind.
Get
) = 0 Then
2836
argument = argument.SetAccessKind(PropertyAccessKind.
Get
)
2886
WarnOnRecursiveAccess(argument, PropertyAccessKind.
Get
, diagnostics)
2887
argument = argument.SetAccessKind(PropertyAccessKind.
Get
Or PropertyAccessKind.Set)
2898
If propertyAccess IsNot Nothing AndAlso propertyAccess.AccessKind <> PropertyAccessKind.
Get
AndAlso
Binding\Binder_ObjectInitializer.vb (1)
740
If propertyAccess.AccessKind <> PropertyAccessKind.
Get
AndAlso Not propertyAccess.IsWriteable AndAlso
Binding\Binder_Query.vb (3)
460
PropertyAccessKind.
Get
,
478
PropertyAccessKind.
Get
,
500
PropertyAccessKind.
Get
,
Binding\Binder_Statements.vb (3)
1938
WarnOnRecursiveAccess(propertyAccess, PropertyAccessKind.
Get
, diagnostics)
1939
Return propertyAccess.SetAccessKind(PropertyAccessKind.
Get
)
1942
Debug.Assert(propertyAccess.AccessKind <> PropertyAccessKind.
Get
)
Binding\Binder_WithBlock.vb (2)
221
WarnOnRecursiveAccess(propertyAccess, PropertyAccessKind.
Get
, diagnostics)
222
boundExpression = propertyAccess.SetAccessKind(PropertyAccessKind.
Get
)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
242
PropertyAccessKind.
Get
,
322
PropertyAccessKind.
Get
,
BoundTree\BoundAssignmentOperator.vb (3)
60
PropertyAccessKind.
Get
,
61
If(LeftOnTheRightOpt Is Nothing, PropertyAccessKind.Set, PropertyAccessKind.Set Or PropertyAccessKind.
Get
)))
65
Debug.Assert(Left.GetAccessKind() = If(LeftOnTheRightOpt Is Nothing, PropertyAccessKind.Set, PropertyAccessKind.Set Or PropertyAccessKind.
Get
))
BoundTree\BoundExpressionExtensions.vb (5)
187
If propertyAccess.AccessKind = PropertyAccessKind.
Get
Then
322
Return memberAccess.SetAccessKind(PropertyAccessKind.
Get
Or PropertyAccessKind.Set)
326
Dim accessKind = If(propertyAccess.PropertySymbol.ReturnsByRef, PropertyAccessKind.
Get
, PropertyAccessKind.
Get
Or PropertyAccessKind.Set)
639
Debug.Assert(Not node.IsPropertyOrXmlPropertyAccess() OrElse node.GetAccessKind() = PropertyAccessKind.
Get
)
BoundTree\BoundPropertyAccess.vb (1)
85
PropertyAccessKind.
Get
,
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
595
result = DirectCast(result, BoundPropertyAccess).SetAccessKind(PropertyAccessKind.
Get
)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
43
Debug.Assert(((accessKind And PropertyAccessKind.
Get
) = 0) = (node.LeftOnTheRightOpt Is Nothing))
75
leftOnTheRight = useTwice.Second.SetAccessKind(PropertyAccessKind.
Get
)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
212
If propertyAccess.AccessKind = PropertyAccessKind.
Get
AndAlso
Lowering\LocalRewriter\LocalRewriter_Call.vb (5)
264
PropertyAccessKind.
Get
,
265
PropertyAccessKind.
Get
Or PropertyAccessKind.Set))
275
originalArgument = originalArgument.SetAccessKind(PropertyAccessKind.
Get
)
306
firstUse = useTwice.First.SetAccessKind(PropertyAccessKind.
Get
).MakeRValue()
307
secondUse = useTwice.Second.SetAccessKind(If(originalArgument.IsPropertyReturnsByRef(), PropertyAccessKind.
Get
, PropertyAccessKind.Set))
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
885
argument = useTwice.First.SetAccessKind(PropertyAccessKind.
Get
)
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.vb (1)
11
Debug.Assert(node.AccessKind = PropertyAccessKind.
Get
)
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
142
PropertyAccessKind.
Get
,
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
43
arrayValueAccess = DirectCast(arrayValueAccess, BoundPropertyAccess).SetAccessKind(PropertyAccessKind.
Get
)
Lowering\UseTwiceRewriter.vb (1)
180
Debug.Assert(Not value.IsPropertyOrXmlPropertyAccess() OrElse (value.GetAccessKind() = PropertyAccessKind.
Get
))