4 instantiations of PropertyBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
5066Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
2074Return New PropertyBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newPropertyStatement, newAccessors.Node, newEndPropertyStatement) 9068Return New PropertyBlockSyntax(SyntaxKind.PropertyBlock, Nothing, Nothing, propertyStatement, accessors.Node, endPropertyStatement)
Generated\Syntax.xml.Syntax.Generated.vb (1)
6039Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.PropertyBlockSyntax(kind, errors, annotations, DirectCast(propertyStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.PropertyStatementSyntax), if(accessors IsNot Nothing, accessors.Green, Nothing), DirectCast(endPropertyStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
231 references to PropertyBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (29)
Binding\Binder_Utils.vb (1)
1279If TypeOf containingSyntax.Parent Is MethodBlockBaseSyntax OrElse TypeOf containingSyntax.Parent Is PropertyBlockSyntax Then
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
237Public Overrides Function VisitPropertyBlock(node As PropertyBlockSyntax) As Binder
Binding\MethodBodyBinder.vb (1)
72Dim propertySyntax As PropertyStatementSyntax = DirectCast(methodBlock.Parent, PropertyBlockSyntax).PropertyStatement
Compilation\SemanticModel.vb (3)
2691Public Overloads Function GetDeclaredSymbol(declarationSyntax As PropertyBlockSyntax, Optional cancellationToken As CancellationToken = Nothing) As IPropertySymbol 3319Return Me.GetDeclaredSymbol(DirectCast(node, PropertyBlockSyntax), cancellationToken) 3551If declaringSyntax.Parent IsNot Nothing AndAlso TypeOf declaringSyntax.Parent Is PropertyBlockSyntax Then
Declarations\DeclarationTreeBuilder.vb (1)
646Dim propertyDecl = DirectCast(statement, PropertyBlockSyntax)
Generated\Syntax.xml.Main.Generated.vb (5)
113Public Overridable Function VisitPropertyBlock(ByVal node As PropertyBlockSyntax) As TResult 848Public Overridable Sub VisitPropertyBlock(ByVal node As PropertyBlockSyntax) 2063Public Overrides Function VisitPropertyBlock(ByVal node As PropertyBlockSyntax) As SyntaxNode 9051Public Shared Function PropertyBlock(propertyStatement As PropertyStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax), endPropertyStatement As EndBlockStatementSyntax) As PropertyBlockSyntax 9083Public Shared Function PropertyBlock(propertyStatement As PropertyStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax)) As PropertyBlockSyntax
Generated\Syntax.xml.Syntax.Generated.vb (5)
6056Public Shadows Function WithPropertyStatement(propertyStatement as PropertyStatementSyntax) As PropertyBlockSyntax 6076Public Shadows Function WithAccessors(accessors as SyntaxList(Of AccessorBlockSyntax)) As PropertyBlockSyntax 6080Public Shadows Function AddAccessors(ParamArray items As AccessorBlockSyntax()) As PropertyBlockSyntax 6098Public Shadows Function WithEndPropertyStatement(endPropertyStatement as EndBlockStatementSyntax) As PropertyBlockSyntax 6150Public Function Update(propertyStatement As PropertyStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax), endPropertyStatement As EndBlockStatementSyntax) As PropertyBlockSyntax
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
527Dim propertySyntax As PropertyStatementSyntax = DirectCast(syntax, PropertyBlockSyntax).PropertyStatement
Semantics\StatementSyntaxWalker.vb (1)
100Public Overrides Sub VisitPropertyBlock(ByVal node As PropertyBlockSyntax)
Symbols\Source\LocalSymbol.vb (1)
548Dim propertyBlock = DirectCast(node.Parent, PropertyBlockSyntax)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2584Dim propertyDecl = DirectCast(memberSyntax, PropertyBlockSyntax) 2630blockSyntaxOpt As PropertyBlockSyntax,
Symbols\Source\SourceMethodSymbol.vb (1)
1053Dim propertySyntax = TryCast(syntax.Parent.Parent, PropertyBlockSyntax)
Symbols\Source\SourcePropertySymbol.vb (1)
83blockSyntaxOpt As PropertyBlockSyntax,
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
93Dim propertyBlock = DirectCast(classBlock.Members(0), PropertyBlockSyntax)
Syntax\SyntaxFacts.vb (1)
370Dim propertyBlock = DirectCast(possibleBlock, PropertyBlockSyntax)
Syntax\SyntaxNormalizer.vb (1)
1104Public Overrides Function VisitPropertyBlock(node As PropertyBlockSyntax) As SyntaxNode
VisualBasicDeclarationComputer.vb (1)
114Dim t = DirectCast(node, PropertyBlockSyntax)
VisualBasicExtensions.vb (1)
1175Public Function GetDeclaredSymbol(semanticModel As SemanticModel, declarationSyntax As PropertyBlockSyntax, Optional cancellationToken As CancellationToken = Nothing) As IPropertySymbol
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (25)
ElasticTriviaFormattingRule.vb (1)
306IsBeginStatement(Of PropertyStatementSyntax, PropertyBlockSyntax)(currentStatement) OrElse
NodeBasedFormattingRule.vb (1)
360Dim [property] = TryCast(node, PropertyBlockSyntax)
StatementSyntaxExtensions.vb (10)
40Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AttributeLists 109Dim propertyBlock = DirectCast(member, PropertyBlockSyntax) 183Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.Modifiers 257Dim propertyBlock = DirectCast(member, PropertyBlockSyntax) 328Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.Identifier 378Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.PropertyKeyword 449Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.ParameterList 479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 585Return DirectCast(statement, PropertyBlockSyntax).PropertyStatement 671Return DirectCast(statement, PropertyBlockSyntax).PropertyStatement
SyntaxNodeExtensions.vb (5)
955Dim [property] = TryCast(node, PropertyBlockSyntax) 1158Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ParameterList 1216Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.AttributeLists 1270begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1311begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement
VisualBasicAccessibilityFacts.vb (1)
147Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Modifiers
VisualBasicSyntaxFacts.vb (6)
722If TypeOf node Is MethodBlockBaseSyntax AndAlso Not TypeOf node.Parent Is PropertyBlockSyntax Then 730If TypeOf node Is PropertyStatementSyntax AndAlso Not TypeOf node.Parent Is PropertyBlockSyntax Then 738If TypeOf node Is PropertyBlockSyntax OrElse 773If TypeOf node Is PropertyStatementSyntax AndAlso Not TypeOf node.Parent Is PropertyBlockSyntax Then 789TypeOf node Is PropertyBlockSyntax OrElse 834Dim [property] = TryCast(node, PropertyBlockSyntax)
VisualBasicUseAutoPropertyAnalyzer.vb (1)
18PropertyBlockSyntax,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (5)
EndConstructGeneration\EndConstructStatementVisitor_Properties.vb (4)
21Dim propertyBlock = node.GetAncestor(Of PropertyBlockSyntax)() 62Dim propertyBlock = node.GetAncestor(Of PropertyBlockSyntax)() 136Dim propertyBlock = propertyDeclaration.GetAncestor(Of PropertyBlockSyntax)() 168Dim propertyBlock = propertyDeclaration.GetAncestor(Of PropertyBlockSyntax)()
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (1)
80Public Overrides Function VisitPropertyBlock(node As PropertyBlockSyntax) As IList(Of StatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Extensions\StatementSyntaxExtensionTests.vb (1)
155Dim node = SyntaxFactory.ParseCompilationUnit(code).DescendantNodes.OfType(Of PropertyBlockSyntax).First()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTestBase.vb (2)
143Return DirectCast(sourceMethod0.BlockSyntax.Parent, PropertyBlockSyntax).PropertyStatement 146Return DirectCast(sourceMethod0.BlockSyntax.Parent, PropertyBlockSyntax).PropertyStatement
Microsoft.CodeAnalysis.VisualBasic.Features (33)
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
207Dim parameterList = DirectCast(matchingNode, PropertyBlockSyntax).PropertyStatement.ParameterList
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (7)
87Function(c) GeneratePropertyEndConstructAsync(context.Document, DirectCast(endStatement.Parent, PropertyBlockSyntax), c), 98Function(c) GeneratePropertyEndConstructAsync(context.Document, DirectCast(endStatement.Parent.Parent, PropertyBlockSyntax), c), 144(Function(n As PropertyBlockSyntax) n.PropertyStatement)) 164(Function(n As PropertyBlockSyntax) n.EndPropertyStatement)) 167Private Shared Async Function GeneratePropertyEndConstructAsync(document As Document, node As PropertyBlockSyntax, cancellationToken As CancellationToken) As Task(Of Document) 188updatedProperty = DirectCast(gen.WithGetAccessorStatements(updatedProperty, Array.Empty(Of SyntaxNode)()), PropertyBlockSyntax) 192updatedProperty = DirectCast(gen.WithSetAccessorStatements(updatedProperty, Array.Empty(Of SyntaxNode)()), PropertyBlockSyntax)
Completion\CompletionProviders\OverrideCompletionProvider.vb (2)
42Dim propertyBlock = token.GetAncestor(Of PropertyBlockSyntax)() 217Dim propertyBlock = TryCast(node, PropertyBlockSyntax)
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
190Public Overrides Function VisitPropertyBlock(node As PropertyBlockSyntax) As SyntaxKind?
Completion\KeywordRecommenders\Declarations\GetSetKeywordRecommender.vb (1)
34Dim propertyBlock = previousToken.GetAncestor(Of PropertyBlockSyntax)()
Debugging\ProximityExpressionsGetter.Worker.vb (1)
141Dim propertyBlock = Me._parentStatement.GetAncestorOrThis(Of PropertyBlockSyntax)()
EditAndContinue\SyntaxComparer.vb (1)
1252Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.Identifier
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1581Return GetDiagnosticSpan(DirectCast(node, PropertyBlockSyntax).PropertyStatement)
ExtractMethod\VisualBasicMethodExtractor.vb (1)
37Dim enclosingTopLevelNode As SyntaxNode = basePosition.GetAncestor(Of PropertyBlockSyntax)()
GenerateMember\GenerateVariable\VisualBasicGenerateVariableService.vb (1)
44Dim propertyBlock = TryCast(implementsClause.Parent, PropertyBlockSyntax)
Highlighting\KeywordHighlighters\AccessorDeclarationHighlighter.vb (3)
31If TypeOf methodBlock.Parent Is PropertyBlockSyntax Then 32With DirectCast(methodBlock.Parent, PropertyBlockSyntax) 42Dim blockKind = If(node.HasAncestor(Of PropertyBlockSyntax)(),
Highlighting\KeywordHighlighters\PropertyBlockHighlighter.vb (1)
23Dim propertyBlock = node.GetAncestor(Of PropertyBlockSyntax)()
Highlighting\KeywordHighlighters\PropertyDeclarationHighlighter.vb (1)
25Dim propertyBlock = propertyDeclaration.GetAncestor(Of PropertyBlockSyntax)()
InheritanceMargin\VisualBasicInheritanceMarginService.vb (1)
47Dim propertyBlockNode = TryCast(member, PropertyBlockSyntax)
InitializeParameter\VisualBasicInitializeMemberFromParameterCodeRefactoringProvider.vb (1)
72Dim propertyBlock = TryCast(propertySyntax, PropertyBlockSyntax)
LineSeparators\VisualBasicLineSeparatorService.vb (1)
34TypeOf (node) Is PropertyBlockSyntax OrElse
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
81TypeOf node Is PropertyBlockSyntax OrElse
Structure\Providers\PropertyDeclarationStructureProvider.vb (1)
21Dim block = TryCast(propertyDeclaration.Parent, PropertyBlockSyntax)
UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (4)
17Inherits AbstractUseAutoPropertyCodeFixProvider(Of TypeBlockSyntax, PropertyBlockSyntax, ModifiedIdentifierSyntax, ConstructorBlockSyntax, ExpressionSyntax) 24Protected Overrides Function GetPropertyDeclaration(node As SyntaxNode) As PropertyBlockSyntax 29Return DirectCast(node, PropertyBlockSyntax) 44propertyDeclaration As PropertyBlockSyntax,
VisualBasicDeclarationComputer.vb (1)
114Dim t = DirectCast(node, PropertyBlockSyntax)
VisualBasicUseAutoPropertyAnalyzer.vb (1)
18PropertyBlockSyntax,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (10)
Compilation\SemanticModelAPITests.vb (1)
1488Dim propertyBlock = DirectCast(typeBlock.Members(0), PropertyBlockSyntax)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (3)
442Dim propertyBlocks = c1Syntax.DescendantNodes().OfType(Of PropertyBlockSyntax)() 1472Dim defPropBlockSyntax = DirectCast(tree.FindNodeOrTokenByKind(SyntaxKind.PropertyBlock, 1).AsNode(), PropertyBlockSyntax) 1474Dim regularPropBlockSyntax = DirectCast(tree.FindNodeOrTokenByKind(SyntaxKind.PropertyBlock, 2).AsNode(), PropertyBlockSyntax)
Compilation\SuppressAccessibilityChecksTests.vb (2)
239Dim propertyDecl = DirectCast(typeDecl.Members(0), PropertyBlockSyntax) 244propertyDecl.ReplaceNode(propertyDecl.Accessors(0), blockStatement.ChildNodes().OfType(Of PropertyBlockSyntax).Single().Accessors(0))
Diagnostics\GetDiagnosticsTests.vb (3)
634If TryCast(context.CodeBlock, PropertyBlockSyntax) IsNot Nothing OrElse 648If TryCast(operationBlock.Syntax, PropertyBlockSyntax) IsNot Nothing OrElse 657Dim propertyBlock = node.FirstAncestorOrSelf(Of PropertyBlockSyntax)
Extensions.vb (1)
43TypeOf node Is PropertyBlockSyntax OrElse
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
10797Private Shared Function GenerateRedPropertyBlock() As PropertyBlockSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (55)
CodeGeneration\VisualBasicCodeGenerationService.vb (2)
228Dim propertyBlock = TryCast(destinationMember, PropertyBlockSyntax) 286propertyBlock As PropertyBlockSyntax,
CodeGeneration\VisualBasicDeclarationComparer.vb (1)
129Return DirectCast(node, PropertyBlockSyntax).PropertyStatement
CodeGeneration\VisualBasicSyntaxGenerator.vb (25)
956propertyBlock = DirectCast(WithModifiers(propertyBlock, GetModifiers(propertyBlock) Or DeclarationModifiers.ReadOnly), PropertyBlockSyntax) 958propertyBlock = DirectCast(WithModifiers(propertyBlock, GetModifiers(propertyBlock) Or DeclarationModifiers.WriteOnly), PropertyBlockSyntax) 960propertyBlock = DirectCast(WithModifiers(propertyBlock, GetModifiers(propertyBlock).WithIsReadOnly(False).WithIsWriteOnly(False)), PropertyBlockSyntax) 968Private Shared Function GetPropertyBlock(declaration As SyntaxNode) As PropertyBlockSyntax 969Dim propertyBlock = TryCast(declaration, PropertyBlockSyntax) 1229Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ImplementsClause 1247Dim pb = DirectCast(declaration, PropertyBlockSyntax) 1471Return AsInterfaceMember(DirectCast(node, PropertyBlockSyntax).PropertyStatement) 1860Return DirectCast(node, PropertyBlockSyntax).WithPropertyStatement(DirectCast(node, PropertyBlockSyntax).PropertyStatement.WithAttributeLists(arg)) 1992Dim p = DirectCast(declaration, PropertyBlockSyntax).PropertyStatement 2107Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Identifier.ValueText 2192Return ReplaceWithTrivia(declaration, DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Identifier, id) 2300Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.AsClause 2345Return DirectCast(declaration, PropertyBlockSyntax).WithPropertyStatement(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithAsClause(asClause)) 2611Return DirectCast(declaration, PropertyBlockSyntax).WithPropertyStatement(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithModifiers(tokens)) 2985Return DirectCast(declaration, PropertyBlockSyntax).WithPropertyStatement(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithParameterList(list)) 3286Return DirectCast(declaration, PropertyBlockSyntax).Accessors 3309Return DirectCast(declaration, PropertyBlockSyntax).Accessors 3320Return DirectCast(declaration, PropertyBlockSyntax).WithAccessors(accessorList) 3403Return DirectCast(declaration, PropertyBlockSyntax).Accessors.FirstOrDefault(Function(a) a.IsKind(kind)) 3419Dim pb = DirectCast(declaration, PropertyBlockSyntax)
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (1)
208node = DirectCast(node, PropertyBlockSyntax).PropertyStatement
Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
306IsBeginStatement(Of PropertyStatementSyntax, PropertyBlockSyntax)(currentStatement) OrElse
Formatting\Rules\NodeBasedFormattingRule.vb (1)
360Dim [property] = TryCast(node, PropertyBlockSyntax)
SemanticModelReuse\VisualBasicSemanticModelReuseLanguageService.vb (2)
30Contract.ThrowIfFalse(TypeOf container Is PropertyBlockSyntax OrElse 36Contract.ThrowIfFalse(TypeOf member Is PropertyBlockSyntax OrElse
StatementSyntaxExtensions.vb (10)
40Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AttributeLists 109Dim propertyBlock = DirectCast(member, PropertyBlockSyntax) 183Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.Modifiers 257Dim propertyBlock = DirectCast(member, PropertyBlockSyntax) 328Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.Identifier 378Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.PropertyKeyword 449Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.ParameterList 479Return DirectCast(member, PropertyBlockSyntax).PropertyStatement.AsClause 585Return DirectCast(statement, PropertyBlockSyntax).PropertyStatement 671Return DirectCast(statement, PropertyBlockSyntax).PropertyStatement
SyntaxNodeExtensions.vb (5)
955Dim [property] = TryCast(node, PropertyBlockSyntax) 1158Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ParameterList 1216Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.AttributeLists 1270begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1311begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement
VisualBasicAccessibilityFacts.vb (1)
147Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Modifiers
VisualBasicSyntaxFacts.vb (6)
722If TypeOf node Is MethodBlockBaseSyntax AndAlso Not TypeOf node.Parent Is PropertyBlockSyntax Then 730If TypeOf node Is PropertyStatementSyntax AndAlso Not TypeOf node.Parent Is PropertyBlockSyntax Then 738If TypeOf node Is PropertyBlockSyntax OrElse 773If TypeOf node Is PropertyStatementSyntax AndAlso Not TypeOf node.Parent Is PropertyBlockSyntax Then 789TypeOf node Is PropertyBlockSyntax OrElse 834Dim [property] = TryCast(node, PropertyBlockSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (28)
CodeGeneration\SyntaxGeneratorTests.vb (27)
1109VerifySyntax(Of PropertyBlockSyntax)( 1116VerifySyntax(Of PropertyBlockSyntax)( 1127VerifySyntax(Of PropertyBlockSyntax)( 1135VerifySyntax(Of PropertyBlockSyntax)( 1143VerifySyntax(Of PropertyBlockSyntax)( 1161VerifySyntax(Of PropertyBlockSyntax)( 1171VerifySyntax(Of PropertyBlockSyntax)( 1186VerifySyntax(Of PropertyBlockSyntax)( 1196VerifySyntax(Of PropertyBlockSyntax)( 1210VerifySyntax(Of PropertyBlockSyntax)( 1219VerifySyntax(Of PropertyBlockSyntax)( 1244VerifySyntax(Of PropertyBlockSyntax)( 1251VerifySyntax(Of PropertyBlockSyntax)( 1258VerifySyntax(Of PropertyBlockSyntax)( 1267VerifySyntax(Of PropertyBlockSyntax)( 1276VerifySyntax(Of PropertyBlockSyntax)( 1286VerifySyntax(Of PropertyBlockSyntax)( 1298VerifySyntax(Of PropertyBlockSyntax)( 1750VerifySyntax(Of PropertyBlockSyntax)( 1762VerifySyntax(Of PropertyBlockSyntax)( 1774VerifySyntax(Of PropertyBlockSyntax)( 1818VerifySyntax(Of PropertyBlockSyntax)( 1830VerifySyntax(Of PropertyBlockSyntax)( 2166VerifySyntax(Of PropertyBlockSyntax)( 2186VerifySyntax(Of PropertyBlockSyntax)( 2382VerifySyntax(Of PropertyBlockSyntax)(Generator.Declaration(method), 2408VerifySyntax(Of PropertyBlockSyntax)(Generator.Declaration(method),
Formatting\FormattingTests.vb (1)
4204Dim propertyBlock = (Await document.GetSyntaxRootAsync()).DescendantNodes().OfType(Of PropertyBlockSyntax).Single()
Microsoft.VisualStudio.LanguageServices.VisualBasic (42)
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (6)
555ElseIf TypeOf oldMember Is PropertyBlockSyntax OrElse 558If(TypeOf oldMember Is PropertyBlockSyntax, DirectCast(oldMember, PropertyBlockSyntax).PropertyStatement, DirectCast(oldMember, PropertyStatementSyntax)), 559If(TypeOf newMember Is PropertyBlockSyntax, DirectCast(newMember, PropertyBlockSyntax).PropertyStatement, DirectCast(newMember, PropertyStatementSyntax)), 1127TypeOf node.Parent Is PropertyBlockSyntax Then
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (8)
84Return GetPropertyBlockStartPoint(text, DirectCast(node, PropertyBlockSyntax), part) 174Return GetPropertyBlockEndPoint(text, DirectCast(node, PropertyBlockSyntax), part) 473Dim propertyBlock = methodBlock.FirstAncestorOrSelf(Of PropertyBlockSyntax)() 633Dim propertyBlock = methodBlock.FirstAncestorOrSelf(Of PropertyBlockSyntax)() 701Private Shared Function GetPropertyBlockStartPoint(text As SourceText, propertyBlock As PropertyBlockSyntax, part As EnvDTE.vsCMPart) As VirtualTreePoint? 740Private Shared Function GetPropertyBlockEndPoint(text As SourceText, propertyBlock As PropertyBlockSyntax, part As EnvDTE.vsCMPart) As VirtualTreePoint? 766DirectCast(propertyStatement.Parent, PropertyBlockSyntax).EndPropertyStatement.Span.End, 775DirectCast(propertyStatement.Parent, PropertyBlockSyntax).EndPropertyStatement.SpanStart,
CodeModel\VisualBasicCodeModelService.NodeNameGenerator.vb (1)
219Dim propertyBlock = DirectCast(node, PropertyBlockSyntax)
CodeModel\VisualBasicCodeModelService.vb (27)
142Return node.FirstAncestorOrSelf(Of PropertyBlockSyntax)() Is Nothing 242If Not TypeOf node.Parent Is PropertyBlockSyntax Then 387ElseIf TypeOf node Is PropertyBlockSyntax Then 388Return GetAttributeNodes(DirectCast(node, PropertyBlockSyntax).PropertyStatement.AttributeLists) 918Dim propertyBlock = DirectCast(node, PropertyBlockSyntax) 1040Return DirectCast(node, PropertyBlockSyntax).PropertyStatement 1133Return DirectCast(node, PropertyBlockSyntax).Accessors 1178ElseIf TypeOf parent Is PropertyBlockSyntax Then 1179Return GetParameterNodes(DirectCast(parent, PropertyBlockSyntax).PropertyStatement) 2719TypeOf memberNode.Parent Is PropertyBlockSyntax OrElse 2754ElseIf TypeOf resultMember Is PropertyBlockSyntax Then 2755resultMember = DirectCast(resultMember, PropertyBlockSyntax).PropertyStatement 2861Debug.Assert(TypeOf propertyNode Is PropertyBlockSyntax OrElse 2868Dim propertyBlock = TryCast(propertyNode, PropertyBlockSyntax) 2877Debug.Assert(TypeOf propertyNode Is PropertyBlockSyntax OrElse 2948Debug.Assert(TypeOf memberNode Is PropertyBlockSyntax OrElse 2954Dim propertyBlock = TryCast(memberNode, PropertyBlockSyntax) 3334Private Shared Function SetPropertyType(propertyBlock As PropertyBlockSyntax, typeSymbol As ITypeSymbol) As PropertyBlockSyntax 3426TypeOf node Is PropertyBlockSyntax OrElse 3469If TypeOf node Is PropertyBlockSyntax Then 3470Return SetPropertyType(DirectCast(node, PropertyBlockSyntax), typeSymbol) 3894ElseIf TypeOf container Is PropertyBlockSyntax Then 3895Dim propertyBlock = DirectCast(container, PropertyBlockSyntax) 3969ElseIf TypeOf container Is PropertyBlockSyntax Then 3970Dim propertyBlock = DirectCast(container, PropertyBlockSyntax) 4191If Not TypeOf node Is PropertyBlockSyntax AndAlso