46 references to BindingLocation
Microsoft.CodeAnalysis.VisualBasic (46)
Binding\AttributeSemanticModel.vb (1)
30wrappedBinder = New LocationSpecificBinder(BindingLocation.Attribute, owner, binder)
Binding\BackstopBinder.vb (2)
229Public Overrides ReadOnly Property BindingLocation As BindingLocation 231Return BindingLocation.None
Binding\Binder.vb (9)
1008Public Overridable ReadOnly Property BindingLocation As BindingLocation 1030Case BindingLocation.BaseTypes, 1031BindingLocation.MethodSignature, 1032BindingLocation.FieldType, 1033BindingLocation.PropertyType, 1034BindingLocation.EventType, 1035BindingLocation.GenericConstraintsClause, 1036BindingLocation.ProjectImportsDeclaration, 1037BindingLocation.SourceFileImportsDeclaration
Binding\Binder_Attributes.vb (2)
47binder = New LocationSpecificBinder(VisualBasic.BindingLocation.Attribute, ownerSymbol, binder) 67binder = New LocationSpecificBinder(VisualBasic.BindingLocation.Attribute, ownerSymbol, binder)
Binding\Binder_Expressions.vb (1)
2230If Me.BindingLocation = VisualBasic.BindingLocation.Attribute Then
Binding\Binder_Imports.vb (3)
137If(binder.BindingLocation = BindingLocation.ProjectImportsDeclaration, NoLocation.Singleton, aliasIdentifier.GetLocation())) 208data.AddMember(binder.GetSyntaxReference(importsName), importedSymbol, membersImportsSyntax.SpanStart, DirectCast(diagBag.DependenciesBag, IReadOnlyCollection(Of AssemblySymbol)), binder.BindingLocation = BindingLocation.ProjectImportsDeclaration) 242Dim reference = If(binder.BindingLocation = BindingLocation.ProjectImportsDeclaration,
Binding\BinderBuilder.vb (2)
52Return New LocationSpecificBinder(BindingLocation.SourceFileImportsDeclaration, ignoreBasesBinder) 70Return New LocationSpecificBinder(BindingLocation.ProjectImportsDeclaration, ignoreBasesBinder)
Binding\EarlyWellKnownAttributeBinder.vb (2)
45Public Overrides ReadOnly Property BindingLocation As BindingLocation 47Return BindingLocation.Attribute
Binding\LocationSpecificBinder.vb (4)
26Private ReadOnly _location As BindingLocation 29Public Sub New(location As BindingLocation, containingBinder As Binder) 33Public Sub New(location As BindingLocation, owner As Symbol, containingBinder As Binder) 39Public Overrides ReadOnly Property BindingLocation As BindingLocation
Semantics\OverloadResolution.vb (2)
1107binder.BindingLocation <> BindingLocation.Attribute AndAlso 3750If binder.BindingLocation = BindingLocation.Attribute AndAlso
Symbols\Source\CustomEventAccessorSymbol.vb (1)
67binder = New LocationSpecificBinder(BindingLocation.EventAccessorSignature, Me, binder)
Symbols\Source\SourceEventSymbol.vb (3)
98binder = New LocationSpecificBinder(BindingLocation.EventSignature, Me, binder) 155binder = New LocationSpecificBinder(BindingLocation.EventType, Me, binder) 743Return New LocationSpecificBinder(BindingLocation.EventSignature, Me, binder)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
109binder = New LocationSpecificBinder(BindingLocation.FieldType, Me, binder)
Symbols\Source\SourceMemberMethodSymbol.vb (1)
579typeBinder = New LocationSpecificBinder(BindingLocation.HandlesClause, Me, typeBinder)
Symbols\Source\SourceMethodSymbol.vb (2)
904binder = New LocationSpecificBinder(BindingLocation.GenericConstraintsClause, Me, binder) 2233Return New LocationSpecificBinder(BindingLocation.MethodSignature, Me, binder)
Symbols\Source\SourceNamedTypeSymbol.vb (6)
155Private Function CreateLocationSpecificBinderForType(tree As SyntaxTree, location As BindingLocation) As Binder 156Debug.Assert(location <> BindingLocation.None) 825Dim binder As Binder = CreateLocationSpecificBinderForType(tree, BindingLocation.GenericConstraintsClause) 1002Dim binder As Binder = CreateLocationSpecificBinderForType(tree, BindingLocation.BaseTypes) 1031Dim binder As Binder = CreateLocationSpecificBinderForType(tree, BindingLocation.BaseTypes) 1318Dim binder As Binder = CreateLocationSpecificBinderForType(part.SyntaxTree, BindingLocation.BaseTypes)
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
288binder = New LocationSpecificBinder(BindingLocation.PropertyAccessorSignature, Me, binder)
Symbols\Source\SourcePropertySymbol.vb (3)
103bodyBinder = New LocationSpecificBinder(BindingLocation.PropertySignature, prop, bodyBinder) 341binder = New LocationSpecificBinder(BindingLocation.PropertyType, Me, binder) 1067Return New LocationSpecificBinder(BindingLocation.PropertySignature, Me, binder)