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