87 references to IsNothingLiteral
Microsoft.CodeAnalysis.VisualBasic (87)
Binding\Binder_Conversions.vb (6)
117Debug.Assert(argument.IsNothingLiteral() OrElse (sourceType IsNot Nothing AndAlso Not sourceType.IsErrorType())) 234Debug.Assert(argument.IsNothingLiteral() OrElse (sourceType IsNot Nothing AndAlso Not sourceType.IsErrorType())) 459ElseIf Not argument.IsNothingLiteral() AndAlso argument.Kind <> BoundKind.ArrayLiteral Then 464Not argument.IsNothingLiteral() OrElse 504Debug.Assert(argument.IsNothingLiteral() OrElse (sourceType IsNot Nothing AndAlso Not sourceType.IsErrorType())) 1205If argument.Type Is Nothing AndAlso Not argument.IsNothingLiteral() Then
Binding\Binder_Expressions.vb (22)
536If Not expression.IsNothingLiteral Then 551If expression.IsNothingLiteral Then 990If Not expr.IsNothingLiteral() Then 1236If Not expr.IsNothingLiteral() Then 1351If expr.Kind = BoundKind.Parenthesized AndAlso Not expr.IsNothingLiteral() Then 1435If expr.IsNothingLiteral() Then 1942If boundWhenTrueArg.IsNothingLiteral AndAlso boundWhenFalseArg.IsNothingLiteral Then 1995(candidate.IsNothingLiteral OrElse (candidate.Type IsNot Nothing AndAlso candidate.Type.AllowsCompileTimeOperations())) 2008If boundFirstArg.IsNothingLiteral AndAlso boundSecondArg.IsNothingLiteral Then 2013ElseIf boundFirstArg.Type IsNot Nothing AndAlso boundFirstArg.Type.IsNullableType AndAlso boundSecondArg.IsNothingLiteral Then 2049(boundFirstArg.IsNothingLiteral OrElse boundFirstArg.ConstantValueOpt.IsString) Then 2053If (boundFirstArg.IsNothingLiteral) Then 2056If Not boundSecondArg.IsNothingLiteral Then 2083If boundFirstArg.IsNothingLiteral Then 2096If boundFirstArg.IsNothingLiteral Then 2106Debug.Assert(hasErrors OrElse boundFirstArg.IsNothingLiteral OrElse boundFirstArg.Type IsNot Nothing) 2119If Not hasErrors AndAlso Not (boundFirstArg.IsNothingLiteral OrElse boundFirstArg.Type.IsNullableType OrElse boundFirstArg.Type.IsReferenceType) Then 4521If Not expression.IsNothingLiteral Then 4564If Not expression.IsNothingLiteral Then 4676If operand.IsNothingLiteral() Then
Binding\Binder_Invocation.vb (1)
2332paramArrayArgument.IsNothingLiteral() Then
Binding\Binder_Latebound.vb (1)
137If receiver.IsNothingLiteral Then
Binding\Binder_Operators.vb (8)
103If targetArgument.IsNothingLiteral() Then 116If Not otherArgument.HasErrors AndAlso Not otherArgument.IsNothingLiteral() Then 125If Not otherArgument.HasErrors AndAlso Not otherArgument.IsNothingLiteral() Then 956Return cast.IsNothingLiteral() 1016If left.IsNothingLiteral() Then 1018If right.IsNothingLiteral() Then 1101ElseIf right.IsNothingLiteral() Then 1139If Not operand.HasErrors AndAlso operand.IsNothingLiteral Then
Binding\Binder_Query.vb (1)
2338If predicate.IsNothingLiteral() Then
Binding\Binder_Statements.vb (11)
1386If Not inferFrom.IsNothingLiteral Then 1581If Not collectionExpression.IsLValue AndAlso Not collectionExpression.IsNothingLiteral Then 3414If Not collection.IsLValue AndAlso Not collection.IsNothingLiteral Then 3775If Not collection.IsNothingLiteral AndAlso 3812If ((collection.IsNothingLiteral OrElse collectionType.IsObjectType) AndAlso Me.OptionStrict <> OptionStrict.On) OrElse 3813(Not collection.IsNothingLiteral AndAlso Not collectionType.IsArrayType AndAlso IsOrInheritsFromOrImplementsInterface(collectionType, ienumerable, useSiteInfo, matchingInterfaces)) Then 3815Debug.Assert(collection.IsNothingLiteral OrElse collectionType.IsObjectType OrElse (TypeSymbol.Equals(matchingInterfaces.First, ienumerable, TypeCompareKind.ConsiderEverything) AndAlso matchingInterfaces.Count = 1)) 3828Debug.Assert(collectionType IsNot Nothing OrElse collection.IsNothingLiteral AndAlso Me.OptionStrict = OptionStrict.On) 3832If collection.IsNothingLiteral Then 4008Debug.Assert(collectionType IsNot Nothing OrElse OptionStrict <> OptionStrict.On AndAlso collection.Kind = BoundKind.Conversion AndAlso DirectCast(collection, BoundConversion).Operand.IsNothingLiteral) 4089If collection.IsNothingLiteral OrElse
Binding\Binder_Utils.vb (1)
1400If operand.IsNothingLiteral Then
BoundTree\BoundBinaryConditionalExpression.vb (1)
28Debug.Assert(ElseExpression.IsNothingLiteral() OrElse
BoundTree\BoundExpressionExtensions.vb (2)
489If Not IsNothingLiteral(node) Then 642node.IsNothingLiteral() OrElse
BoundTree\BoundTernaryConditionalExpression.vb (1)
23Debug.Assert(Condition.IsNothingLiteral() OrElse Condition.Type.IsBooleanType() OrElse Not Condition.Type.IsValueType)
CodeGen\EmitConversion.vb (4)
158If conversion.Operand.IsNothingLiteral Then 287Return Not conversion.Operand.IsNothingLiteral AndAlso 305If conversion.Operand.IsNothingLiteral Then 470If conversion.Operand.IsNothingLiteral Then
CodeGen\EmitOperators.vb (1)
435Debug.Assert(operandType IsNot Nothing OrElse (binOp.Left.IsNothingLiteral() AndAlso (opKind = BinaryOperatorKind.Is OrElse opKind = BinaryOperatorKind.IsNot)))
CodeGen\EmitStatement.vb (4)
520Debug.Assert(nonConstType IsNot Nothing OrElse (nonConstOp.IsNothingLiteral() AndAlso (opKind = BinaryOperatorKind.Is OrElse opKind = BinaryOperatorKind.IsNot))) 567Debug.Assert(operandType IsNot Nothing OrElse (expression.Left.IsNothingLiteral() AndAlso (opKind = BinaryOperatorKind.Is OrElse opKind = BinaryOperatorKind.IsNot))) 815Debug.Assert(binOp.Left.IsNothingLiteral() OrElse binOp.Left.Type.SpecialType = SpecialType.System_Object OrElse binOp.WasCompilerGenerated) 816Debug.Assert(binOp.Right.IsNothingLiteral() OrElse binOp.Right.Type.SpecialType = SpecialType.System_Object OrElse binOp.WasCompilerGenerated)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (2)
224If originalLeft.IsNothingLiteral Then 231ElseIf originalRight.IsNothingLiteral Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
63If operand.IsNothingLiteral() Then
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (3)
1310Debug.Assert(left.IsNothingLiteral OrElse right.IsNothingLiteral) 1317Return RewriteNullableIsOrIsNotOperator((node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Is, If(left.IsNothingLiteral, right, left), node.Type)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
183Debug.Assert(testExpr.IsNothingLiteral OrElse Not testExpr.Type.IsValueType)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (2)
719If operand.IsNothingLiteral() Then 821Debug.Assert(node.Operand.IsNothingLiteral() OrElse
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
34If Not conversion.ExplicitCastInCode AndAlso Not operand.IsNothingLiteral AndAlso
Lowering\SyntheticBoundNodeFactory.vb (5)
625Debug.Assert(Not expression.IsNothingLiteral) ' Not supported yet 636Debug.Assert(expression.IsNothingLiteral OrElse expression.Type.IsReferenceType OrElse expression.Type.IsTypeParameter()) 'Others are not supported yet 637Debug.Assert(type.IsReferenceType OrElse (type.IsTypeParameter AndAlso expression.IsNothingLiteral)) 'Others are not supported yet 643If(expression.IsNothingLiteral, 1015If arg.IsNothingLiteral() Then
Semantics\Conversions.vb (2)
723If source.IsNothingLiteral() Then 4254Debug.Assert(conversion.Operand.IsNothingLiteral() OrElse conversion.Operand.Kind = BoundKind.Lambda)
Semantics\OverloadResolution.vb (3)
2968Debug.Assert(paramArrayArgument.IsNothingLiteral()) 3002If paramArrayItems.Count = 1 AndAlso arguments(paramArrayItems(0)).IsNothingLiteral() AndAlso Not forceExpandedForm Then 3449If IsNothingLiteral(expression) Then
Semantics\TypeInference\TypeArgumentInference.vb (2)
956If paramArrayItems.Count = 1 AndAlso arguments(paramArrayItems(0)).IsNothingLiteral() Then 1025If Not argument.IsNothingLiteral Then
Symbols\ConstantValueUtils.vb (1)
43If boundValue.IsNothingLiteral Then