30 references to IsNothing
Microsoft.CodeAnalysis.VisualBasic (30)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1433
If node.TestExpression.IsConstant AndAlso node.TestExpression.ConstantValueOpt.
IsNothing
Then
1449
If node.Receiver.ConstantValueOpt.
IsNothing
Then
Binding\Binder_Invocation.vb (1)
3245
Debug.Assert(defaultConstantValue.
IsNothing
)
Binding\Binder_Utils.vb (2)
1434
If operandType.IsReferenceType AndAlso nestedConstValue.
IsNothing
Then
1455
If Not nestedConstValue.
IsNothing
Then
BoundTree\BoundBinaryConditionalExpression.vb (1)
29
(TestExpression.IsConstant AndAlso Not TestExpression.ConstantValueOpt.
IsNothing
) OrElse
BoundTree\BoundExpressionExtensions.vb (6)
42
Return constValue IsNot Nothing AndAlso constValue.
IsNothing
49
Return constValue IsNot Nothing AndAlso constValue.
IsNothing
54
Return constValue IsNot Nothing AndAlso constValue.
IsNothing
458
If constantValue IsNot Nothing AndAlso constantValue.
IsNothing
Then
473
If node.Value.
IsNothing
Then
511
constantValue IsNot Nothing AndAlso constantValue.
IsNothing
) Then
BoundTree\BoundLocalDeclaration.vb (1)
44
InitializerOpt.IsConstant AndAlso InitializerOpt.ConstantValueOpt.
IsNothing
))
CodeGen\EmitExpression.vb (1)
882
Return Not constVal.
IsNothing
CodeGen\EmitStatement.vb (1)
678
constExprValue.
IsNothing
)
Compilation\VisualBasicCompilation.vb (2)
1901
If sourceConstantValue IsNot Nothing AndAlso sourceConstantValue.
IsNothing
AndAlso destination.IsReferenceType Then
1911
If result.IsReference AndAlso sourceConstantValue IsNot Nothing AndAlso sourceConstantValue.
IsNothing
Then
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
358
Debug.Assert(nodeToCheck.ConstantValueOpt.
IsNothing
)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
89
If rewrittenReceiver.ConstantValueOpt.
IsNothing
Then
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (2)
194
If testExpr.ConstantValueOpt.
IsNothing
Then
330
node.Condition.ConstantValueOpt.
IsNothing
OrElse
Semantics\Conversions.vb (2)
753
Dim str As String = If(sourceValue.
IsNothing
, Nothing, sourceValue.StringValue)
888
If sourceValue Is Nothing OrElse Not sourceValue.
IsNothing
OrElse
Semantics\Operators.vb (4)
1517
Dim leftValue As Rope = If(left.
IsNothing
, Rope.Empty, left.RopeValue)
1518
Dim rightValue As Rope = If(right.
IsNothing
, Rope.Empty, right.RopeValue)
1539
Dim leftValue As String = If(left.
IsNothing
, String.Empty, left.StringValue)
1540
Dim rightValue As String = If(right.
IsNothing
, String.Empty, right.StringValue)
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
235
If value.
IsNothing
Then
Symbols\MethodSignatureComparer.vb (2)
696
If constValue1.
IsNothing
Then
703
If constValue2.
IsNothing
Then