6 references to SetAccessorDeclaration
Microsoft.CodeAnalysis.CSharp.Features (2)
Snippets\AbstractCSharpAutoPropertySnippetProvider.cs (1)
32
=> (AccessorDeclarationSyntax)generator.
SetAccessorDeclaration
();
Snippets\CSharpPropgSnippetProvider.cs (1)
44
return (AccessorDeclarationSyntax)generator.
SetAccessorDeclaration
(Accessibility.Private);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
2816
var setAccessor = (AccessorDeclarationSyntax)Generator.
SetAccessorDeclaration
();
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (3)
CodeGeneration\SyntaxGeneratorTests.vb (3)
1192
Generator.
SetAccessorDeclaration
(Accessibility.NotApplicable, {Generator.ReturnStatement()})),
1216
Generator.
SetAccessorDeclaration
(Accessibility.Protected, {Generator.ReturnStatement()})),
1239
Generator.
SetAccessorDeclaration
(Accessibility.Protected, {Generator.ReturnStatement()})),