41 references to Type
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_Lambda.vb (4)
44returnType = BindTypeSyntax(node.SubOrFunctionHeader.AsClause.Type, diagnostics) 47ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_RestrictedType1, returnType) 56ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_BadAsyncReturn) 65ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_BadIteratorReturn)
Binding\Binder_Statements.vb (2)
4838If(asClauseOpt IsNot Nothing, asClauseOpt.Type, name), 4844diagnostics.Add(If(asClauseOpt IsNot Nothing, asClauseOpt.Type, name), useSiteInfo)
Binding\DocumentationCommentCrefBinder.vb (1)
475returnType = typeParameterAwareBinder.BindTypeSyntax(reference.AsClause.Type, diagnostic)
Generated\Syntax.xml.Main.Generated.vb (2)
2470Dim newType = DirectCast(Visit(node.Type), TypeSyntax) 2471If node.Type IsNot newType Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
10459return Update(asKeyword, Me.AttributeLists, Me.Type) 10482return Update(Me.AsKeyword, attributeLists, Me.Type) 10522Return Me.Type 10551If asKeyword <> Me.AsKeyword OrElse attributeLists <> Me.AttributeLists OrElse type IsNot Me.Type Then
Symbols\Source\SourceEventSymbol.vb (3)
174Binder.ReportDiagnostic(diagnostics, syntax.AsClause.Type, ERRID.ERR_EventTypeNotDelegate) 178Binder.ReportDiagnostic(diagnostics, syntax.AsClause.Type, ERRID.ERR_UnsupportedType1, type.Name) 181Binder.ReportDiagnostic(diagnostics, syntax.AsClause.Type, ERRID.ERR_EventDelegatesCantBeFunctions)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
1020location = syntax.AsClause.Type.GetLocation() 1127location = syntax.AsClause.Type.GetLocation()
Symbols\Source\SourceMemberFieldSymbol.vb (2)
566(simpleAsClauseSyntax.Type.Kind = SyntaxKind.PredefinedType AndAlso DirectCast(simpleAsClauseSyntax.Type, PredefinedTypeSyntax).Keyword.Kind = SyntaxKind.ObjectKeyword) Then
Symbols\Source\UnboundLambdaParameterSymbol.vb (1)
98If(syntax.AsClause Is Nothing, CType(syntax.Identifier, SyntaxNodeOrToken), syntax.AsClause.Type))
Syntax\SyntaxExtensions.vb (1)
72Return DirectCast(asClauseSyntax, SimpleAsClauseSyntax).Type
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1445Return TryCast(declarator.AsClause, SimpleAsClauseSyntax)?.Type
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
152Return semanticModel.GetTypeInfo(asClause.Type).Type
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (3)
624Return GetTypes(asClause.Type) 658Dim variableTypes = GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True) 681Return GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
716Dim nodeType = semanticModel.GetSymbolInfo(cast.AsClause.Type, cancellationToken).Symbol
SolutionExplorer\VisualBasicSolutionExplorerSymbolTreeItemProvider.vb (1)
310AppendType(simpleAsClause.Type, nameBuilder)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\BasicDetectPreviewFeatureAnalyzer.vb (1)
202Dim returnType = simpleAsClause.Type
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (1)
184Dim typeSyntax = asClauseOpt.Type
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (3)
624Return GetTypes(asClause.Type) 658Dim variableTypes = GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True) 681Return GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1445Return TryCast(declarator.AsClause, SimpleAsClauseSyntax)?.Type
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
152Return semanticModel.GetTypeInfo(asClause.Type).Type
Roslyn.Diagnostics.VisualBasic.Analyzers (5)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (3)
624Return GetTypes(asClause.Type) 658Dim variableTypes = GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True) 681Return GetTypes(DirectCast(declarator.AsClause, SimpleAsClauseSyntax).Type, objectAsDefault:=True)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1445Return TryCast(declarator.AsClause, SimpleAsClauseSyntax)?.Type
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
152Return semanticModel.GetTypeInfo(asClause.Type).Type