26 references to LabelsOnly
Microsoft.CodeAnalysis.VisualBasic (26)
Binding\Binder_Expressions.vb (1)
3578Me.Lookup(result, labelName, arity:=0, options:=LookupOptions.LabelsOnly, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
Binding\Binder_Lambda.vb (2)
1126If (options And LookupOptions.LabelsOnly) = LookupOptions.LabelsOnly Then
Binding\Binder_Lookup.vb (6)
128If (options And LookupOptions.LabelsOnly) <> 0 Then 130If options = LookupOptions.LabelsOnly AndAlso sym.Kind = SymbolKind.Label Then 2094If (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly)) = LookupOptions.NamespacesOrTypesOnly Then 2100ElseIf (options And LookupOptions.LabelsOnly) = 0 Then 2125If (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly)) = LookupOptions.NamespacesOrTypesOnly Then 2135ElseIf (options And LookupOptions.LabelsOnly) = 0 Then
Binding\Binder_Statements.vb (1)
933Lookup(result, labelName, 0, LookupOptions.LabelsOnly, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
Binding\BlockBaseBinder.vb (2)
66If Not locals.IsEmpty AndAlso (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly Or LookupOptions.MustNotBeLocalOrParameter)) = 0 Then 92If Not locals.IsEmpty AndAlso (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly)) = 0 Then
Binding\DocumentationCommentParamBinder.vb (1)
67LookupOptions.LabelsOnly Or
Binding\DocumentationCommentTypeParamBinder.vb (2)
57If (options And (LookupOptions.LabelsOnly Or LookupOptions.MustBeInstance Or LookupOptions.AttributeTypeOnly)) <> 0 Then 80If (options And (LookupOptions.LabelsOnly Or LookupOptions.MustBeInstance Or LookupOptions.AttributeTypeOnly)) <> 0 Then
Binding\ExecutableCodeBinder.vb (4)
122If (options And LookupOptions.LabelsOnly) = LookupOptions.LabelsOnly AndAlso LabelsMap IsNot Nothing Then 155If Not Labels.IsEmpty AndAlso (options And LookupOptions.LabelsOnly) = LookupOptions.LabelsOnly Then
Binding\ImplicitVariableBinder.vb (2)
218If _implicitLocals IsNot Nothing AndAlso (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly)) = 0 Then 233(options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly)) = 0 Then
Binding\LookupOptions.vb (1)
153Friend Const ConsiderationMask As LookupOptions = LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly
Binding\SubOrFunctionBodyBinder.vb (2)
70If (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly Or LookupOptions.MustNotBeLocalOrParameter)) = 0 Then 84If (options And (LookupOptions.NamespacesOrTypesOnly Or LookupOptions.LabelsOnly)) = 0 Then
Compilation\SemanticModel.vb (2)
1745Dim result = LookupSymbolsInternal(position, container:=Nothing, name:=name, options:=LookupOptions.LabelsOnly, useBaseReferenceAccessibility:=False) 2010(options And (LookupOptions.LabelsOnly Or LookupOptions.NamespacesOrTypesOnly Or LookupOptions.MustNotBeInstance)) = 0 Then