27 references to Set
Microsoft.CodeAnalysis.VisualBasic (27)
Binding\Binder_Attributes.vb (1)
535
lValue = New BoundPropertyAccess(identifierName, propertySym, Nothing, PropertyAccessKind.
Set
, Not isReadOnly, Nothing, ImmutableArray(Of BoundExpression).Empty, defaultArguments:=BitVector.Null, hasErrors)
Binding\Binder_Expressions.vb (1)
1267
Case PropertyAccessKind.
Set
Binding\Binder_Initializers.vb (1)
364
accessKind:=PropertyAccessKind.
Set
,
Binding\Binder_Invocation.vb (3)
1000
If (accessKind And PropertyAccessKind.
Set
) <> 0 AndAlso (propertyAccess.AccessKind And PropertyAccessKind.
Set
) = 0 Then
2887
argument = argument.SetAccessKind(PropertyAccessKind.Get Or PropertyAccessKind.
Set
)
Binding\Binder_Statements.vb (2)
1988
WarnOnRecursiveAccess(propertyAccess, PropertyAccessKind.
Set
, diagnostics)
1989
Return propertyAccess.SetAccessKind(PropertyAccessKind.
Set
)
BoundTree\BoundAssignmentOperator.vb (4)
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 (3)
288
Debug.Assert(Not propertyAccess.PropertySymbol.ReturnsByRef OrElse (newAccessKind And PropertyAccessKind.
Set
) = 0)
322
Return memberAccess.SetAccessKind(PropertyAccessKind.Get Or PropertyAccessKind.
Set
)
326
Dim accessKind = If(propertyAccess.PropertySymbol.ReturnsByRef, PropertyAccessKind.Get, PropertyAccessKind.Get Or PropertyAccessKind.
Set
)
BoundTree\BoundPropertyAccess.vb (3)
49
Debug.Assert((newAccessKind And PropertyAccessKind.
Set
) = 0 OrElse
80
Debug.Assert(Me.AccessKind <> PropertyAccessKind.
Set
)
113
Return If((accessKind And PropertyAccessKind.
Set
) <> 0,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
605
Debug.Assert(DirectCast(assignment.Left, BoundPropertyAccess).AccessKind = PropertyAccessKind.
Set
)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (3)
42
Debug.Assert((accessKind And PropertyAccessKind.
Set
) <> 0)
73
setNode = useTwice.First.SetAccessKind(PropertyAccessKind.
Set
)
207
Debug.Assert(setNode.AccessKind = PropertyAccessKind.
Set
)
Lowering\LocalRewriter\LocalRewriter_Call.vb (2)
265
PropertyAccessKind.Get Or PropertyAccessKind.
Set
))
307
secondUse = useTwice.Second.SetAccessKind(If(originalArgument.IsPropertyReturnsByRef(), PropertyAccessKind.Get, PropertyAccessKind.
Set
))
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
111
accessKind:=PropertyAccessKind.
Set
,
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
886
writeTarget = useTwice.Second.SetAccessKind(PropertyAccessKind.
Set
)
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
77
assignmentTarget = DirectCast(assignmentTarget, BoundPropertyAccess).SetAccessKind(PropertyAccessKind.
Set
)