44 references to ArrayBounds
Microsoft.CodeAnalysis.VisualBasic (25)
Binding\Binder_Initializers.vb (3)
237Debug.Assert(syntax.ArrayBounds IsNot Nothing) 238Dim arraySize = BindArrayBounds(syntax.ArrayBounds, diagnostics) 297If Not (name.ArrayRankSpecifiers.IsEmpty AndAlso name.ArrayBounds Is Nothing) Then
Binding\Binder_Statements.vb (4)
1095If name.ArrayBounds IsNot Nothing Then 1097boundArrayBounds = BindArrayBounds(name.ArrayBounds, diagnostics) 1219If name.ArrayBounds IsNot Nothing Then 3542If identifier.ArrayBounds IsNot Nothing Then
Binding\Binder_Utils.vb (3)
419Return identifierSyntax.ArrayBounds IsNot Nothing OrElse identifierSyntax.ArrayRankSpecifiers.Count > 0 519modifiedIdentifier.ArrayBounds Is Nothing)) AndAlso 559Return ApplyArrayRankSpecifiersAndBoundsToType(baseType, modifiedIdentifier.ArrayRankSpecifiers, modifiedIdentifier.ArrayBounds, diagBag)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
122If IsNotNothingAndContains(name.ArrayBounds, _position) Then
Generated\Syntax.xml.Main.Generated.vb (2)
2608Dim newArrayBounds = DirectCast(Visit(node.ArrayBounds), ArgumentListSyntax) 2609If node.ArrayBounds IsNot newArrayBounds Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (7)
11717return Update(identifier, Me.Nullable, Me.ArrayBounds, Me.ArrayRankSpecifiers) 11742return Update(Me.Identifier, nullable, Me.ArrayBounds, Me.ArrayRankSpecifiers) 11767Dim _child = If(Me.ArrayBounds IsNot Nothing, Me.ArrayBounds, SyntaxFactory.ArgumentList()) 11791return Update(Me.Identifier, Me.Nullable, Me.ArrayBounds, arrayRankSpecifiers) 11812Return Me.ArrayBounds 11846If identifier <> Me.Identifier OrElse nullable <> Me.Nullable OrElse arrayBounds IsNot Me.ArrayBounds OrElse arrayRankSpecifiers <> Me.ArrayRankSpecifiers Then
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.vb (2)
142Debug.Assert(DirectCast(syntax, ModifiedIdentifierSyntax).ArrayBounds IsNot Nothing) 157If modifiedIdentifier.ArrayBounds IsNot Nothing Then
Symbols\Source\SourceMemberFieldSymbol.vb (3)
547modifiedIdentifier.ArrayBounds Is Nothing AndAlso modifiedIdentifier.ArrayRankSpecifiers.IsEmpty Then 601If (modifiedIdentifier.ArrayBounds IsNot Nothing) AndAlso 602(modifiedIdentifier.ArrayBounds.Arguments.Count > 0) Then
Microsoft.CodeAnalysis.VisualBasic.Features (15)
Completion\KeywordRecommenders\Declarations\ToKeywordRecommender.vb (2)
31If modifiedIdentifier.ArrayBounds IsNot Nothing AndAlso 32modifiedIdentifier.ArrayBounds.Arguments.Contains(simpleArgument) Then
EditAndContinue\BreakpointSpans.vb (2)
274If name.ArrayBounds IsNot Nothing OrElse DirectCast(name.Parent, VariableDeclaratorSyntax).Names.Count > 1 Then 289Return If(idf.ArrayBounds IsNot Nothing, idf, Nothing)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (10)
165If name.ArrayBounds IsNot Nothing Then 168body = If(body Is Nothing, name.ArrayBounds, Nothing) 190If modifiedIdentifier.ArrayBounds IsNot Nothing Then 193body = If(body Is Nothing, modifiedIdentifier.ArrayBounds, Nothing) 348If modifiedIdentifier.ArrayBounds IsNot Nothing Then 367If modifiedIdentifier.ArrayBounds IsNot Nothing Then 430If modifiedIdentifier.ArrayBounds IsNot Nothing Then 452If modifiedIdentifier.ArrayBounds IsNot Nothing Then 1072declarator.Names.Any(Function(n) n.ArrayBounds IsNot Nothing) 1085Return identifier.ArrayBounds IsNot Nothing OrElse
UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (1)
87Dim arrayBounds = identifier?.ArrayBounds
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19333Dim withObj = objectUnderTest.WithIdentifier(objectUnderTest.Identifier).WithNullable(objectUnderTest.Nullable).WithArrayBounds(objectUnderTest.ArrayBounds).WithArrayRankSpecifiers(objectUnderTest.ArrayRankSpecifiers)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (1)
239If modifiedIdentifier.ArrayBounds IsNot Nothing OrElse
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\MethodXML\MethodXmlBuilder.vb (2)
81(name.ArrayBounds IsNot Nothing OrElse initializer IsNot Nothing) Then 83If Not TryGenerateNewArray(name.ArrayBounds, initializer, type) Then