11 references to IsNamespace
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Lookup.cs (2)
169
if (nsOrType.
IsNamespace
)
1853
if (nsOrType.
IsNamespace
)
Binder\Binder_Symbols.cs (2)
2576
Debug.Assert(qualifierOpt.
IsNamespace
);
2593
if (aliasOpt != null && qualifierOpt.
IsNamespace
&& ((NamespaceSymbol)qualifierOpt).IsGlobalNamespace)
Binder\ImportChain.cs (1)
80
if (namespaceOrType.
IsNamespace
)
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
168
if (target.
IsNamespace
)
Compilation\SyntaxTreeSemanticModel.cs (1)
2329
if (!container.
IsNamespace
)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
331
if (container.
IsNamespace
&& GeneratedNameParser.TryParseFileTypeName(_name, out var displayFileName, out var ordinal, out var originalTypeName))
Symbols\NamespaceOrTypeSymbol.cs (2)
54
return !
IsNamespace
;
270
bool isTopLevel = scope.
IsNamespace
;
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
1074
if (target.
IsNamespace
)