5 references to MustNotBeNamespace
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Lookup.cs (2)
1486
else if ((options & LookupOptions.
MustNotBeNamespace
) != 0 && unwrappedSymbol.Kind == SymbolKind.Namespace)
1618
else if ((options & LookupOptions.
MustNotBeNamespace
) != 0 && (symbol.Kind == SymbolKind.Namespace))
Binder\LookupOptions.cs (2)
151
if ((options & (LookupOptions.
MustNotBeNamespace
| LookupOptions.MustNotBeMethodTypeParameter)) != 0 &&
195
return (options & (LookupOptions.
MustNotBeNamespace
| LookupOptions.MustBeInvocableIfMember | LookupOptions.MustBeInstance | LookupOptions.LabelsOnly)) == 0;
Binder\WithUsingNamespacesAndTypesBinder.cs (1)
204
options = (options & ~(LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly)) | LookupOptions.
MustNotBeNamespace
;