50 references to AsClause
Microsoft.CodeAnalysis.VisualBasic (24)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
130If IsNotNothingAndContains(node.Initializer, _position) OrElse IsNotNothingAndContains(TryCast(node.AsClause, AsNewClauseSyntax), _position) Then
Binding\BinderFactory.vb (1)
329Debug.Assert(propertyStatement.Initializer IsNot Nothing OrElse TryCast(propertyStatement.AsClause, AsNewClauseSyntax) IsNot Nothing)
Binding\InitializerSemanticModel.vb (2)
65Dim initSyntax As VisualBasicSyntaxNode = declSyntax.AsClause 191Dim initSyntax As VisualBasicSyntaxNode = declSyntax.AsClause
Generated\Syntax.xml.Main.Generated.vb (2)
2289Dim newAsClause = DirectCast(Visit(node.AsClause), AsClauseSyntax) 2290If node.AsClause IsNot newAsClause Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (9)
8655return Update(attributeLists, Me.Modifiers, Me.PropertyKeyword, Me.Identifier, Me.ParameterList, Me.AsClause, Me.Initializer, Me.ImplementsClause) 8699return Update(Me.AttributeLists, modifiers, Me.PropertyKeyword, Me.Identifier, Me.ParameterList, Me.AsClause, Me.Initializer, Me.ImplementsClause) 8725return Update(Me.AttributeLists, Me.Modifiers, propertyKeyword, Me.Identifier, Me.ParameterList, Me.AsClause, Me.Initializer, Me.ImplementsClause) 8743return Update(Me.AttributeLists, Me.Modifiers, Me.PropertyKeyword, identifier, Me.ParameterList, Me.AsClause, Me.Initializer, Me.ImplementsClause) 8773return Update(Me.AttributeLists, Me.Modifiers, Me.PropertyKeyword, Me.Identifier, parameterList, Me.AsClause, Me.Initializer, Me.ImplementsClause) 8826return Update(Me.AttributeLists, Me.Modifiers, Me.PropertyKeyword, Me.Identifier, Me.ParameterList, Me.AsClause, initializer, Me.ImplementsClause) 8848return Update(Me.AttributeLists, Me.Modifiers, Me.PropertyKeyword, Me.Identifier, Me.ParameterList, Me.AsClause, Me.Initializer, implementsClause) 8880Return Me.AsClause 8928If attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse propertyKeyword <> Me.PropertyKeyword OrElse identifier <> Me.Identifier OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause OrElse initializer IsNot Me.Initializer OrElse implementsClause IsNot Me.ImplementsClause Then
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.vb (1)
125If(propertyStatement.Initializer Is Nothing, propertyStatement.AsClause.Span.End, propertyStatement.Initializer.Span.End))
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (2)
236initializer = GetAsNewClauseInitializer(propertyStatement.AsClause) 273Return DirectCast(methodBase, PropertyStatementSyntax).AsClause
Symbols\Source\SourceMemberContainerTypeSymbol.vb (3)
1090If syntax IsNot Nothing AndAlso syntax.AsClause IsNot Nothing Then 1091location = syntax.AsClause.Type.GetLocation() 2655Dim asClauseOpt = syntax.AsClause
Symbols\Source\SourcePropertySymbol.vb (2)
355Dim asClause = syntax.AsClause 488Dim asClauseOpt = DirectCast(Me.Syntax, PropertyStatementSyntax).AsClause
Syntax\SyntaxNodePartials.vb (1)
116Return DirectCast(Me, PropertyStatementSyntax).AsClause
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 481Return DirectCast(member, PropertyStatementSyntax).AsClause
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
729Dim newAsClause = UpdateAsClause(propertyStatementSyntax.AsClause, newType)
Microsoft.CodeAnalysis.VisualBasic.Features (15)
EditAndContinue\BreakpointSpans.vb (3)
253If node.AsClause IsNot Nothing AndAlso node.AsClause.IsKind(SyntaxKind.AsNewClause) Then 254Return TextSpan.FromBounds(node.Identifier.Span.Start, node.AsClause.Span.End)
EditAndContinue\DeclarationBody\PropertyWithInitializerDeclarationBody.vb (2)
43If(PropertyStatement.AsClause IsNot Nothing, getDescendantTokens(PropertyStatement.AsClause), Array.Empty(Of SyntaxToken))).
EditAndContinue\DeclarationBody\PropertyWithNewClauseDeclarationBody.vb (3)
24Return DirectCast(PropertyStatement.AsClause, AsNewClauseSyntax).NewExpression 42Return TextSpan.FromBounds(PropertyStatement.Identifier.Span.Start, PropertyStatement.AsClause.Span.End) 48Return SpecializedCollections.SingletonEnumerable(PropertyStatement.Identifier).Concat(getDescendantTokens(PropertyStatement.AsClause))
EditAndContinue\SyntaxUtilities.vb (2)
100Return propertyStatement.AsClause IsNot Nothing AndAlso propertyStatement.AsClause.IsKind(SyntaxKind.AsNewClause)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
479Return GetInitializerExpression(propertyStatement.Initializer, propertyStatement.AsClause) IsNot Nothing
ExtractMethod\Extensions.vb (1)
281Dim asNewClause = TryCast([property].AsClause, AsNewClauseSyntax)
SolutionExplorer\VisualBasicSolutionExplorerSymbolTreeItemProvider.vb (1)
232AppendAsClause(nameBuilder, propertystatement.AsClause, fallbackToObject:=True)
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (2)
236initializer = GetAsNewClauseInitializer(propertyStatement.AsClause) 273Return DirectCast(methodBase, PropertyStatementSyntax).AsClause
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\BasicDetectPreviewFeatureAnalyzer.vb (1)
227Dim asClause = propertyDeclaration.AsClause
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
1116accessors.Add(CreateSetAccessorBlock(prop.AsClause.Type, Nothing))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 481Return DirectCast(member, PropertyStatementSyntax).AsClause
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
729Dim newAsClause = UpdateAsClause(propertyStatementSyntax.AsClause, newType)
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 481Return DirectCast(member, PropertyStatementSyntax).AsClause
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
729Dim newAsClause = UpdateAsClause(propertyStatementSyntax.AsClause, newType)