192 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)
236Public 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)
2690Public Overloads Function GetDeclaredSymbol(declarationSyntax As PropertyBlockSyntax, Optional cancellationToken As CancellationToken = Nothing) As IPropertySymbol 3318Return Me.GetDeclaredSymbol(DirectCast(node, PropertyBlockSyntax), cancellationToken) 3554If 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)
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
139Dim t = DirectCast(node, PropertyBlockSyntax)
Symbols\Source\LocalSymbol.vb (1)
548Dim propertyBlock = DirectCast(node.Parent, PropertyBlockSyntax)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2596Dim propertyDecl = DirectCast(memberSyntax, PropertyBlockSyntax) 2642blockSyntaxOpt As PropertyBlockSyntax,
Symbols\Source\SourceMethodSymbol.vb (1)
1054Dim propertySyntax = TryCast(syntax.Parent.Parent, PropertyBlockSyntax)
Symbols\Source\SourcePropertySymbol.vb (1)
86blockSyntaxOpt 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
VisualBasicExtensions.vb (1)
1175Public Function GetDeclaredSymbol(semanticModel As SemanticModel, declarationSyntax As PropertyBlockSyntax, Optional cancellationToken As CancellationToken = Nothing) As IPropertySymbol
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (27)
src\roslyn\src\Analyzers\VisualBasic\Analyzers\UseAutoProperty\VisualBasicUseAutoPropertyAnalyzer.vb (1)
16PropertyBlockSyntax,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (6)
927Dim [property] = TryCast(node, PropertyBlockSyntax) 1127Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ParameterList 1185Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.AttributeLists 1239begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1280begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1299Return DirectCast(declaration, PropertyBlockSyntax).Accessors
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
308IsBeginStatement(Of PropertyStatementSyntax, PropertyBlockSyntax)(currentStatement) OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
360Dim [property] = TryCast(node, PropertyBlockSyntax)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (1)
142Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Modifiers
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (7)
718If TypeOf node Is MethodBlockBaseSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 726If TypeOf node Is PropertyStatementSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 734If TypeOf node Is PropertyBlockSyntax OrElse 751If TypeOf node Is MethodBlockBaseSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 808If TypeOf node Is PropertyStatementSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 824TypeOf node Is PropertyBlockSyntax OrElse 1440Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.Initializer
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (11)
src\c975b9246f6b2dc6\VisualBasicSemanticModelReuseLanguageService.vb (2)
29Contract.ThrowIfFalse(TypeOf container Is PropertyBlockSyntax OrElse 35Contract.ThrowIfFalse(TypeOf member Is PropertyBlockSyntax OrElse
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (6)
21Inherits AbstractUseAutoPropertyCodeFixProvider(Of VisualBasicUseAutoPropertyCodeFixProvider, TypeBlockSyntax, PropertyBlockSyntax, ModifiedIdentifierSyntax, ConstructorBlockSyntax, ExpressionSyntax) 30Protected Overrides Function GetPropertyDeclaration(node As SyntaxNode) As PropertyBlockSyntax 35Return DirectCast(node, PropertyBlockSyntax) 46Protected Overrides Function RewriteFieldReferencesInProperty([property] As PropertyBlockSyntax, fieldLocations As ImmutableArray(Of ReferencedSymbol), cancellationToken As CancellationToken) As PropertyBlockSyntax 57propertyDeclaration As PropertyBlockSyntax,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (2)
226Dim propertyBlock = TryCast(destinationMember, PropertyBlockSyntax) 284propertyBlock As PropertyBlockSyntax,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (1)
129Return DirectCast(node, PropertyBlockSyntax).PropertyStatement
Microsoft.CodeAnalysis.VisualBasic.Features (38)
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)
41Dim propertyBlock = token.GetAncestor(Of PropertyBlockSyntax)() 216Dim 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)
1254Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.Identifier
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (2)
211Return (DirectCast(declaration.Parent, PropertyBlockSyntax).PropertyStatement.ParameterList, 1146Return GetDiagnosticSpan(DirectCast(node, PropertyBlockSyntax).PropertyStatement)
ExtractMethod\VisualBasicMethodExtractor.vb (1)
38Dim enclosingTopLevelNode As SyntaxNode = basePosition.GetAncestor(Of PropertyBlockSyntax)()
GenerateMember\GenerateVariable\VisualBasicGenerateVariableService.vb (1)
43Dim 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)
46Dim propertyBlockNode = TryCast(member, PropertyBlockSyntax)
InitializeParameter\VisualBasicInitializeMemberFromParameterCodeRefactoringProvider.vb (1)
50Dim propertyBlock = TryCast(propertySyntax, PropertyBlockSyntax)
LineSeparators\VisualBasicLineSeparatorService.vb (1)
34TypeOf (node) Is PropertyBlockSyntax OrElse
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
80TypeOf node Is PropertyBlockSyntax OrElse
SolutionCrawler\VisualBasicDocumentDifferenceService.vb (1)
32Dim [property] = TryCast(node, PropertyBlockSyntax)
SolutionExplorer\VisualBasicSolutionExplorerSymbolTreeItemProvider.vb (1)
157Dim propertystatement = If(TryCast(member, PropertyStatementSyntax), TryCast(member, PropertyBlockSyntax)?.PropertyStatement)
src\roslyn\src\Analyzers\VisualBasic\Analyzers\UseAutoProperty\VisualBasicUseAutoPropertyAnalyzer.vb (1)
16PropertyBlockSyntax,
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (6)
21Inherits AbstractUseAutoPropertyCodeFixProvider(Of VisualBasicUseAutoPropertyCodeFixProvider, TypeBlockSyntax, PropertyBlockSyntax, ModifiedIdentifierSyntax, ConstructorBlockSyntax, ExpressionSyntax) 30Protected Overrides Function GetPropertyDeclaration(node As SyntaxNode) As PropertyBlockSyntax 35Return DirectCast(node, PropertyBlockSyntax) 46Protected Overrides Function RewriteFieldReferencesInProperty([property] As PropertyBlockSyntax, fieldLocations As ImmutableArray(Of ReferencedSymbol), cancellationToken As CancellationToken) As PropertyBlockSyntax 57propertyDeclaration As PropertyBlockSyntax,
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
139Dim t = DirectCast(node, PropertyBlockSyntax)
Structure\Providers\PropertyDeclarationStructureProvider.vb (1)
21Dim block = TryCast(propertyDeclaration.Parent, PropertyBlockSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (56)
CodeGeneration\VisualBasicSyntaxGenerator.vb (24)
836propertyBlock = DirectCast(WithModifiers(propertyBlock, GetModifiers(propertyBlock) Or DeclarationModifiers.ReadOnly), PropertyBlockSyntax) 838propertyBlock = DirectCast(WithModifiers(propertyBlock, GetModifiers(propertyBlock) Or DeclarationModifiers.WriteOnly), PropertyBlockSyntax) 840propertyBlock = DirectCast(WithModifiers(propertyBlock, GetModifiers(propertyBlock).WithIsReadOnly(False).WithIsWriteOnly(False)), PropertyBlockSyntax) 848Private Shared Function GetPropertyBlock(declaration As SyntaxNode) As PropertyBlockSyntax 849Dim propertyBlock = TryCast(declaration, PropertyBlockSyntax) 1050Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ImplementsClause 1068Dim pb = DirectCast(declaration, PropertyBlockSyntax) 1292Return AsInterfaceMember(DirectCast(node, PropertyBlockSyntax).PropertyStatement) 1687Return DirectCast(node, PropertyBlockSyntax).WithPropertyStatement(DirectCast(node, PropertyBlockSyntax).PropertyStatement.WithAttributeLists(arg)) 1819Dim p = DirectCast(declaration, PropertyBlockSyntax).PropertyStatement 1934Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Identifier.ValueText 2019Return ReplaceWithTrivia(declaration, DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Identifier, id) 2127Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.AsClause 2172Return DirectCast(declaration, PropertyBlockSyntax).WithPropertyStatement(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithAsClause(asClause)) 2440Return DirectCast(declaration, PropertyBlockSyntax).WithPropertyStatement(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithModifiers(tokens)) 2727Return DirectCast(declaration, PropertyBlockSyntax).WithPropertyStatement(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithParameterList(list)) 3028Return DirectCast(declaration, PropertyBlockSyntax).Accessors 3050Return DirectCast(declaration, PropertyBlockSyntax).WithAccessors(accessorList) 3133Return DirectCast(declaration, PropertyBlockSyntax).Accessors.FirstOrDefault(Function(a) a.IsKind(kind)) 3149Dim pb = DirectCast(declaration, PropertyBlockSyntax)
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (1)
207node = DirectCast(node, PropertyBlockSyntax).PropertyStatement
src\c975b9246f6b2dc6\VisualBasicSemanticModelReuseLanguageService.vb (2)
29Contract.ThrowIfFalse(TypeOf container Is PropertyBlockSyntax OrElse 35Contract.ThrowIfFalse(TypeOf member Is PropertyBlockSyntax OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (6)
927Dim [property] = TryCast(node, PropertyBlockSyntax) 1127Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ParameterList 1185Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.AttributeLists 1239begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1280begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1299Return DirectCast(declaration, PropertyBlockSyntax).Accessors
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
308IsBeginStatement(Of PropertyStatementSyntax, PropertyBlockSyntax)(currentStatement) OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
360Dim [property] = TryCast(node, PropertyBlockSyntax)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (1)
142Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Modifiers
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (7)
718If TypeOf node Is MethodBlockBaseSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 726If TypeOf node Is PropertyStatementSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 734If TypeOf node Is PropertyBlockSyntax OrElse 751If TypeOf node Is MethodBlockBaseSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 808If TypeOf node Is PropertyStatementSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 824TypeOf node Is PropertyBlockSyntax OrElse 1440Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.Initializer
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (2)
226Dim propertyBlock = TryCast(destinationMember, PropertyBlockSyntax) 284propertyBlock As PropertyBlockSyntax,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (1)
129Return DirectCast(node, PropertyBlockSyntax).PropertyStatement
Roslyn.Diagnostics.VisualBasic.Analyzers (31)
src\c975b9246f6b2dc6\VisualBasicSemanticModelReuseLanguageService.vb (2)
29Contract.ThrowIfFalse(TypeOf container Is PropertyBlockSyntax OrElse 35Contract.ThrowIfFalse(TypeOf member Is PropertyBlockSyntax OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (6)
927Dim [property] = TryCast(node, PropertyBlockSyntax) 1127Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.ParameterList 1185Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.AttributeLists 1239begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1280begin = DirectCast(parent, PropertyBlockSyntax).PropertyStatement 1299Return DirectCast(declaration, PropertyBlockSyntax).Accessors
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
308IsBeginStatement(Of PropertyStatementSyntax, PropertyBlockSyntax)(currentStatement) OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Rules\NodeBasedFormattingRule.vb (1)
360Dim [property] = TryCast(node, PropertyBlockSyntax)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (1)
142Return DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.Modifiers
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (7)
718If TypeOf node Is MethodBlockBaseSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 726If TypeOf node Is PropertyStatementSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 734If TypeOf node Is PropertyBlockSyntax OrElse 751If TypeOf node Is MethodBlockBaseSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 808If TypeOf node Is PropertyStatementSyntax AndAlso TypeOf node.Parent IsNot PropertyBlockSyntax Then 824TypeOf node Is PropertyBlockSyntax OrElse 1440Return DirectCast(node, PropertyBlockSyntax).PropertyStatement.Initializer
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (2)
226Dim propertyBlock = TryCast(destinationMember, PropertyBlockSyntax) 284propertyBlock As PropertyBlockSyntax,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (1)
129Return DirectCast(node, PropertyBlockSyntax).PropertyStatement