25 references to Type
Microsoft.CodeAnalysis.VisualBasic (9)
Binding\Binder_Expressions.vb (1)
754Dim targetSymbol As Symbol = BindTypeOrAliasSyntax(node.Type, diagnostics)
Generated\Syntax.xml.Main.Generated.vb (2)
3888Dim newType = DirectCast(Visit(node.Type), TypeSyntax) 3889If node.Type IsNot newType Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (5)
22489return Update(Me.Kind, typeOfKeyword, Me.Expression, Me.OperatorToken, Me.Type) 22507return Update(Me.Kind, Me.TypeOfKeyword, expression, Me.OperatorToken, Me.Type) 22525return Update(Me.Kind, Me.TypeOfKeyword, Me.Expression, operatorToken, Me.Type) 22561Return Me.Type 22596If kind <> Me.Kind OrElse typeOfKeyword <> Me.TypeOfKeyword OrElse expression IsNot Me.Expression OrElse operatorToken <> Me.OperatorToken OrElse type IsNot Me.Type Then
Syntax\SyntaxFacts.vb (1)
87Return DirectCast(parent, TypeOfExpressionSyntax).Type Is node
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxFacts.vb (1)
1674type = typeOfExpression.Type
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
104Dim expressionType = typeOfExpression.Type
VisualBasicUseIsNotExpressionCodeFixProvider.vb (1)
71typeOfIsExpression.Type)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
VisualBasicUseIsNotExpressionCodeFixProvider.vb (1)
71typeOfIsExpression.Type)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Semantics\TypeOfTests.vb (4)
747Assert.Equal("System.String", semantics.GetSymbolInfo(typeOfExpressions(0).Type).Symbol.ToDisplayString(SymbolDisplayFormat.TestFormat)) 750Dim aliasSymbol = semantics.GetAliasInfo(CType(typeOfExpressions(1).Type, IdentifierNameSyntax)) 753Assert.Equal("System.Int32", semantics.GetSymbolInfo(typeOfExpressions(1).Type).Symbol.ToDisplayString(SymbolDisplayFormat.TestFormat)) 757Assert.Equal("System.String", semantics.GetSymbolInfo(typeOfExpressions(2).Type).Symbol.ToDisplayString(SymbolDisplayFormat.TestFormat))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (4)
20501Assert.NotNull(objectUnderTest.type) 20502Dim withObj = objectUnderTest.WithTypeOfKeyword(objectUnderTest.TypeOfKeyword).WithExpression(objectUnderTest.Expression).WithOperatorToken(objectUnderTest.OperatorToken).WithType(objectUnderTest.Type) 20512Assert.NotNull(objectUnderTest.type) 20513Dim withObj = objectUnderTest.WithTypeOfKeyword(objectUnderTest.TypeOfKeyword).WithExpression(objectUnderTest.Expression).WithOperatorToken(objectUnderTest.OperatorToken).WithType(objectUnderTest.Type)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
101name.CheckParent(Of TypeOfExpressionSyntax)(Function(p) p.Type Is name) OrElse
Simplification\VisualBasicSimplificationService.Expander.vb (1)
795Dim type = TryCast(semanticModel.GetTypeInfo(typeOfExpression.Type, _cancellationToken).Type, INamedTypeSymbol)
VisualBasicSyntaxFacts.vb (1)
1674type = typeOfExpression.Type
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
104Dim expressionType = typeOfExpression.Type