64 references to AsClause
Microsoft.CodeAnalysis.VisualBasic (24)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
131If IsNotNothingAndContains(node.Initializer, _position) OrElse IsNotNothingAndContains(TryCast(node.AsClause, AsNewClauseSyntax), _position) Then
Binding\BinderFactory.vb (1)
320Debug.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))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (3)
1097If syntax IsNot Nothing AndAlso syntax.AsClause IsNot Nothing Then 1098location = syntax.AsClause.Type.GetLocation() 2643Dim asClauseOpt = syntax.AsClause
Symbols\Source\SourcePropertySymbol.vb (2)
351Dim asClause = syntax.AsClause 484Dim asClauseOpt = DirectCast(Me.Syntax, PropertyStatementSyntax).AsClause
Syntax\SyntaxNodePartials.vb (1)
116Return DirectCast(Me, PropertyStatementSyntax).AsClause
VisualBasicDeclarationComputer.vb (2)
186initializer = GetAsNewClauseInitializer(propertyStatement.AsClause) 221Return DirectCast(methodBase, PropertyStatementSyntax).AsClause
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
StatementSyntaxExtensions.vb (2)
479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 481Return DirectCast(member, PropertyStatementSyntax).AsClause
VisualBasicHeaderFacts.vb (2)
51If node.AsClause IsNot Nothing Then 52Return IsOnHeader(root, position, node, node.AsClause)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
VisualBasicSyntaxContext.vb (2)
335If propertyDeclaration.AsClause IsNot Nothing Then 336Return TargetToken = propertyDeclaration.AsClause.GetLastToken(includeZeroWidth:=True)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
EndConstructGeneration\EndConstructStatementVisitor_Properties.vb (2)
191If propertyDeclaration.AsClause IsNot Nothing Then 192valueSuffix = " " & propertyDeclaration.AsClause.ToString
Microsoft.CodeAnalysis.VisualBasic.Features (14)
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\VisualBasicEditAndContinueAnalyzer.vb (7)
138Return DirectCast(propertyStatement.AsClause, AsNewClauseSyntax).NewExpression 283Return propertyStatement.AsClause IsNot Nothing AndAlso propertyStatement.AsClause.IsKind(SyntaxKind.AsNewClause) 314Return SpecializedCollections.SingletonEnumerable(propertyStatement.Identifier).Concat(If(propertyStatement.AsClause?.DescendantTokens(), 319Return SpecializedCollections.SingletonEnumerable(propertyStatement.Identifier).Concat(propertyStatement.AsClause.DescendantTokens()) 401Return (TextSpan.FromBounds(propertyStatement.Identifier.Span.Start, propertyStatement.AsClause.Span.End), Nothing) 1090Return GetInitializerExpression(propertyStatement.Initializer, propertyStatement.AsClause) IsNot Nothing
ExtractMethod\Extensions.vb (1)
281Dim asNewClause = TryCast([property].AsClause, AsNewClauseSyntax)
IntroduceVariable\VisualBasicIntroduceVariableService.vb (1)
126Return expression.GetAncestorsOrThis(Of AsClauseSyntax).Contains(propertyStatement.AsClause) OrElse
VisualBasicDeclarationComputer.vb (2)
186initializer = GetAsNewClauseInitializer(propertyStatement.AsClause) 221Return DirectCast(methodBase, PropertyStatementSyntax).AsClause
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19134Dim withObj = objectUnderTest.WithAttributeLists(objectUnderTest.AttributeLists).WithModifiers(objectUnderTest.Modifiers).WithPropertyKeyword(objectUnderTest.PropertyKeyword).WithIdentifier(objectUnderTest.Identifier).WithParameterList(objectUnderTest.ParameterList).WithAsClause(objectUnderTest.AsClause).WithInitializer(objectUnderTest.Initializer).WithImplementsClause(objectUnderTest.ImplementsClause)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicCodeGenerationService.vb (1)
731Dim newAsClause = UpdateAsClause(propertyStatementSyntax.AsClause, newType)
CodeGeneration\VisualBasicSyntaxGenerator.vb (3)
1295accessors.Add(CreateSetAccessorBlock(prop.AsClause.Type, Nothing)) 2300Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.AsClause 2302Return DirectCast(declaration, PropertyStatementSyntax).AsClause
StatementSyntaxExtensions.vb (2)
479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 481Return DirectCast(member, PropertyStatementSyntax).AsClause
VisualBasicHeaderFacts.vb (2)
51If node.AsClause IsNot Nothing Then 52Return IsOnHeader(root, position, node, node.AsClause)
VisualBasicSyntaxContext.vb (2)
335If propertyDeclaration.AsClause IsNot Nothing Then 336Return TargetToken = propertyDeclaration.AsClause.GetLastToken(includeZeroWidth:=True)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
CodeModel\SyntaxExtensions.vb (1)
78asClause = DirectCast(method, PropertyStatementSyntax).AsClause
CodeModel\VisualBasicCodeModelService.NodeNameGenerator.vb (4)
227If propertyStatement.AsClause IsNot Nothing Then 229AppendTypeName(builder, propertyStatement.AsClause.Type()) 240If propertyStatement.AsClause IsNot Nothing Then 242AppendTypeName(builder, propertyStatement.AsClause.Type())
CodeModel\VisualBasicCodeModelService.vb (2)
3320If propertyStatement.AsClause IsNot Nothing Then 3321Dim oldType = propertyStatement.AsClause.Type()