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