19 references to NamespacesOrTypesOnly
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Expressions.cs (1)
1804
Debug.Assert((options & LookupOptions.
NamespacesOrTypesOnly
) == 0);
Binder\Binder_Lookup.cs (7)
343
options = options & ~(LookupOptions.MustBeInvocableIfMember | LookupOptions.
NamespacesOrTypesOnly
);
1029
((options & LookupOptions.
NamespacesOrTypesOnly
) == 0 || !(current.IsSingleViable && TypeSymbol.Equals(current.SingleSymbolOrDefault.ContainingType, type, TypeCompareKind.AllIgnoreOptions)))) // The nested type will shadow everything from bases
1172
if ((options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
)) != 0)
1295
if ((options & LookupOptions.
NamespacesOrTypesOnly
) != 0 && nsOrType is TypeSymbol)
1319
if ((options & LookupOptions.
NamespacesOrTypesOnly
) != 0 && nsOrType is TypeSymbol)
1430
else if ((options & LookupOptions.
NamespacesOrTypesOnly
) != 0 && !(unwrappedSymbol is NamespaceOrTypeSymbol))
1592
if ((options & LookupOptions.
NamespacesOrTypesOnly
) != 0 && !(symbol is NamespaceOrTypeSymbol))
Binder\Binder_Symbols.cs (2)
201
this.LookupSymbolsInternal(lookupResult, identifierValueText, arity: 0, useSiteInfo: ref discardedUseSiteInfo, basesBeingResolved: null, options: LookupOptions.
NamespacesOrTypesOnly
, diagnose: false);
1080
return LookupOptions.
NamespacesOrTypesOnly
;
Binder\LookupOptions.cs (5)
85
AttributeTypeOnly = (1 << 11) |
NamespacesOrTypesOnly
,
152
(options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
)) != 0)
159
| LookupOptions.
NamespacesOrTypesOnly
180
return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
| LookupOptions.LabelsOnly)) == 0;
185
return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
| LookupOptions.LabelsOnly)) == 0;
Binder\WithPrimaryConstructorParametersBinder.cs (1)
68
if ((options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
)) != 0)
Binder\WithUsingNamespacesAndTypesBinder.cs (1)
204
options = (options & ~(LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
)) | LookupOptions.MustNotBeNamespace;
Compilation\CSharpSemanticModel.cs (2)
1514
return LookupSymbolsInternal(position, container, name, LookupOptions.
NamespacesOrTypesOnly
, useBaseReferenceAccessibility: false);
1610
(options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.
NamespacesOrTypesOnly
| LookupOptions.LabelsOnly)) == 0)