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())) 230Debug.Assert(argument.IsNothingLiteral() OrElse (sourceType IsNot Nothing AndAlso Not sourceType.IsErrorType())) 451ElseIf Not argument.IsNothingLiteral() AndAlso argument.Kind <> BoundKind.ArrayLiteral Then 456Not argument.IsNothingLiteral() OrElse 496Debug.Assert(argument.IsNothingLiteral() OrElse (sourceType IsNot Nothing AndAlso Not sourceType.IsErrorType())) 1192If argument.Type Is Nothing AndAlso Not argument.IsNothingLiteral() Then
Binding\Binder_Expressions.vb (22)
515If Not expression.IsNothingLiteral Then 530If expression.IsNothingLiteral Then 969If Not expr.IsNothingLiteral() Then 1215If Not expr.IsNothingLiteral() Then 1330If expr.Kind = BoundKind.Parenthesized AndAlso Not expr.IsNothingLiteral() Then 1410If expr.IsNothingLiteral() Then 1917If boundWhenTrueArg.IsNothingLiteral AndAlso boundWhenFalseArg.IsNothingLiteral Then 1970(candidate.IsNothingLiteral OrElse (candidate.Type IsNot Nothing AndAlso candidate.Type.AllowsCompileTimeOperations())) 1983If boundFirstArg.IsNothingLiteral AndAlso boundSecondArg.IsNothingLiteral Then 1988ElseIf boundFirstArg.Type IsNot Nothing AndAlso boundFirstArg.Type.IsNullableType AndAlso boundSecondArg.IsNothingLiteral Then 2024(boundFirstArg.IsNothingLiteral OrElse boundFirstArg.ConstantValueOpt.IsString) Then 2028If (boundFirstArg.IsNothingLiteral) Then 2031If Not boundSecondArg.IsNothingLiteral Then 2058If boundFirstArg.IsNothingLiteral Then 2071If boundFirstArg.IsNothingLiteral Then 2081Debug.Assert(hasErrors OrElse boundFirstArg.IsNothingLiteral OrElse boundFirstArg.Type IsNot Nothing) 2094If Not hasErrors AndAlso Not (boundFirstArg.IsNothingLiteral OrElse boundFirstArg.Type.IsNullableType OrElse boundFirstArg.Type.IsReferenceType) Then 4494If Not expression.IsNothingLiteral Then 4537If Not expression.IsNothingLiteral Then 4649If operand.IsNothingLiteral() Then
Binding\Binder_Invocation.vb (1)
2338paramArrayArgument.IsNothingLiteral() Then
Binding\Binder_Latebound.vb (1)
137If receiver.IsNothingLiteral Then
Binding\Binder_Operators.vb (8)
73If targetArgument.IsNothingLiteral() Then 86If Not otherArgument.HasErrors AndAlso Not otherArgument.IsNothingLiteral() Then 95If Not otherArgument.HasErrors AndAlso Not otherArgument.IsNothingLiteral() Then 926Return cast.IsNothingLiteral() 986If left.IsNothingLiteral() Then 988If right.IsNothingLiteral() Then 1071ElseIf right.IsNothingLiteral() Then 1109If Not operand.HasErrors AndAlso operand.IsNothingLiteral Then
Binding\Binder_Query.vb (1)
2338If predicate.IsNothingLiteral() Then
Binding\Binder_Statements.vb (11)
1357If Not inferFrom.IsNothingLiteral Then 1552If Not collectionExpression.IsLValue AndAlso Not collectionExpression.IsNothingLiteral Then 3385If Not collection.IsLValue AndAlso Not collection.IsNothingLiteral Then 3746If Not collection.IsNothingLiteral AndAlso 3783If ((collection.IsNothingLiteral OrElse collectionType.IsObjectType) AndAlso Me.OptionStrict <> OptionStrict.On) OrElse 3784(Not collection.IsNothingLiteral AndAlso Not collectionType.IsArrayType AndAlso IsOrInheritsFromOrImplementsInterface(collectionType, ienumerable, useSiteInfo, matchingInterfaces)) Then 3786Debug.Assert(collection.IsNothingLiteral OrElse collectionType.IsObjectType OrElse (TypeSymbol.Equals(matchingInterfaces.First, ienumerable, TypeCompareKind.ConsiderEverything) AndAlso matchingInterfaces.Count = 1)) 3799Debug.Assert(collectionType IsNot Nothing OrElse collection.IsNothingLiteral AndAlso Me.OptionStrict = OptionStrict.On) 3803If collection.IsNothingLiteral Then 3979Debug.Assert(collectionType IsNot Nothing OrElse OptionStrict <> OptionStrict.On AndAlso collection.Kind = BoundKind.Conversion AndAlso DirectCast(collection, BoundConversion).Operand.IsNothingLiteral) 4060If 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)
418Debug.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)
160If originalLeft.IsNothingLiteral Then 167ElseIf originalRight.IsNothingLiteral Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
63If operand.IsNothingLiteral() Then
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (3)
1315Debug.Assert(left.IsNothingLiteral OrElse right.IsNothingLiteral) 1322Return RewriteNullableIsOrIsNotOperator((node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Is, If(left.IsNothingLiteral, right, left), node.Type)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
188Debug.Assert(testExpr.IsNothingLiteral OrElse Not testExpr.Type.IsValueType)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (2)
805If operand.IsNothingLiteral() Then 907Debug.Assert(node.Operand.IsNothingLiteral() OrElse
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
34If Not conversion.ExplicitCastInCode AndAlso Not operand.IsNothingLiteral AndAlso
Lowering\SyntheticBoundNodeFactory.vb (5)
621Debug.Assert(Not expression.IsNothingLiteral) ' Not supported yet 632Debug.Assert(expression.IsNothingLiteral OrElse expression.Type.IsReferenceType OrElse expression.Type.IsTypeParameter()) 'Others are not supported yet 633Debug.Assert(type.IsReferenceType OrElse (type.IsTypeParameter AndAlso expression.IsNothingLiteral)) 'Others are not supported yet 639If(expression.IsNothingLiteral, 981If arg.IsNothingLiteral() Then
Semantics\Conversions.vb (2)
719If source.IsNothingLiteral() Then 4249Debug.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)
960If paramArrayItems.Count = 1 AndAlso arguments(paramArrayItems(0)).IsNothingLiteral() Then 1029If Not argument.IsNothingLiteral Then
Symbols\ConstantValueUtils.vb (1)
43If boundValue.IsNothingLiteral Then