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