10 references to SetAccessor
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
298
return DeclarationKind.
SetAccessor
;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.cs (4)
1961
CheckAddRemoveAttribute(Generator.GetAccessor(prop, DeclarationKind.
SetAccessor
));
3365
var setAccessor = Generator.GetAccessor(prop, DeclarationKind.
SetAccessor
);
3371
Assert.Null(Generator.GetAccessor(Generator.RemoveNode(prop, setAccessor), DeclarationKind.
SetAccessor
));
3396
Assert.Equal(Accessibility.Public, Generator.GetAccessibility(Generator.GetAccessor(newProp, DeclarationKind.
SetAccessor
)));
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
1845
Return DeclarationKind.
SetAccessor
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.vb (4)
2280
CheckAddRemoveAttribute(Generator.GetAccessor(prop, DeclarationKind.
SetAccessor
))
3069
Dim setAccessor = _g.GetAccessor(prop, DeclarationKind.
SetAccessor
)
3075
Assert.Null(_g.GetAccessor(_g.RemoveNode(prop, setAccessor), DeclarationKind.
SetAccessor
))
3095
Assert.Equal(Accessibility.Public, _g.GetAccessibility(_g.GetAccessor(newProp, DeclarationKind.
SetAccessor
)))