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