3 references to IsInTypeOnlyContext
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
156if (SyntaxFacts.IsInTypeOnlyContext(expression) &&
Compilation\CSharpSemanticModel.cs (1)
1618if (parentExpr != null && !(parentExpr.Parent is XmlNameAttributeSyntax) && !SyntaxFacts.IsInTypeOnlyContext(parentExpr) && !binder.IsInsideNameof)
Compiler\MethodCompiler.cs (1)
2054if (SyntaxFacts.IsInTypeOnlyContext(expression) &&