17 references to Type
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\Binder_Conversions.vb (5)
52
Dim targetType = BindTypeSyntax(node.
Type
, diagnostics)
65
Dim targetType = BindTypeSyntax(node.
Type
, diagnostics)
172
Dim targetType = BindTypeSyntax(node.
Type
, diagnostics)
236
ReportDiagnostic(diagnostics, If(castSyntax IsNot Nothing, castSyntax.
Type
, node), ERRID.ERR_TryCastOfValueType1, targetType)
241
ReportDiagnostic(diagnostics, If(castSyntax IsNot Nothing, castSyntax.
Type
, node), ERRID.ERR_TryCastOfUnconstrainedTypeParam1, targetType)
Syntax\SyntaxFacts.vb (1)
89
Return DirectCast(parent, CastExpressionSyntax).
Type
Is node
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
586
Return GetTypes(castExpression.
Type
)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ExtractMethod\VisualBasicSelectionResult.vb (1)
143
Return semanticModel.GetTypeInfo(castExpression.
Type
).Type
GenerateMember\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
115
typeToGenerateIn = TryCast(document.SemanticModel.GetTypeInfo(castExpression.
Type
, cancellationToken).Type, INamedTypeSymbol)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (2)
102
name.CheckParent(Of CastExpressionSyntax)(Function(p) p.
Type
Is name) OrElse
108
name.CheckParent(Of CastExpressionSyntax)(Function(p) p.
Type
Is name) OrElse
Utilities\IntrinsicOperators\AbstractCastExpressionDocumentation.vb (1)
49
Return castExpression.
Type
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
586
Return GetTypes(castExpression.
Type
)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
CodeModel\MethodXML\MethodXmlBuilder.vb (2)
487
If castExpression.
Type
Is Nothing Then
491
Dim type = SemanticModel.GetTypeInfo(castExpression.
Type
).Type
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (2)
976
Return CompareTypeNames(oldCast.
Type
, newCast.
Type
) AndAlso