2 references to UnderValidContext
Microsoft.CodeAnalysis.CSharp.Features (2)
ExtractMethod\CSharpSelectionValidator.cs (2)
226if (!firstTokenInSelection.UnderValidContext() || !lastTokenInSelection.UnderValidContext())