12 references to GetAccessor
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
295
return DeclarationKind.
GetAccessor
;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
CodeGeneration\SyntaxGeneratorTests.cs (6)
1960
CheckAddRemoveAttribute(Generator.GetAccessor(prop, DeclarationKind.
GetAccessor
));
3356
var getAccessor = Generator.GetAccessor(prop, DeclarationKind.
GetAccessor
);
3370
Assert.Null(Generator.GetAccessor(Generator.RemoveNode(prop, getAccessor), DeclarationKind.
GetAccessor
));
3393
Assert.Equal(Accessibility.Public, Generator.GetAccessibility(Generator.GetAccessor(newProp, DeclarationKind.
GetAccessor
)));
3456
var y2 = Generator.AddAccessors(y, [Generator.GetAccessor(x, DeclarationKind.
GetAccessor
)]);
3477
var y2 = Generator.AddAccessors(y, [Generator.GetAccessor(x, DeclarationKind.
GetAccessor
)]);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
1843
Return DeclarationKind.
GetAccessor
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.vb (4)
2279
CheckAddRemoveAttribute(Generator.GetAccessor(prop, DeclarationKind.
GetAccessor
))
3059
Dim getAccessor = _g.GetAccessor(prop, DeclarationKind.
GetAccessor
)
3074
Assert.Null(_g.GetAccessor(_g.RemoveNode(prop, getAccessor), DeclarationKind.
GetAccessor
))
3092
Assert.Equal(Accessibility.Public, _g.GetAccessibility(_g.GetAccessor(newProp, DeclarationKind.
GetAccessor
)))