4 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)
1007
Friend Overrides ReadOnly Property
IsByRef
As Boolean
Symbols\SynthesizedSymbols\SynthesizedLocal.vb (1)
69
Friend Overrides ReadOnly Property
IsByRef
As Boolean
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\EELocalSymbol.vb (1)
105
Friend Overrides ReadOnly Property
IsByRef
As Boolean
36 references to IsByRef
Microsoft.CodeAnalysis.VisualBasic (33)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
713
If local.LocalSymbol.
IsByRef
Then
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
107
If skipByRefLocals AndAlso local.
IsByRef
Then
BoundTree\BoundReferenceAssignment.vb (1)
14
Debug.Assert(ByRefLocal.LocalSymbol.
IsByRef
AndAlso LValue.IsLValue AndAlso TypeSymbol.Equals(Type, LValue.Type, TypeCompareKind.ConsiderEverything))
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)
439
If used AndAlso local.LocalSymbol.
IsByRef
Then
767
Return DirectCast(receiver, BoundLocal).LocalSymbol.
IsByRef
1754
Return Not DirectCast(left, BoundLocal).LocalSymbol.
IsByRef
1771
If boundLocal.LocalSymbol.
IsByRef
Then
1882
Debug.Assert(boundLocal.LocalSymbol.
IsByRef
)
1904
If boundLocal.LocalSymbol.
IsByRef
Then
CodeGen\EmitStatement.vb (4)
330
Debug.Assert(Not DirectCast(exceptionSource, BoundLocal).LocalSymbol.
IsByRef
)
1054
If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.
IsByRef
Then
1068
If selectExpression.Kind = BoundKind.Local AndAlso Not DirectCast(selectExpression, BoundLocal).LocalSymbol.
IsByRef
Then
1281
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
1209
Debug.Assert(Not local.
IsByRef
, "can't tke a ref of a ref")
1259
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)
342
Debug.Assert(Not DirectCast(expr, BoundLocal).LocalSymbol.
IsByRef
)
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
395
Debug.Assert(local.
IsByRef
)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (2)
452
If asVariable.
IsByRef
Then
453
Throw ExceptionUtilities.UnexpectedValue(asVariable.
IsByRef
)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
25
Return DirectCast(receiver, BoundLocal).LocalSymbol.
IsByRef
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
104
If operand.Kind = BoundKind.Local AndAlso Not DirectCast(operand, BoundLocal).LocalSymbol.
IsByRef
Then
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
109
If Not _local.
IsByRef
AndAlso LocalOrFieldNeedsToBeCleanedUp(localType) Then
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
258
If local.
IsByRef
Then
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
276
If local.
IsByRef
Then
Lowering\SyntheticBoundNodeFactory.vb (1)
304
Debug.Assert(byRefLocal.
IsByRef
)
Symbols\Source\LocalSymbol.vb (1)
1009
Return _originalVariable.
IsByRef
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenRefReturnTests.vb (1)
47
Assert.False(symbol.
IsByRef
)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (2)
EEAssemblyBuilder.vb (1)
110
If(local.
IsByRef
, LocalSlotConstraints.ByRef, LocalSlotConstraints.None)
Symbols\EELocalSymbolBase.vb (1)
19
Return New EELocalSymbol(method, local.Locations, local.Name, -1, local.DeclarationKind, type, local.
IsByRef
, local.IsPinned, local.CanScheduleToStack)