50 references to GetVisualBasicRoot
Microsoft.CodeAnalysis.VisualBasic (1)
Scanner\Blender.vb (1)
195
_baseTreeRoot = baseTreeRoot.
GetVisualBasicRoot
()
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (48)
Semantics\Conversions.vb (46)
312
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), literal, ConversionKind.Widening, True, True, zero, integralType, Nothing)
338
literal = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(DirectCast(DirectCast(dummyTree.GetRoot(Nothing), VisualBasicSyntaxNode), VisualBasicSyntaxNode), ConstantValue.Null, Nothing), ConversionKind.WideningNothingLiteral, False, True, zero, convertibleType, Nothing)
340
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), zero, convertibleType)
369
literal = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(DirectCast(dummyTree.GetRoot(Nothing), VisualBasicSyntaxNode), ConstantValue.Null, Nothing), ConversionKind.WideningNothingLiteral, False, True, zero, type1, Nothing)
371
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), zero, type1)
374
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing),
375
New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Default(ConstantValueTypeDiscriminator.Int32), int32Type),
624
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), v, mv.Type)
625
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing),
750
Dim zero = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(DirectCast(dummyTree.GetRoot(Nothing), VisualBasicSyntaxNode), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, ConstantValue.Default(mv.Type.GetConstantValueTypeDiscriminator()), mv.Type, Nothing)
776
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, doubleValue, doubleType, Nothing)
789
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, doubleValue, doubleType, Nothing)
802
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, doubleValue, doubleType, Nothing)
815
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, doubleValue, doubleType, Nothing)
828
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, doubleValue, doubleType, Nothing)
842
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), falseValue, booleanType)
843
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, falseValue, booleanType, Nothing)
874
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), trueValue, booleanType)
875
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, trueValue, booleanType, Nothing)
937
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), v, mv.Type)
938
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, v, mv.Type, Nothing)
970
literal = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), stringValue, Nothing), ConversionKind.WideningNothingLiteral, False, True, stringValue, stringType, Nothing)
971
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, stringValue, stringType, Nothing)
995
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), stringValue, stringType)
996
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, stringValue, stringType, Nothing)
1018
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), stringValue, stringType)
1019
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, stringValue, stringType, Nothing)
1040
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), charValue, charType)
1041
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing), New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, charValue, charType, Nothing)
1184
literal = New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), v, mv.Type)
1185
constant = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing),
1315
Dim zero = New BoundConversion(dummyTree.
GetVisualBasicRoot
(Nothing),
1316
New BoundLiteral(dummyTree.
GetVisualBasicRoot
(Nothing), ConstantValue.Default(ConstantValueTypeDiscriminator.Int32), int32Type),
Semantics\OverloadResolution.vb (2)
191
Dim _syntaxNode = optionStrictOffTree.
GetVisualBasicRoot
(Nothing)
3071
Dim _syntaxNode = optionStrictOffTree.
GetVisualBasicRoot
(Nothing)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\SerializationTests.vb (1)
48
Dim root = tree.
GetVisualBasicRoot
()