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