24 references to LabelsOnly
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Expressions.cs (1)
2401
this.LookupSymbolsWithFallback(result, labelName, arity: 0, useSiteInfo: ref useSiteInfo, options: LookupOptions.
LabelsOnly
);
Binder\Binder_Lookup.cs (7)
106
if ((options & LookupOptions.
LabelsOnly
) != 0 && scope.IsLastBinderWithinMember())
1303
else if ((options & LookupOptions.
LabelsOnly
) != 0)
1327
else if ((options & LookupOptions.
LabelsOnly
) != 0)
1491
else if ((options & LookupOptions.
LabelsOnly
) != 0 && unwrappedSymbol.Kind != SymbolKind.Label)
1835
if ((options & LookupOptions.
LabelsOnly
) != 0 && scope.IsLastBinderWithinMember())
1901
if ((options & LookupOptions.
LabelsOnly
) == 0 && !(isCurrentSubmission && inUsings))
1922
if ((options & LookupOptions.
LabelsOnly
) == 0)
Binder\Binder_Statements.cs (2)
476
var binder = this.LookupSymbolsWithFallback(result, node.Identifier.ValueText, arity: 0, useSiteInfo: ref useSiteInfo, options: LookupOptions.
LabelsOnly
);
494
binder.Next.LookupSymbolsWithFallback(result, node.Identifier.ValueText, arity: 0, useSiteInfo: ref useSiteInfo, options: LookupOptions.
LabelsOnly
);
Binder\LocalScopeBinder.cs (2)
427
if ((options & LookupOptions.
LabelsOnly
) != 0)
466
if ((options & LookupOptions.
LabelsOnly
) != 0)
Binder\LookupOptions.cs (6)
138
if ((options & LookupOptions.
LabelsOnly
) != 0)
140
return options == LookupOptions.
LabelsOnly
;
180
return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly | LookupOptions.
LabelsOnly
)) == 0;
185
return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly | LookupOptions.
LabelsOnly
)) == 0;
190
return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.MustBeInvocableIfMember | LookupOptions.MustBeInstance | LookupOptions.
LabelsOnly
)) == 0;
195
return (options & (LookupOptions.MustNotBeNamespace | LookupOptions.MustBeInvocableIfMember | LookupOptions.MustBeInstance | LookupOptions.
LabelsOnly
)) == 0;
Binder\WithExternAliasesBinder.cs (1)
53
if ((options & LookupOptions.
LabelsOnly
) == 0)
Binder\WithExternAndUsingAliasesBinder.cs (1)
57
if ((options & LookupOptions.
LabelsOnly
) == 0)
Binder\WithTypeParametersBinder.cs (1)
35
return (options & (LookupMask | LookupOptions.MustBeInstance | LookupOptions.
LabelsOnly
)) == 0;
Binder\WithUsingNamespacesAndTypesBinder.cs (1)
199
if ((options & LookupOptions.
LabelsOnly
) == 0)
Compilation\CSharpSemanticModel.cs (2)
1535
return LookupSymbolsInternal(position, container: null, name: name, options: LookupOptions.
LabelsOnly
, useBaseReferenceAccessibility: false);
1610
(options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.NamespacesOrTypesOnly | LookupOptions.
LabelsOnly
)) == 0)