22 references to NamespaceAliasesOnly
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
109if ((options & LookupOptions.NamespaceAliasesOnly) != 0)
Binder\Binder_Lookup.cs (3)
292if ((options & LookupOptions.NamespaceAliasesOnly) == 0 && (object)submission.ScriptClass != null) 1028if ((options & LookupOptions.NamespaceAliasesOnly) == 0 && !originalBinder.InCrefButNotParameterOrReturnType && 1172if ((options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly)) != 0)
Binder\Binder_Symbols.cs (3)
365this.LookupSymbolsWithFallback(result, plainName, 0, ref useSiteInfo, null, LookupOptions.NamespaceAliasesOnly); 368Symbol bindingResult = ResultSymbol(result, plainName, 0, node, diagnostics, false, out wasError, qualifierOpt: null, options: LookupOptions.NamespaceAliasesOnly); 2587if (options == LookupOptions.NamespaceAliasesOnly)
Binder\InContainerBinder.cs (1)
109if ((options & LookupOptions.NamespaceAliasesOnly) == 0)
Binder\InMethodBinder.cs (1)
198if (_methodSymbol.ParameterCount == 0 || (options & LookupOptions.NamespaceAliasesOnly) != 0)
Binder\LocalScopeBinder.cs (1)
442if (localsMap != null && (options & LookupOptions.NamespaceAliasesOnly) == 0)
Binder\LookupOptions.cs (5)
152(options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly)) != 0) 158(LookupOptions.NamespaceAliasesOnly 180return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly | LookupOptions.LabelsOnly)) == 0; 185return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly | LookupOptions.LabelsOnly)) == 0; 190return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.MustBeInvocableIfMember | LookupOptions.MustBeInstance | LookupOptions.LabelsOnly)) == 0;
Binder\WithLambdaParametersBinder.cs (1)
91if ((options & LookupOptions.NamespaceAliasesOnly) != 0)
Binder\WithMethodTypeParametersBinder.cs (1)
60return LookupOptions.NamespaceAliasesOnly | LookupOptions.MustNotBeMethodTypeParameter;
Binder\WithParametersBinder.cs (1)
48if ((options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.MustBeInvocableIfMember)) != 0)
Binder\WithPrimaryConstructorParametersBinder.cs (1)
68if ((options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly)) != 0)
Binder\WithTypeParametersBinder.cs (1)
29return LookupOptions.NamespaceAliasesOnly | LookupOptions.MustBeInvocableIfMember;
Binder\WithUsingNamespacesAndTypesBinder.cs (1)
202options = (options & ~(LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly)) | LookupOptions.MustNotBeNamespace;
Compilation\CSharpSemanticModel.cs (1)
1610(options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly | LookupOptions.LabelsOnly)) == 0)