28 references to Nothing
Microsoft.CodeAnalysis (1)
ConstantValue.cs (1)
748return ReferenceEquals(this, Nothing);
Microsoft.CodeAnalysis.VisualBasic (22)
Analysis\InitializerRewriter.vb (1)
225submissionResult = New BoundLiteral(method.Syntax, ConstantValue.Nothing, submissionResultType)
Binding\Binder_Operators.vb (2)
543Dim nothingStr = New BoundLiteral(left.Syntax, ConstantValue.Nothing, stringType).MakeCompilerGenerated() 796constantValueOpt:=ConstantValue.Nothing)
Binding\Binder_Statements.vb (4)
771Dim nothingLiteral = New BoundLiteral(operand, ConstantValue.Nothing, Nothing).MakeCompilerGenerated() 3470New BoundLiteral(collectionSyntax, ConstantValue.Nothing, Nothing), 3492New BoundLiteral(collectionSyntax, ConstantValue.Nothing, Nothing), 4592New BoundLiteral(syntaxNode, ConstantValue.Nothing, Nothing),
Binding\Binder_XmlLiterals.vb (1)
42ImmutableArray.Create(Of BoundExpression)(declaration, New BoundLiteral(syntax, ConstantValue.Nothing, Nothing)),
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (3)
135Dim nothingLiteral = New BoundLiteral(syntax, ConstantValue.Nothing, objectType).MakeCompilerGenerated() 205Dim nothingLiteral = New BoundLiteral(syntax, ConstantValue.Nothing, objectType).MakeCompilerGenerated() 375New BoundLiteral(syntax, ConstantValue.Nothing,
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
263New BoundLiteral(syntax, ConstantValue.Nothing, 343New BoundLiteral(syntax, ConstantValue.Nothing,
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
441New BoundLiteral(syntaxNode, ConstantValue.Nothing, obj),
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
405If rewrittenOperand.ConstantValueOpt Is ConstantValue.Nothing Then
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (2)
212New BoundLiteral(syntax, ConstantValue.Nothing, objectType), 226ImmutableArray.Create(Of BoundExpression)(flag, newFlagInstance, New BoundLiteral(syntax, ConstantValue.Nothing, flag.Type)),
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
484Return New BoundLiteral(syntax, ConstantValue.Nothing, type)
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
79New BoundLiteral(syntax, ConstantValue.Nothing,
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
119New BoundLiteral(syntax, ConstantValue.Nothing, Nothing).MakeCompilerGenerated(),
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
348result = New BoundLiteral(syntax, ConstantValue.Nothing, arrayType)
Semantics\CompileTimeCalculations.vb (1)
710value = ConstantValue.Nothing
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Semantics\Conversions.vb (4)
102Dim [nothing] = New BoundLiteral(DirectCast(DirectCast(dummyTree.GetRoot(Nothing), VisualBasicSyntaxNode), VisualBasicSyntaxNode), ConstantValue.Nothing, Nothing) 271Dim _nothing = New BoundLiteral(DirectCast(DirectCast(dummyTree.GetRoot(Nothing), VisualBasicSyntaxNode), VisualBasicSyntaxNode), ConstantValue.Nothing, Nothing) 966Dim stringValue = ConstantValue.Nothing 1120Dim _nothing = New BoundLiteral(DirectCast(dummyTree.GetRoot(Nothing), VisualBasicSyntaxNode), ConstantValue.Nothing, Nothing)
Semantics\OverloadResolution.vb (1)
193Dim [nothing] As BoundExpression = New BoundLiteral(_syntaxNode, ConstantValue.Nothing, Nothing)