2 references to IsNameOfContext
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateMethodService.cs (1)
156
if (semanticModel.SyntaxTree.
IsNameOfContext
(expression.SpanStart, semanticModel, cancellationToken))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
285
isNameOfContext: syntaxTree.
IsNameOfContext
(position, semanticModel, cancellationToken),