5 references to GetEnclosingMember
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (2)
201
var previousMember = FormattingRangeHelper.
GetEnclosingMember
(previousToken);
202
var nextMember = FormattingRangeHelper.
GetEnclosingMember
(currentToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (3)
138
if (
GetEnclosingMember
(endToken) is PropertyDeclarationSyntax propertyDeclaration &&
425
var previousMember =
GetEnclosingMember
(previousToken);
426
var nextMember =
GetEnclosingMember
(currentToken);