24 references to AsClause
Microsoft.CodeAnalysis.VisualBasic (15)
Generated\Syntax.xml.Main.Generated.vb (2)
2589Dim newAsClause = DirectCast(Visit(node.AsClause), SimpleAsClauseSyntax) 2590If node.AsClause IsNot newAsClause Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (6)
11505return Update(attributeLists, Me.Modifiers, Me.Identifier, Me.AsClause, Me.Default) 11535return Update(Me.AttributeLists, modifiers, Me.Identifier, Me.AsClause, Me.Default) 11557return Update(Me.AttributeLists, Me.Modifiers, identifier, Me.AsClause, Me.Default) 11601return Update(Me.AttributeLists, Me.Modifiers, Me.Identifier, Me.AsClause, [default]) 11626Return Me.AsClause 11663If attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse identifier IsNot Me.Identifier OrElse asClause IsNot Me.AsClause OrElse [default] IsNot Me.[Default] Then
Symbols\Source\SourceComplexParameterSymbol.vb (1)
340Dim paramType = binder.DecodeModifiedIdentifierType(syntax.Identifier, syntax.AsClause, Nothing, getErrorInfo, diagnostics, ModifiedIdentifierTypeDecoderContext.ParameterType)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
1019If syntax IsNot Nothing AndAlso syntax.AsClause IsNot Nothing Then 1020location = syntax.AsClause.Type.GetLocation()
Symbols\Source\UnboundLambdaParameterSymbol.vb (4)
87Dim paramType As TypeSymbol = binder.DecodeModifiedIdentifierType(syntax.Identifier, syntax.AsClause, Nothing, getErrorInfo, diagBag, Binder.ModifiedIdentifierTypeDecoderContext.LambdaParameterType) 92If paramType.IsObjectType() AndAlso syntax.AsClause Is Nothing Then 98If(syntax.AsClause Is Nothing, CType(syntax.Identifier, SyntaxNodeOrToken), syntax.AsClause.Type))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
739Dim newAsClause = UpdateSimpleAsClause(parameterSyntax.AsClause, newType)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ParameterSyntaxExtensions.vb (1)
14If parameter.AsClause IsNot Nothing AndAlso
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\BasicDetectPreviewFeatureAnalyzer.vb (2)
298Dim asClause = parameter.AsClause 310Dim asClause = parameter.AsClause
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Simplification\VisualBasicSimplificationService.Expander.vb (1)
105If newNode IsNot Nothing AndAlso newNode.AsClause Is Nothing AndAlso _expandParameter Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
739Dim newAsClause = UpdateSimpleAsClause(parameterSyntax.AsClause, newType)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ParameterSyntaxExtensions.vb (1)
14If parameter.AsClause IsNot Nothing AndAlso
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
739Dim newAsClause = UpdateSimpleAsClause(parameterSyntax.AsClause, newType)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ParameterSyntaxExtensions.vb (1)
14If parameter.AsClause IsNot Nothing AndAlso