3 overrides of IsByRef
Microsoft.CodeAnalysis.VisualBasic (3)
Analysis\FlowAnalysis\DataFlowPass.Symbols.vb (1)
88
Friend Overrides ReadOnly Property
IsByRef
As Boolean
Symbols\Source\LocalSymbol.vb (1)
1004
Friend Overrides ReadOnly Property
IsByRef
As Boolean
Symbols\SynthesizedSymbols\SynthesizedLocal.vb (1)
69
Friend Overrides ReadOnly Property
IsByRef
As Boolean
32 references to IsByRef
Microsoft.CodeAnalysis.VisualBasic (32)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
722
If local.LocalSymbol.
IsByRef
Then
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
107
If skipByRefLocals AndAlso local.
IsByRef
Then
CodeGen\EmitAddress.vb (3)
57
Debug.Assert(boundLocal.LocalSymbol.
IsByRef
) ' only allow byref locals in this context
195
If Not local.LocalSymbol.
IsByRef
Then
239
Return Not IsStackLocal(local) OrElse local.
IsByRef
CodeGen\EmitExpression.vb (6)
465
If used AndAlso local.LocalSymbol.
IsByRef
Then
793
Return DirectCast(receiver, BoundLocal).LocalSymbol.
IsByRef
1898
Return Not DirectCast(left, BoundLocal).LocalSymbol.
IsByRef
1915
If boundLocal.LocalSymbol.
IsByRef
Then
2026
Debug.Assert(boundLocal.LocalSymbol.
IsByRef
)
2048
If boundLocal.LocalSymbol.
IsByRef
Then
CodeGen\EmitStatement.vb (4)
330
Debug.Assert(Not DirectCast(exceptionSource, BoundLocal).LocalSymbol.
IsByRef
)
1055
If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.
IsByRef
Then
1069
If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.
IsByRef
Then
1282
Dim constraints = If(local.
IsByRef
, LocalSlotConstraints.ByRef, LocalSlotConstraints.None) Or
CodeGen\Optimizer\StackScheduler.Analyzer.vb (4)
490
If node.LocalSymbol.
IsByRef
Then
627
Return DirectCast(node, BoundLocal).LocalSymbol.
IsByRef
1207
Debug.Assert(Not local.
IsByRef
, "can't tke a ref of a ref")
1257
Return top.context = If(Not local.
IsByRef
, ExprContext.Value, ExprContext.Address) AndAlso
CodeGen\Optimizer\StackScheduler.Rewriter.vb (2)
122
Return New BoundDup(node.Syntax, node.LocalSymbol.
IsByRef
, node.Type)
186
Dim isIndirectLocalStore = left.LocalSymbol.
IsByRef
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
368
Debug.Assert(Not DirectCast(expr, BoundLocal).LocalSymbol.
IsByRef
)
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
395
Debug.Assert(local.
IsByRef
)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (2)
451
If asVariable.
IsByRef
Then
452
Throw ExceptionUtilities.UnexpectedValue(asVariable.
IsByRef
)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
25
Return DirectCast(receiver, BoundLocal).LocalSymbol.
IsByRef
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
100
If operand.Kind = BoundKind.Local AndAlso Not DirectCast(operand, BoundLocal).LocalSymbol.
IsByRef
Then
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
110
If Not _local.
IsByRef
AndAlso LocalOrFieldNeedsToBeCleanedUp(localType) Then
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
259
If local.
IsByRef
Then
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
278
If local.
IsByRef
Then
Lowering\SyntheticBoundNodeFactory.vb (1)
308
Debug.Assert(byRefLocal.
IsByRef
)
Symbols\Source\LocalSymbol.vb (1)
1006
Return _originalVariable.
IsByRef