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