14 references to WithPropertyStatement
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
StatementSyntaxExtensions.vb (2)
111
Return propertyBlock.
WithPropertyStatement
(newPropertyStatement)
258
Return propertyBlock.
WithPropertyStatement
(propertyBlock.PropertyStatement.WithModifiers(modifiers))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19017
Dim withObj = objectUnderTest.
WithPropertyStatement
(objectUnderTest.PropertyStatement).WithAccessors(objectUnderTest.Accessors).WithEndPropertyStatement(objectUnderTest.EndPropertyStatement)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
CodeGeneration\VisualBasicCodeGenerationService.vb (1)
292
Dim newPropertyBlock As SyntaxNode = propertyBlock.
WithPropertyStatement
(newPropertyStatement)
CodeGeneration\VisualBasicSyntaxGenerator.vb (5)
1248
Return pb.
WithPropertyStatement
(pb.PropertyStatement.WithImplementsClause(clause))
1860
Return DirectCast(node, PropertyBlockSyntax).
WithPropertyStatement
(DirectCast(node, PropertyBlockSyntax).PropertyStatement.WithAttributeLists(arg))
2345
Return DirectCast(declaration, PropertyBlockSyntax).
WithPropertyStatement
(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithAsClause(asClause))
2611
Return DirectCast(declaration, PropertyBlockSyntax).
WithPropertyStatement
(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithModifiers(tokens))
2985
Return DirectCast(declaration, PropertyBlockSyntax).
WithPropertyStatement
(DirectCast(declaration, PropertyBlockSyntax).PropertyStatement.WithParameterList(list))
StatementSyntaxExtensions.vb (2)
111
Return propertyBlock.
WithPropertyStatement
(newPropertyStatement)
258
Return propertyBlock.
WithPropertyStatement
(propertyBlock.PropertyStatement.WithModifiers(modifiers))
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
CodeModel\VisualBasicCodeModelService.vb (3)
3347
propertyBlock = propertyBlock.
WithPropertyStatement
(propertyStatement)
3897
Return propertyBlock.
WithPropertyStatement
(propertyBlock.PropertyStatement.WithAttributeLists(attributeLists))
3974
Return propertyBlock.
WithPropertyStatement
(propertyStatement)