40 types derived from Binder
Microsoft.CodeAnalysis.VisualBasic (40)
Binding\AttributeBinder.vb (1)
15Inherits Binder
Binding\BackstopBinder.vb (1)
25Inherits Binder
Binding\BasesBeingResolvedBinder.vb (1)
23Inherits Binder
Binding\Binder_AnonymousTypes.vb (2)
72Inherits Binder 367Inherits Binder
Binding\Binder_ConditionalAccess.vb (1)
97Inherits Binder
Binding\Binder_Expressions.vb (1)
1182Inherits Binder
Binding\Binder_Invocation.vb (1)
88Inherits Binder
Binding\Binder_ObjectInitializer.vb (1)
1017Inherits Binder
Binding\Binder_Query.vb (1)
3732Inherits Binder
Binding\Binder_XmlLiterals.vb (4)
1424Inherits Binder 1462Inherits Binder 1476Inherits Binder 1503Inherits Binder
Binding\BlockBaseBinder.vb (1)
27Inherits Binder
Binding\ConstantFieldsInProgressBinder.vb (1)
17Inherits Binder
Binding\DeclarationInitializerBinder.vb (1)
16Inherits Binder
Binding\DefaultParametersInProgressBinder.vb (1)
35Inherits Binder
Binding\DocumentationCommentBinder.vb (1)
18Inherits Binder
Binding\DocumentationCommentCrefBinder_TypeParameters.vb (1)
16Inherits Binder
Binding\EarlyWellKnownAttributeBinder.vb (1)
24Inherits Binder
Binding\ExecutableCodeBinder.vb (1)
25Inherits Binder
Binding\GetTypeBinder.vb (1)
21Inherits Binder
Binding\IgnoreAccessibilityBinder.vb (1)
10Inherits Binder
Binding\IgnoreBaseClassesBinder.vb (1)
23Inherits Binder
Binding\ImplicitVariableBinder.vb (1)
46Inherits Binder
Binding\ImportAliasesBinder.vb (1)
25Inherits Binder
Binding\ImportedTypesAndNamespacesMembersBinder.vb (1)
25Inherits Binder
Binding\LocalInProgressBinder.vb (1)
18Inherits Binder
Binding\LocationSpecificBinder.vb (1)
24Inherits Binder
Binding\MemberSemanticModel.vb (1)
2020Inherits Binder
Binding\MethodTypeParametersBinder.vb (1)
25Inherits Binder
Binding\NamedTypeBinder.vb (1)
25Inherits Binder
Binding\NamespaceBinder.vb (1)
25Inherits Binder
Binding\OptionStrictOffBinder.vb (1)
20Inherits Binder
Binding\ProjectImportsBinder.vb (1)
25Inherits Binder
Binding\SemanticModelBinder.vb (1)
11Inherits Binder
Binding\SourceFileBinder.vb (1)
24Inherits Binder
Binding\SourceModuleBinder.vb (1)
23Inherits Binder
Binding\TypesOfImportedNamespacesMembersBinder.vb (1)
24Inherits Binder
43 instantiations of Binder
Microsoft.CodeAnalysis.VisualBasic (43)
Binding\AttributeBinder.vb (1)
21MyBase.New(containingBinder, tree)
Binding\BackstopBinder.vb (1)
28MyBase.New(Nothing)
Binding\BasesBeingResolvedBinder.vb (1)
26MyBase.New(containingBinder, basesBeingResolved)
Binding\Binder.vb (4)
79Me.New(containingBinder) 84Me.New(containingBinder) 90Me.New(containingBinder) 102Me.New(containingBinder)
Binding\Binder_AnonymousTypes.vb (2)
126MyBase.New(containingBinder) 372MyBase.New(creationBinder)
Binding\Binder_ConditionalAccess.vb (1)
103MyBase.New(containingBinder)
Binding\Binder_Expressions.vb (1)
1185MyBase.New(containingBinder)
Binding\Binder_Invocation.vb (1)
91MyBase.New(containingBinder)
Binding\Binder_ObjectInitializer.vb (1)
1022MyBase.New(containingBinder)
Binding\Binder_Query.vb (1)
3746MyBase.New(parent)
Binding\Binder_XmlLiterals.vb (4)
1429MyBase.New(containingBinder) 1465MyBase.New(containingBinder) 1480MyBase.New(containingBinder) 1506MyBase.New(containingBinder)
Binding\BlockBaseBinder.vb (1)
30MyBase.New(enclosing)
Binding\ConstantFieldsInProgressBinder.vb (1)
23MyBase.New([next])
Binding\DeclarationInitializerBinder.vb (1)
39MyBase.New([next])
Binding\DefaultParametersInProgressBinder.vb (1)
40MyBase.New([next])
Binding\DocumentationCommentBinder.vb (1)
21MyBase.New(containingBinder)
Binding\DocumentationCommentCrefBinder_TypeParameters.vb (1)
21MyBase.New(containingBinder)
Binding\EarlyWellKnownAttributeBinder.vb (1)
28MyBase.New(containingBinder, isEarlyAttributeBinder:=True)
Binding\ExecutableCodeBinder.vb (1)
33MyBase.New(containingBinder)
Binding\GetTypeBinder.vb (1)
26MyBase.New(containingBinder)
Binding\IgnoreAccessibilityBinder.vb (1)
13MyBase.New(containingBinder)
Binding\IgnoreBaseClassesBinder.vb (1)
26MyBase.New(containingBinder, ignoreBaseClassesInLookup:=True)
Binding\ImplicitVariableBinder.vb (1)
66MyBase.New(containingBinder)
Binding\ImportAliasesBinder.vb (1)
30MyBase.New(containingBinder)
Binding\ImportedTypesAndNamespacesMembersBinder.vb (1)
30MyBase.New(containingBinder)
Binding\LocalInProgressBinder.vb (1)
33MyBase.New(containingBinder)
Binding\LocationSpecificBinder.vb (1)
34MyBase.New(containingBinder)
Binding\MemberSemanticModel.vb (1)
2025MyBase.New([next])
Binding\MethodTypeParametersBinder.vb (1)
30MyBase.New(containingBinder)
Binding\NamedTypeBinder.vb (1)
30MyBase.New(containingBinder)
Binding\NamespaceBinder.vb (1)
30MyBase.New(containingBinder)
Binding\OptionStrictOffBinder.vb (1)
23MyBase.New(containingBinder)
Binding\ProjectImportsBinder.vb (1)
31MyBase.New(containingBinder)
Binding\SemanticModelBinder.vb (1)
16MyBase.New(containingBinder)
Binding\SourceFileBinder.vb (1)
30MyBase.New(containingBinder, tree)
Binding\TypesOfImportedNamespacesMembersBinder.vb (1)
30MyBase.New(containingBinder)
1066 references to Binder
Microsoft.CodeAnalysis.VisualBasic (1066)
Analysis\InitializerRewriter.vb (2)
34processedInitializers As Binder.ProcessedFieldOrPropertyInitializers, 176processedInitializers As Binder.ProcessedFieldOrPropertyInitializers,
Binding\AttributeBinder.vb (2)
20Public Sub New(containingBinder As Binder, tree As SyntaxTree, Optional node As VisualBasicSyntaxNode = Nothing) 36Public Overrides Function GetBinder(node As SyntaxNode) As Binder
Binding\AttributeSemanticModel.vb (4)
17binder As Binder, 28Dim wrappedBinder As Binder = binder 48Friend Shared Function CreateSpeculative(parentSemanticModel As SyntaxTreeSemanticModel, root As AttributeSyntax, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel 52Friend Overrides Function Bind(binder As Binder, node As SyntaxNode, diagnostics As BindingDiagnosticBag) As BoundNode
Binding\BackstopBinder.vb (7)
38Public Overrides Function GetBinder(node As SyntaxNode) As Binder 42Public Overrides Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder 96Protected Overrides Function CreateBoundWithBlock(node As WithBlockSyntax, boundBlockBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundStatement 114accessingBinder As Binder, 120accessingBinder As Binder, 125Protected Overrides Function TryBindOmittedLeftForConditionalAccess(node As ConditionalAccessExpressionSyntax, accessingBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundExpression 131accessingBinder As Binder) As BoundExpression
Binding\BasesBeingResolvedBinder.vb (1)
25Public Sub New(containingBinder As Binder, basesBeingResolved As BasesBeingResolved)
Binding\Binder.vb (19)
55Protected ReadOnly m_containingBinder As Binder 65Protected Sub New(containingBinder As Binder) 78Protected Sub New(containingBinder As Binder, syntaxTree As SyntaxTree) 83Protected Sub New(containingBinder As Binder, sourceModule As SourceModuleSymbol, compilation As VisualBasicCompilation) 89Protected Sub New(containingBinder As Binder, Optional isEarlyAttributeBinder As Boolean? = Nothing, Optional ignoreBaseClassesInLookup As Boolean? = Nothing) 101Protected Sub New(containingBinder As Binder, basesBeingResolved As BasesBeingResolved) 106Public ReadOnly Property ContainingBinder As Binder 145Dim originalBinder As Binder = Me 146Dim currentBinder As Binder = Me 210originalBinder As Binder, 222originalBinder As Binder) 235originalBinder As Binder) 252Dim originalBinder As Binder = Me 253Dim currentBinder As Binder = Me 278originalBinder As Binder) 312Public Overridable Function GetBinder(node As SyntaxNode) As Binder 319Public Overridable Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder 819Friend Function GetAllBinders() As Binder() 820Dim binders = ArrayBuilder(Of Binder).GetInstance()
Binding\Binder_AnonymousTypes.vb (5)
104Friend Shared Function BindAnonymousObjectInitializer(containingBinder As Binder, 123Private Sub New(containingBinder As Binder, 381accessingBinder As Binder, 465Protected Overrides Function TryBindOmittedLeftForDictionaryAccess(node As MemberAccessExpressionSyntax, accessingBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundExpression 472Protected Overrides Function TryBindOmittedLeftForConditionalAccess(node As ConditionalAccessExpressionSyntax, accessingBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\Binder_Attributes.vb (5)
24Friend Shared Function BindAttributeTypes(binders As ImmutableArray(Of Binder), 43Friend Shared Function BindAttributeType(binder As Binder, 54Friend Shared Sub GetAttributes(binders As ImmutableArray(Of Binder), 670Private ReadOnly _binder As Binder 673Public Sub New(binder As Binder, hasErrors As Boolean)
Binding\Binder_ConditionalAccess.vb (2)
70accessingBinder As Binder, 102Public Sub New(containingBinder As Binder, conditionalAccess As ConditionalAccessExpressionSyntax, placeholder As BoundValuePlaceholderBase)
Binding\Binder_Conversions.vb (4)
400result = Binder.ApplyNullableIsTrueOperator(result, targetType) 1003Dim relaxationBinder As Binder 1248Dim reclassifyBinder As Binder 1468Dim relaxationBinder As Binder
Binding\Binder_Delegates.vb (1)
486Dim resolutionBinder As Binder
Binding\Binder_Expressions.vb (7)
581Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleReservedElementNameAnyPosition, name) 585Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleReservedElementName, name, reserved) 589Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleDuplicateElementName) 1184Public Sub New(containingBinder As Binder) 2982accessingBinder As Binder, 2990accessingBinder As Binder) As BoundExpression 3716accessingBinder As Binder,
Binding\Binder_Imports.vb (4)
55binder As Binder, 78binder As Binder, 159binder As Binder, 218binder As Binder,
Binding\Binder_Initializers.vb (1)
105Dim parentBinder As Binder = Nothing
Binding\Binder_Invocation.vb (2)
90Public Sub New(containingBinder As Binder) 118Dim argumentsBinder As Binder = New ConstructorCallArgumentsBinder(Me)
Binding\Binder_Lambda.vb (8)
412Dim implicitVariablesBinder As Binder = Nothing 578Private ReadOnly _binder As Binder 583Private Sub New(binder As Binder, diagnostics As BindingDiagnosticBag) 589binder As Binder, 713Dim nonLambdaBinder As Binder = Nothing 717Dim binderForExpressionContainingLambda As Binder = Nothing 1089Public Sub New(lambdaSymbol As LambdaSymbol, containingBinder As Binder) 1122Friend Overrides Sub LookupInSingleBinder(lookupResult As LookupResult, name As String, arity As Integer, options As LookupOptions, originalBinder As Binder,
Binding\Binder_Lookup.vb (38)
338binder As Binder, 354binder As Binder) 373binder As Binder, 404binder As Binder, 482binder As Binder, 539binder As Binder) 574binder As Binder, 604binder As Binder) 642binder As Binder, 715binder As Binder, 734binder As Binder, 863binder As Binder, 929Public Shared Sub LookupDefaultProperty(result As LookupResult, container As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) 951binder As Binder, 986binder As Binder, 1009binder As Binder, 1040binder As Binder, 1082binder As Binder, 1149binder As Binder, 1178binder As Binder, 1256binder As Binder, 1287binder As Binder) 1310binder As Binder) 1320Dim currentBinder As Binder = binder 1449binder As Binder, 1498binder As Binder, 1612binder As Binder, 1628binder As Binder, 1867Private Shared Sub AddBaseInterfacesToTheSearch(binder As Binder, 1925binder As Binder) 1973binder As Binder) 1992binder As Binder) 2018binder As Binder) 2039binder As Binder) 2053binder As Binder) 2089binder As Binder, 2122binder As Binder) 2150binder As Binder
Binding\Binder_ObjectInitializer.vb (5)
1021Public Sub New(containingBinder As Binder, receiver As BoundExpression) 1033accessingBinder As Binder, 1040Protected Friend Overrides Function TryBindOmittedLeftForXmlMemberAccess(node As XmlMemberAccessExpressionSyntax, diagnostics As BindingDiagnosticBag, accessingBinder As Binder) As BoundExpression 1049accessingBinder As Binder, 1056Protected Overrides Function TryBindOmittedLeftForConditionalAccess(node As ConditionalAccessExpressionSyntax, accessingBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\Binder_Query.vb (36)
222ImmutableArray.Create(Of Binder)(intoBinder), 239ImmutableArray.Create(Of Binder)(intoBinder), 272ImmutableArray.Create(Of Binder)(intoBinder), 404ImmutableArray.Create(Of Binder)(firstSelectSelectorBinder, intoBinder), 423ImmutableArray(Of Binder).Empty, 562ImmutableArray.Create(Of Binder)(firstSelectSelectorBinder, intoBinder), 634ImmutableArray(Of Binder).Empty, 704ImmutableArray.Create(Of Binder)(selectorBinder), 724childScopeBinder As Binder, 850ImmutableArray.Create(Of Binder)(selectorBinder), 1050Dim lambdaBinders As ImmutableArray(Of Binder) 1092lambdaBinders = ImmutableArray.Create(Of Binder)(manySelectorBinder, joinSelectorBinder) 1120lambdaBinders = ImmutableArray.Create(Of Binder)(manySelectorBinder) 1407ImmutableArray(Of Binder).Empty, 1447Dim lambdaBinders As ImmutableArray(Of Binder) 1486lambdaBinders = ImmutableArray.Create(Of Binder)(outerKeyBinder, innerKeyBinder, joinSelectorBinder) 1504lambdaBinders = ImmutableArray.Create(Of Binder)(outerKeyBinder, innerKeyBinder) 1653ImmutableArray(Of Binder).Empty, 1729ImmutableArray.Create(Of Binder)(outerKeyBinder, innerKeyBinder, intoBinder), 1793Dim lambdaBinders As ImmutableArray(Of Binder) 1799lambdaBinders = ImmutableArray.Create(Of Binder)(keysLambdaBinder, intoBinder) 1802lambdaBinders = ImmutableArray.Create(Of Binder)(keysLambdaBinder, itemsLambdaBinder, intoBinder) 2395ImmutableArray.Create(Of Binder)(filterBinder), 2431ImmutableArray(Of Binder).Empty, 2503ImmutableArray(Of Binder).Empty, 2626ImmutableArray.Create(Of Binder)(keyBinder), 2811shadowingCheckBinder As Binder, 3252parentBinder As Binder, 3679Private ReadOnly _binder As Binder 3685binder As Binder, 3697binder As Binder, 3740parent As Binder, 3976ImmutableArray.Create(Of Binder)(aggregationBinder), 4102parent As Binder, 4235ImmutableArray(Of Binder).Empty, 4305ImmutableArray.Create(Of Binder)(selectorBinder),
Binding\Binder_Statements.vb (12)
457Private ReadOnly _binder As Binder 471Private Sub New(binder As Binder, diagnostics As BindingDiagnosticBag) 477binder As Binder, 637Private Shared Sub ReportNameConflictsBetweenStaticLocals(methodBlockBinder As Binder, diagnostics As BindingDiagnosticBag) 638Dim currentBinder As Binder = methodBlockBinder 1089Dim current As Binder = Me 2079Friend Function BindBlock(syntax As SyntaxNode, stmtList As SyntaxList(Of StatementSyntax), diagnostics As BindingDiagnosticBag, stmtListBinder As Binder) As BoundBlock 4407Dim binder As Binder = Me.GetBinder(DirectCast(node, VisualBasicSyntaxNode)) 4411Protected Overridable Function CreateBoundWithBlock(node As WithBlockSyntax, boundBlockBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundStatement 4539Private Function GetUsingBlockLocals(currentBinder As Binder) As ImmutableArray(Of LocalSymbol) 4761Dim tryBinder As Binder = GetBinder(node) 4774Dim catchBinder As Binder = GetBinder(catchSyntax)
Binding\Binder_Symbols.vb (26)
224binder As Binder, 239binder As Binder, 318Private Shared Function NotFound(typeSyntax As TypeSyntax, diagName As String, binder As Binder, diagBag As BindingDiagnosticBag) As DiagnosticInfo 433Binder.ReportDiagnostic(diagBag, typeSyntax, ERRID.ERR_TypeFwdCycle2, fullName, forwardedType.ContainingAssembly) 435Binder.ReportDiagnostic(diagBag, typeSyntax, errorInfo) 469binder As Binder, 478binder As Binder, 486binder As Binder, 552binder As Binder, 605binder As Binder, 687binder As Binder, 740Private Shared Function ErrorTypeFromLookupResult(name As String, result As LookupResult, binder As Binder) As ErrorTypeSymbol 752binder As Binder, 761binder As Binder, 811binder As Binder, 826binder As Binder, 838binder As Binder, 844Binder.DisallowTypeCharacter(idSyntax, diagBag) 869binder As Binder, 878Binder.DisallowTypeCharacter(idSyntax, diagBag) 930binder As Binder, 948Binder.DisallowTypeCharacter(rightIdentToken, diagBag) 1019binder As Binder, 1031Binder.DisallowTypeCharacter(rightIdentSyntax, diagBag) 1109binder As Binder) As SingleLookupResult 1117binder As Binder,
Binding\Binder_WithBlock.vb (8)
185Public Sub New(enclosing As Binder, syntax As WithBlockSyntax) 305Protected Overrides Function CreateBoundWithBlock(node As WithBlockSyntax, boundBlockBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundStatement 353Public Overrides Function GetBinder(node As SyntaxNode) As Binder 360Private Sub PrepareBindingOfOmittedLeft(node As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag, accessingBinder As Binder) 384accessingBinder As Binder, 393accessingBinder As Binder, 399Protected Overrides Function TryBindOmittedLeftForConditionalAccess(node As ConditionalAccessExpressionSyntax, accessingBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundExpression 406accessingBinder As Binder) As BoundExpression
Binding\Binder_XmlLiterals.vb (6)
1316Private ReadOnly _binder As Binder 1322Public Sub New(binder As Binder, syntax As XmlNodeSyntax, importedNamespaces As ArrayBuilder(Of KeyValuePair(Of String, String))) 1428Public Sub New(containingBinder As Binder, namespaces As IReadOnlyDictionary(Of String, XmlNamespaceAndImportsClausePosition)) 1464Public Sub New(containingBinder As Binder) 1479Public Sub New(containingBinder As Binder, namespaces As Dictionary(Of String, String)) 1505Public Sub New(containingBinder As Binder)
Binding\BinderBuilder.vb (37)
46tree As SyntaxTree) As Binder 47Dim sourceModuleBinder As Binder = CreateSourceModuleBinder(moduleSymbol) 48Dim sourceFileBinder As Binder = New SourceFileBinder(sourceModuleBinder, moduleSymbol.TryGetSourceFile(tree), tree) 49Dim namespaceBinder As Binder = New NamespaceBinder(sourceFileBinder, moduleSymbol.ContainingSourceAssembly.DeclaringCompilation.GlobalNamespace) 50Dim ignoreBasesBinder As Binder = New IgnoreBaseClassesBinder(namespaceBinder) 64tree As SyntaxTree) As Binder 65Dim sourceModuleBinder As Binder = CreateSourceModuleBinder(moduleSymbol) 66Dim projectImportsBinder As Binder = New ProjectImportsBinder(sourceModuleBinder, tree) 67Dim namespaceBinder As Binder = New NamespaceBinder(projectImportsBinder, moduleSymbol.ContainingSourceAssembly.DeclaringCompilation.GlobalNamespace) 68Dim ignoreBasesBinder As Binder = New IgnoreBaseClassesBinder(namespaceBinder) 86tree As SyntaxTree) As Binder 87Dim moduleBinder As Binder = CreateSourceModuleBinder(moduleSymbol) 114Dim sourceFileBinder As Binder = New SourceFileBinder(moduleBinder, sourceFile, tree) 152tree As SyntaxTree) As Binder 229typeSymbol As NamedTypeSymbol) As Binder 250Dim binder As Binder = CreateBinderForNamespace(moduleSymbol, tree, DirectCast(containingSymbol, NamespaceSymbol)) 283Dim containingBinder As Binder 304Public Shared Function CreateBinderForAttribute(tree As SyntaxTree, containingBinder As Binder, node As VisualBasicSyntaxNode) As AttributeBinder 311node As VisualBasicSyntaxNode) As Binder 312Dim containingBinder As Binder 333Public Shared Function CreateBinderForParameterDefaultValue(parameterSymbol As ParameterSymbol, containingBinder As Binder, node As VisualBasicSyntaxNode) As Binder 346Public Shared Function CreateBinderForDocumentationComment(containingBinder As Binder, commentedSymbol As Symbol, binderType As DocumentationCommentBinder.BinderType) As Binder 368Public Shared Function CreateBinderForMethodDeclaration(methodSymbol As MethodSymbol, containingBinder As Binder) As Binder 382Public Shared Function CreateBinderForGenericMethodDeclaration(methodSymbol As SourceMethodSymbol, containingBinder As Binder) As Binder 391methodSymbol As SourceMethodSymbol) As Binder 400Public Shared Function CreateBinderForMethodBody(methodSymbol As MethodSymbol, root As SyntaxNode, containingBinder As Binder) As Binder 403Dim methodDeclBinder As Binder = CreateBinderForMethodDeclaration(methodSymbol, containingBinder) 415methodSymbol As SourceMethodSymbol) As Binder 420Public Shared Function CreateBinderForInitializer(containingBinder As Binder, 422additionalFieldsOrProperties As ImmutableArray(Of Symbol)) As Binder 444Public Shared Function CreateSourceModuleBinder(moduleSymbol As SourceModuleSymbol) As Binder 445Dim backstop As Binder = New BackstopBinder()
Binding\BinderFactory.BinderFactoryVisitor.vb (34)
11Inherits VisualBasicSyntaxVisitor(Of Binder) 26Public Overrides Function VisitXmlCrefAttribute(node As XmlCrefAttributeSyntax) As Binder 36Public Overrides Function VisitXmlNameAttribute(node As XmlNameAttributeSyntax) As Binder 50Public Overrides Function VisitXmlAttribute(node As XmlAttributeSyntax) As Binder 77Private Function VisitMethodBaseDeclaration(methodBaseSyntax As MethodBaseSyntax) As Binder 84Public Overrides Function DefaultVisit(node As SyntaxNode) As Binder 93Public Overrides Function VisitCompilationUnit(node As CompilationUnitSyntax) As Binder 97Public Overrides Function VisitNamespaceBlock(nsBlockSyntax As NamespaceBlockSyntax) As Binder 107Public Overrides Function VisitEnumMemberDeclaration(node As EnumMemberDeclarationSyntax) As Binder 115Public Overrides Function VisitVariableDeclarator(node As VariableDeclaratorSyntax) As Binder 129Public Overrides Function VisitPropertyStatement(node As PropertyStatementSyntax) As Binder 137Public Overrides Function VisitModuleBlock(ByVal moduleSyntax As ModuleBlockSyntax) As Binder 141Public Overrides Function VisitClassBlock(ByVal classSyntax As ClassBlockSyntax) As Binder 145Public Overrides Function VisitStructureBlock(ByVal structureSyntax As StructureBlockSyntax) As Binder 149Public Overrides Function VisitAttribute(node As AttributeSyntax) As Binder 153Public Overrides Function VisitInterfaceBlock(ByVal interfaceSyntax As InterfaceBlockSyntax) As Binder 157Public Overrides Function VisitEnumBlock(enumBlockSyntax As EnumBlockSyntax) As Binder 161Public Overrides Function VisitDelegateStatement(delegateSyntax As DelegateStatementSyntax) As Binder 165Public Overrides Function VisitInheritsStatement(inheritsSyntax As InheritsStatementSyntax) As Binder 169Public Overrides Function VisitImplementsStatement(implementsSyntax As ImplementsStatementSyntax) As Binder 175Public Overrides Function VisitMethodStatement(node As MethodStatementSyntax) As Binder 185Public Overrides Function VisitSubNewStatement(node As SubNewStatementSyntax) As Binder 189Public Overrides Function VisitOperatorStatement(node As OperatorStatementSyntax) As Binder 193Public Overrides Function VisitDeclareStatement(node As DeclareStatementSyntax) As Binder 197Public Overrides Function VisitAccessorStatement(node As AccessorStatementSyntax) As Binder 201Public Overrides Function VisitParameter(node As ParameterSyntax) As Binder 208Private Function VisitMethodBlockBase(methodBlockSyntax As MethodBlockBaseSyntax, begin As MethodBaseSyntax) As Binder 220Public Overrides Function VisitMethodBlock(node As MethodBlockSyntax) As Binder 224Public Overrides Function VisitConstructorBlock(node As ConstructorBlockSyntax) As Binder 228Public Overrides Function VisitOperatorBlock(node As OperatorBlockSyntax) As Binder 232Public Overrides Function VisitAccessorBlock(node As AccessorBlockSyntax) As Binder 236Public Overrides Function VisitPropertyBlock(node As PropertyBlockSyntax) As Binder 240Public Overrides Function VisitImportsStatement(node As ImportsStatementSyntax) As Binder 250) As Binder
Binding\BinderFactory.vb (24)
29Private ReadOnly _cache As ConcurrentDictionary(Of ValueTuple(Of VisualBasicSyntaxNode, Byte), Binder) 43Me._cache = New ConcurrentDictionary(Of ValueTuple(Of VisualBasicSyntaxNode, Byte), Binder) 47Private Function MakeBinder(node As SyntaxNode, position As Integer) As Binder 73Public Function GetNamespaceBinder(node As NamespaceBlockSyntax) As Binder 78Public Function GetNamedTypeBinder(node As TypeStatementSyntax) As Binder 86Public Function GetNamedTypeBinder(node As EnumStatementSyntax) As Binder 94Public Function GetNamedTypeBinder(node As DelegateStatementSyntax) As Binder 100Public Function GetBinderForPosition(node As SyntaxNode, position As Integer) As Binder 105Private Function GetBinderAtOrAbove(node As SyntaxNode, position As Integer) As Binder 108Dim binder As Binder = MakeBinder(node, position) 131Optional containingBinder As Binder = Nothing) As Binder 137Dim binder As Binder = Nothing 157containingBinder As Binder) As Binder 446Private Function CreateDocumentationCommentBinder(node As DocumentationCommentTriviaSyntax, binderType As DocumentationCommentBinder.BinderType) As Binder 521Dim containingBinder As Binder = GetBinderAtOrAbove(nodeForOuterBinder, parent.SpanStart) 570Private Function GetContainingNamedTypeBinderForMemberNode(node As VisualBasicSyntaxNode, containingBinder As Binder) As NamedTypeBinder 586Private Shared Function GetParameterDeclarationContainingType(containingBinder As Binder) As NamedTypeSymbol 641forBody As Boolean) As Binder 664Private Function BuildInitializerBinder(containingBinder As Binder, fieldOrProperty As Symbol, additionalFieldsOrProperties As ImmutableArray(Of Symbol)) As Binder 668Private Function BuildAttributeBinder(containingBinder As Binder, node As VisualBasicSyntaxNode) As Binder
Binding\BlockBaseBinder.vb (4)
21Public Sub New(enclosing As Binder) 29Public Sub New(enclosing As Binder) 61originalBinder As Binder, 90originalBinder As Binder)
Binding\BlockStatementBinders.vb (1)
22Public Sub New(enclosing As Binder,
Binding\CatchBlockBinder.vb (1)
23Public Sub New(enclosing As Binder, syntax As CatchBlockSyntax)
Binding\ConstantFieldsInProgressBinder.vb (1)
22Friend Sub New(inProgress As ConstantFieldsInProgress, [next] As Binder, field As FieldSymbol)
Binding\DeclarationInitializerBinder.vb (3)
38Public Sub New(symbol As Symbol, additionalSymbols As ImmutableArray(Of Symbol), [next] As Binder, root As VisualBasicSyntaxNode) 79Public Overrides Function GetBinder(node As SyntaxNode) As Binder 83Public Overrides Function GetBinder(stmts As SyntaxList(Of StatementSyntax)) As Binder
Binding\DefaultParametersInProgressBinder.vb (2)
18Friend Sub New(inProgress As SymbolsInProgress(Of ParameterSymbol), [next] As Binder) 39Protected Sub New(inProgress As SymbolsInProgress(Of T), [next] As Binder)
Binding\DescendantBinderFactory.vb (2)
41Friend Function GetBinder(node As SyntaxNode) As Binder 50Friend Function GetBinder(statementList As SyntaxList(Of StatementSyntax)) As Binder
Binding\DocumentationCommentBinder.vb (2)
20Protected Sub New(containingBinder As Binder, commentedSymbol As Symbol) 37Private Shared Sub CheckBinderSymbolRelationship(containingBinder As Binder, commentedSymbol As Symbol)
Binding\DocumentationCommentCrefBinder.vb (5)
21Public Sub New(containingBinder As Binder, commentedSymbol As Symbol) 27Private Function GetOrCreateTypeParametersAwareBinder(typeParameters As Dictionary(Of String, CrefTypeParameterSymbol)) As Binder 220Dim typeParameterAwareBinder As Binder = Me.GetOrCreateTypeParametersAwareBinder(crefReference) 234Private Function GetOrCreateTypeParametersAwareBinder(crefReference As CrefReferenceSyntax) As Binder 457Dim typeParameterAwareBinder As Binder = Me.GetOrCreateTypeParametersAwareBinder(typeParameters)
Binding\DocumentationCommentCrefBinder_TypeParameters.vb (3)
20Public Sub New(containingBinder As Binder, typeParameters As Dictionary(Of String, CrefTypeParameterSymbol)) 29originalBinder As Binder, 45originalBinder As Binder)
Binding\DocumentationCommentParamBinder.vb (3)
20Public Sub New(containingBinder As Binder, commentedSymbol As Symbol) 76originalBinder As Binder) 93originalBinder As Binder,
Binding\DocumentationCommentTypeParamBinder.vb (3)
20Public Sub New(containingBinder As Binder, commentedSymbol As Symbol) 55originalBinder As Binder) 76originalBinder As Binder,
Binding\DocumentationCommentTypeParamRefBinder.vb (1)
20Public Sub New(containingBinder As Binder, commentedSymbol As Symbol)
Binding\EarlyWellKnownAttributeBinder.vb (2)
27Friend Sub New(owner As Symbol, containingBinder As Binder) 64Friend Shared Function CanBeValidAttributeArgument(node As ExpressionSyntax, memberAccessBinder As Binder) As Boolean
Binding\ExecutableCodeBinder.vb (7)
32Public Sub New(root As SyntaxNode, containingBinder As Binder) 118originalBinder As Binder, 153originalBinder As Binder) 163Public Overrides Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder 167Public Overrides Function GetBinder(node As SyntaxNode) As Binder 252Private ReadOnly _binder As Binder 254Public Sub New(labels As ArrayBuilder(Of SourceLabelSymbol), containingMethod As MethodSymbol, binder As Binder)
Binding\FinallyBlockBinder.vb (1)
18Public Sub New(enclosing As Binder)
Binding\ForOrForEachBlockBinder.vb (1)
23Public Sub New(enclosing As Binder, syntax As ForOrForEachBlockSyntax)
Binding\GetTypeBinder.vb (1)
25Friend Sub New(typeExpression As ExpressionSyntax, containingBinder As Binder)
Binding\IgnoreAccessibilityBinder.vb (1)
12Public Sub New(containingBinder As Binder)
Binding\IgnoreBaseClassesBinder.vb (1)
25Public Sub New(containingBinder As Binder)
Binding\ImplicitVariableBinder.vb (3)
65Public Sub New(containingBinder As Binder, containerOfLocals As Symbol) 211originalBinder As Binder, 229originalBinder As Binder)
Binding\ImportAliasesBinder.vb (3)
29Public Sub New(containingBinder As Binder, importedAliases As IReadOnlyDictionary(Of String, AliasAndImportsClausePosition)) 52originalBinder As Binder, 73originalBinder As Binder)
Binding\ImportedTypesAndNamespacesMembersBinder.vb (5)
29Public Sub New(containingBinder As Binder, importedSymbols As ImmutableArray(Of NamespaceOrTypeAndImportsClausePosition)) 38originalBinder As Binder, 132originalBinder As Binder) 148originalBinder As Binder) 159originalBinder As Binder)
Binding\InitializerSemanticModel.vb (5)
17binder As Binder, 33Friend Shared Function CreateSpeculative(parentSemanticModel As SyntaxTreeSemanticModel, root As EqualsValueSyntax, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel 37Friend Overrides Function Bind(binder As Binder, node As SyntaxNode, diagnostics As BindingDiagnosticBag) As BoundNode 90Private Iterator Function GetInitializedFieldsOrProperties(binder As Binder) As IEnumerable(Of Symbol) 98Private Function BindInitializer(binder As Binder, initializer As SyntaxNode, diagnostics As BindingDiagnosticBag) As BoundNode
Binding\LocalBinderBuilder.vb (7)
13''' The <see cref="LocalBinderBuilder"/> is used to build up the map of all <see cref="Binder"/>s within a method body, and the associated 22''' which also creates a map from <see cref="VisualBasicSyntaxNode"/> to <see cref="Binder"/>. That type owns it's binders 32Private _containingBinder As Binder 46Public Sub MakeBinder(node As SyntaxNode, containingBinder As Binder) 47Dim oldContainingBinder As Binder = Me._containingBinder 73Private Sub CreateBinderFromStatementList(list As SyntaxList(Of StatementSyntax), outerBinder As Binder) 80Private Sub RememberBinder(node As VisualBasicSyntaxNode, binder As Binder)
Binding\LocalInProgressBinder.vb (1)
32Public Sub New(containingBinder As Binder, symbol As LocalSymbol)
Binding\LocationSpecificBinder.vb (2)
29Public Sub New(location As BindingLocation, containingBinder As Binder) 33Public Sub New(location As BindingLocation, owner As Symbol, containingBinder As Binder)
Binding\MemberSemanticModel.vb (51)
26Private ReadOnly _rootBinder As Binder 32rootBinder As Binder, 44Friend ReadOnly Property RootBinder As Binder 90Friend NotOverridable Overloads Overrides Function GetEnclosingBinder(position As Integer) As Binder 96Private Overloads Function GetEnclosingBinder(node As SyntaxNode) As Binder 1101Dim binder As Binder = Me.GetSpeculativeBinderForExpression(position, type, bindingOption) 1212Private ReadOnly _guardedQueryBindersMap As New Dictionary(Of SyntaxNode, ImmutableArray(Of Binder))() 1213Private ReadOnly _guardedAnonymousTypeBinderMap As New Dictionary(Of FieldInitializerSyntax, Binder.AnonymousTypeFieldInitializerBinder)() 1257memberBinder As Binder, 1261) As Binder 1262Dim binder As Binder = Nothing 1370<Out()> ByRef binder As Binder 1417Private Function GetAggregateClauseLambdaBinder(aggregate As AggregateClauseSyntax, position As Integer) As Binder 1418Dim binder As Binder = Nothing 1427Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(aggregate) 1448Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(aggregate) 1463Private Function GetGroupJoinClauseLambdaBinder(join As GroupJoinClauseSyntax, position As Integer) As Binder 1464Dim binder As Binder = Nothing 1469Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(join) 1487Private Function GetJoinClauseLambdaBinder(join As JoinClauseSyntax, position As Integer) As Binder 1488Dim binder As Binder = Nothing 1496Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(join) 1511Private Function GetFromClauseLambdaBinder(from As FromClauseSyntax, position As Integer) As Binder 1512Dim binder As Binder = Nothing 1521Private Function GetCollectionRangeVariablesLambdaBinder(variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), position As Integer) As Binder 1522Dim binder As Binder = Nothing 1537Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(item) 1555Private Function GetLetClauseLambdaBinder([let] As LetClauseSyntax, position As Integer) As Binder 1556Dim binder As Binder = Nothing 1562Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(item) 1581Private Function GetGroupByClauseLambdaBinder(groupBy As GroupByClauseSyntax, position As Integer) As Binder 1582Dim binder As Binder = Nothing 1585Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(groupBy) 1617Private Function GetFunctionAggregationLambdaBinder(func As FunctionAggregationSyntax, position As Integer) As Binder 1618Dim binder As Binder = Nothing 1623Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(func) 1640) As Binder 1642Dim binders As ImmutableArray(Of Binder) = GetQueryClauseLambdaBinders(operatorSyntax) 1655Private Function GetQueryClauseLambdaBinders(node As VisualBasicSyntaxNode) As ImmutableArray(Of Binder) 1660Dim binders As ImmutableArray(Of Binder) = Nothing 1701<Out()> ByRef binder As Binder 1713Dim cachedBinder As Binder.AnonymousTypeFieldInitializerBinder = Nothing 1928Private Sub GuardedIncrementalBind(bindingRoot As SyntaxNode, enclosingBinder As Binder) 2024Friend Sub New(binding As MemberSemanticModel, [next] As Binder) 2033Public Overrides Function GetBinder(node As SyntaxNode) As Binder 2034Dim binder As Binder = Me.ContainingBinder.GetBinder(node) 2048Public Overrides Function GetBinder(list As SyntaxList(Of StatementSyntax)) As Binder 2049Dim binder As Binder = Me.ContainingBinder.GetBinder(list) 2324Dim haveBindersInTheMap As ImmutableArray(Of Binder) = Nothing 2337Dim haveBindersInTheMap As ImmutableArray(Of Binder) = Nothing 2352Dim haveBindersInTheMap As Binder.AnonymousTypeFieldInitializerBinder = Nothing
Binding\MethodBodyBinder.vb (1)
29Public Sub New(methodSymbol As MethodSymbol, root As SyntaxNode, containingBinder As Binder)
Binding\MethodBodySemanticModel.vb (3)
15binder As Binder, 31Friend Shared Function CreateSpeculative(parentSemanticModel As SyntaxTreeSemanticModel, root As VisualBasicSyntaxNode, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel 41Dim containingBinder As Binder = Me.RootBinder
Binding\MethodTypeParametersBinder.vb (3)
29Public Sub New(containingBinder As Binder, typeParameters As ImmutableArray(Of TypeParameterSymbol)) 43originalBinder As Binder, 59originalBinder As Binder)
Binding\NamedTypeBinder.vb (8)
29Public Sub New(containingBinder As Binder, typeSymbol As NamedTypeSymbol) 41Public Overrides Function GetBinder(node As SyntaxNode) As Binder 47Public Overrides Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder 76originalBinder As Binder, 101originalBinder As Binder) 108originalBinder As Binder) 114originalBinder As Binder) 135originalBinder As Binder,
Binding\NamespaceBinder.vb (5)
29Public Sub New(containingBinder As Binder, nsSymbol As NamespaceSymbol) 74originalBinder As Binder, 87originalBinder As Binder) 94originalBinder As Binder) 98Friend Overrides Sub AddLookupSymbolsInfoInSingleBinder(nameSet As LookupSymbolsInfo, options As LookupOptions, originalBinder As Binder)
Binding\OptionStrictOffBinder.vb (1)
22Public Sub New(containingBinder As Binder)
Binding\ProjectImportsBinder.vb (1)
30Public Sub New(containingBinder As Binder, tree As SyntaxTree)
Binding\SemanticModelBinder.vb (4)
8''' Returns True for <see cref="Binder.IsSemanticModelBinder"/> 15Protected Sub New(containingBinder As Binder, Optional ignoreAccessibility As Boolean = False) 21Public Shared Function Mark(binder As Binder, Optional ignoreAccessibility As Boolean = False) As Binder
Binding\SourceFileBinder.vb (1)
29Public Sub New(containingBinder As Binder, sourceFile As SourceFile, tree As SyntaxTree)
Binding\SourceModuleBinder.vb (1)
27Public Sub New(containingBinder As Binder, sourceModule As SourceModuleSymbol)
Binding\SpeculativeBinder.vb (2)
15Private Sub New(containingBinder As Binder) 21Public Shared Function Create(containingBinder As Binder) As SpeculativeBinder
Binding\SpeculativeMemberSemanticModel.vb (1)
19Public Sub New(parentSemanticModel As SpeculativeSemanticModelWithMemberModel, root As VisualBasicSyntaxNode, binder As Binder)
Binding\SpeculativeStatementBinder.vb (1)
27Public Sub New(root As VisualBasicSyntaxNode, containingBinder As Binder)
Binding\StatementListBinder.vb (1)
24Public Sub New(containing As Binder,
Binding\SubOrFunctionBodyBinder.vb (3)
21Public Sub New(methodOrLambdaSymbol As MethodSymbol, root As SyntaxNode, containingBinder As Binder) 65originalBinder As Binder, 82originalBinder As Binder)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (5)
19Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 56Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 87Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 186Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 328Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Binding\SyntheticBoundTrees\SynthesizedConstructorSymbol.vb (1)
15Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
14Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (1)
53Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Binding\TopLevelCodeBinder.vb (1)
18Public Sub New(scriptInitializer As MethodSymbol, containingBinder As Binder)
Binding\TypesOfImportedNamespacesMembersBinder.vb (5)
28Public Sub New(containingBinder As Binder, 38originalBinder As Binder, 68originalBinder As Binder) 84originalBinder As Binder) 94originalBinder As Binder)
Binding\UsingBlockBinder.vb (1)
23Public Sub New(enclosing As Binder, syntax As UsingBlockSyntax)
BoundTree\BoundAddressOfOperator.vb (3)
14Private ReadOnly _delegateResolutionResultCache As New ConcurrentDictionary(Of TypeSymbol, Binder.DelegateResolutionResult)() 26Friend Function GetDelegateResolutionResult(targetType As TypeSymbol, ByRef delegateResolutionResult As Binder.DelegateResolutionResult) As Boolean 35Dim delegateResolutionResult As Binder.DelegateResolutionResult = Nothing
BoundTree\BoundMethodGroup.vb (2)
40Private ReadOnly _lookupBinder As Binder 47Public Sub New(lookupBinder As Binder, lookupOptions As LookupOptions, withDependencies As Boolean)
BoundTree\BoundNodeExtensions.vb (1)
51Public Function GetBinderFromLambda(boundNode As BoundNode) As Binder
CodeGen\Optimizer\StackScheduler.DummyLocal.vb (1)
19Friend Overrides Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (4)
315value = Binder.GetXmlString(DirectCast(xmlAttr.Value, XmlStringSyntax).TextTokens) 658Binder.GetXmlString(DirectCast(value, XmlStringSyntax).TextTokens), 761binderType As DocumentationCommentBinder.BinderType) As Binder 763Dim containingBinder As Binder
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (6)
37Private _binders As Dictionary(Of DocumentationCommentBinder.BinderType, Binder) = Nothing 227Private Function GetOrCreateBinder(type As DocumentationCommentBinder.BinderType) As Binder 229Me._binders = New Dictionary(Of DocumentationCommentBinder.BinderType, Binder)() 232Dim result As Binder = Nothing 621Dim binder As binder = Me.GetOrCreateBinder(DocumentationCommentBinder.BinderType.Cref) 759Dim binder As binder = Me.GetOrCreateBinder(type)
Compilation\DocumentationComments\DocumentationCommentWalker.vb (1)
241Dim strValue = Binder.GetXmlString(str.TextTokens)
Compilation\MethodCompiler.vb (23)
423Dim sourceTypeBinder As Binder = If(method.MethodKind = MethodKind.Ordinary, Nothing, 443processedInitializers:=Binder.ProcessedFieldOrPropertyInitializers.Empty, 568Dim processedStaticInitializers = Binder.ProcessedFieldOrPropertyInitializers.Empty 569Dim processedInstanceInitializers = Binder.ProcessedFieldOrPropertyInitializers.Empty 585Dim sourceTypeBinder As Binder = Nothing 595processedStaticInitializers = New Binder.ProcessedFieldOrPropertyInitializers(Binder.BindFieldAndPropertyInitializers(sourceTypeSymbol, 600processedInstanceInitializers = New Binder.ProcessedFieldOrPropertyInitializers(Binder.BindFieldAndPropertyInitializers(sourceTypeSymbol, 689Dim processedInitializers = Binder.ProcessedFieldOrPropertyInitializers.Empty 748Binder.ProcessedFieldOrPropertyInitializers.Empty, 773Binder.ReportDiagnostic(_diagnostics, location, ERRID.WRN_ExpectedInitComponentCall2, sourceMethod, sourceTypeSymbol) 1218processedInitializers As Binder.ProcessedFieldOrPropertyInitializers, 1219containingTypeBinder As Binder, 1254Dim methodBinderOpt As Binder = Nothing 1348containingTypeBinder As Binder, 1452binderOpt As Binder, 1455processedInitializers As Binder.ProcessedFieldOrPropertyInitializers, 1786containingTypeBinder As Binder, 1789ByRef methodBodyBinder As Binder) As BoundBlock 1828binderForAccessibilityCheckOpt As Binder, 1906Private Shared Function FindConstructorToCallByDefault(constructor As MethodSymbol, diagnostics As BindingDiagnosticBag, Optional binderForAccessibilityCheckOpt As Binder = Nothing) As MethodSymbol 2078Optional binderOpt As Binder = Nothing) As BoundExpressionStatement
Compilation\SemanticModel.vb (30)
229Dim binder As Binder = Nothing ' Passed ByRef to GetSpeculativelyBoundNodeSummary. 253Dim binder As Binder = Nothing ' Passed ByRef to GetSpeculativelyBoundNodeSummary. 274Friend Function GetSymbolInfoForNode(options As SymbolInfoOptions, boundNodes As BoundNodeSummary, binderOpt As Binder) As SymbolInfo 328Dim binder As Binder = Nothing ' passed ByRef to GetSpeculativelyBoundNodeSummary 415Dim binder As Binder = Nothing ' passed ByRef to GetSpeculativelyBoundNodeSummary 456Dim binder As Binder = Nothing ' passed ByRef to GetSpeculativelyBoundNodeSummary 488Friend Function GetMemberGroupForNode(boundNodes As BoundNodeSummary, binderOpt As Binder) As ImmutableArray(Of Symbol) 529Dim binder As Binder = Nothing 544Friend MustOverride Function GetEnclosingBinder(position As Integer) As Binder 726binder As Binder, 751<Out> ByRef binder As Binder) As BoundNode 766<Out> ByRef binder As Binder) As BoundNodeSummary 789Private Function MakeValueIfPossible(binder As Binder, node As BoundNode) As BoundNode 831Friend Function GetSpeculativelyBoundAttribute(position As Integer, attribute As AttributeSyntax, <Out> ByRef binder As Binder) As BoundAttribute 846Private Function GetSpeculativelyBoundAttributeSummary(position As Integer, attribute As AttributeSyntax, <Out> ByRef binder As Binder) As BoundNodeSummary 1014binderOpt As Binder, 1120Dim binder As Binder = If(binderOpt, GetEnclosingBinder(boundNodes.LowestBoundNode.Syntax.SpanStart)) 1415binderOpt As Binder, 1467binderOpt As Binder, 1482Dim binder As Binder = If(binderOpt, GetEnclosingBinder(lowestBoundNode.Syntax.SpanStart)) 1562Friend Overridable Function Bind(binder As Binder, node As SyntaxNode, diagnostics As BindingDiagnosticBag) As BoundNode 1898Private Sub AppendSymbolsWithName(results As ArrayBuilder(Of Symbol), name As String, binder As Binder, container As NamespaceOrTypeSymbol, options As LookupOptions, info As LookupSymbolsInfo) 1922Private Shadows Sub LookupSymbols(binder As Binder, 1948Private Shadows Sub LookupSymbols(binder As Binder, 1999binder As Binder, 2276Dim binder As Binder = Me.GetSpeculativeAttributeBinder(position, attribute) 2388Dim binder As Binder = Me.GetEnclosingBinder(identifierSyntax.SpanStart) 3045Friend Shared Function StripSemanticModelBinder(binder As Binder) As Binder 3448Private Shared Sub AddImportScopes(binder As Binder, scopes As ArrayBuilder(Of IImportScope))
Compilation\SpeculativeSemanticModelWithMemberModel.vb (7)
33Friend Sub New(parentSemanticModel As SyntaxTreeSemanticModel, position As Integer, root As AttributeSyntax, binder As Binder) 43Friend Sub New(parentSemanticModel As SyntaxTreeSemanticModel, position As Integer, root As EqualsValueSyntax, binder As Binder) 53Friend Sub New(parentSemanticModel As SyntaxTreeSemanticModel, position As Integer, root As VisualBasicSyntaxNode, binder As Binder) 63Friend Sub New(parentSemanticModel As SyntaxTreeSemanticModel, position As Integer, root As TypeSyntax, binder As Binder) 73Friend Sub New(parentSemanticModel As SyntaxTreeSemanticModel, position As Integer, root As RangeArgumentSyntax, binder As Binder) 125Friend Overloads Overrides Function GetEnclosingBinder(position As Integer) As Binder 289Friend Overrides Function Bind(binder As Binder, node As SyntaxNode, diagnostics As BindingDiagnosticBag) As BoundNode
Compilation\SpeculativeSyntaxTreeSemanticModel.vb (5)
22Private ReadOnly _rootBinder As Binder 26Public Shared Function Create(parentSemanticModel As SyntaxTreeSemanticModel, root As ExpressionSyntax, binder As Binder, position As Integer, bindingOption As SpeculativeBindingOption) As SpeculativeSyntaxTreeSemanticModel 35Private Sub New(parentSemanticModel As SyntaxTreeSemanticModel, root As ExpressionSyntax, binder As Binder, position As Integer, bindingOption As SpeculativeBindingOption) 75Friend Overrides Function Bind(binder As Binder, node As SyntaxNode, diagnostics As BindingDiagnosticBag) As BoundNode 79Friend Overrides Function GetEnclosingBinder(position As Integer) As Binder
Compilation\SyntaxTreeSemanticModel.vb (23)
34Private ReadOnly _semanticModelCache As New ConcurrentDictionary(Of Binder, MemberSemanticModel)() 140Private ReadOnly _methodBodySemanticModelCreator As Func(Of Binder, MemberSemanticModel) = Function(key As Binder) MethodBodySemanticModel.Create(Me, DirectCast(key, SubOrFunctionBodyBinder)) 141Private ReadOnly _initializerSemanticModelCreator As Func(Of Binder, MemberSemanticModel) = Function(key As Binder) InitializerSemanticModel.Create(Me, DirectCast(key, DeclarationInitializerBinder)) 142Private ReadOnly _attributeSemanticModelCreator As Func(Of Binder, MemberSemanticModel) = Function(key As Binder) AttributeSemanticModel.Create(Me, DirectCast(key, AttributeBinder)) 144Public Function GetMemberSemanticModel(binder As Binder) As MemberSemanticModel 166Dim binder As binder = _binderFactory.GetBinderForPosition(FindInitialNodeFromPosition(position), position) 176Friend Overrides Function GetEnclosingBinder(position As Integer) As Binder 184Dim binder As binder = _binderFactory.GetBinderForPosition(FindInitialNodeFromPosition(position), position) 271Dim binder As Binder = GetEnclosingBinder(node.SpanStart) 459Dim binder As Binder = GetEnclosingBinder(expression.SpanStart) 659If Not Binder.AddReceiverNamespaces(namespaces, DirectCast(parentInfo.Symbol, Symbol), Compilation) Then 664If Not Binder.AddReceiverNamespaces(namespaces, DirectCast(candidate, Symbol), Compilation) Then 707Dim binder As Binder = GetEnclosingBinder(memberName.SpanStart) 763Dim binder As Binder = GetEnclosingBinder(handlesClause.SpanStart) 885Dim binder As Binder = _binderFactory.GetNamedTypeBinder(declarationSyntax) 904Dim binder As Binder = _binderFactory.GetNamedTypeBinder(declarationSyntax) 923Dim binder As Binder = _binderFactory.GetNamedTypeBinder(declarationSyntax) 944Dim binder As Binder = _binderFactory.GetNamespaceBinder(parentBlock) 1337Dim binder As Binder = GetEnclosingBinder(declarationSyntax.SpanStart) 1441Dim binder As Binder = Me.GetSpeculativeBinderForExpression(position, type, bindingOption)
Compilation\VisualBasicCompilation.vb (3)
1562Dim binder As Binder = BinderBuilder.CreateBinderForType(mainType.ContainingSourceModule, mainType.SyntaxReferences(0).SyntaxTree, mainType) 1654Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_AsyncSubMain) 2013Binder.GetUseSiteInfoForWellKnownTypeMember(constructorSymbol, WellKnownMember.System_Runtime_CompilerServices_TupleElementNamesAttribute__ctorTransformNames,
Emit\NoPia\EmbeddedTypesManager.vb (1)
70Dim symbol = DirectCast(Binder.GetWellKnownTypeMember(ModuleBeingBuilt.Compilation, method, info), MethodSymbol)
Emit\PEModuleBuilder.vb (2)
602Dim info = Binder.GetUseSiteInfoForSpecialType(typeSymbol) 604Binder.ReportDiagnostic(diagnostics, If(syntaxNodeOpt IsNot Nothing, syntaxNodeOpt.GetLocation(), NoLocation.Singleton), info.DiagnosticInfo)
Emit\SynthesizedNamespaceSymbol.vb (1)
71Friend Overrides Sub AddExtensionMethodLookupSymbolsInfo(nameSet As LookupSymbolsInfo, options As LookupOptions, originalBinder As Binder, appendThrough As NamespaceSymbol)
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
62Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Generated\BoundNodes.xml.Generated.vb (56)
1876Public Sub New(syntax As SyntaxNode, binder As Binder, withDependencies As Boolean, methodGroup As BoundMethodGroup, Optional hasErrors As Boolean = False) 1888Private ReadOnly _Binder As Binder 1889Public ReadOnly Property Binder As Binder 1914Public Function Update(binder As Binder, withDependencies As Boolean, methodGroup As BoundMethodGroup) As BoundAddressOfOperator 3344Public Sub New(syntax As SyntaxNode, binder As Binder, memberAccess As BoundLateMemberAccess, type As TypeSymbol, Optional hasErrors As Boolean = False) 3355Private ReadOnly _Binder As Binder 3356Public ReadOnly Property Binder As Binder 3374Public Function Update(binder As Binder, memberAccess As BoundLateMemberAccess, type As TypeSymbol) As BoundLateAddressOfOperator 3615Public Sub New(syntax As SyntaxNode, binderOpt As Binder.AnonymousTypeCreationBinder, declarations As ImmutableArray(Of BoundAnonymousTypePropertyAccess), arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3627Private ReadOnly _BinderOpt As Binder.AnonymousTypeCreationBinder 3628Public ReadOnly Property BinderOpt As Binder.AnonymousTypeCreationBinder 3653Public Function Update(binderOpt As Binder.AnonymousTypeCreationBinder, declarations As ImmutableArray(Of BoundAnonymousTypePropertyAccess), arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundAnonymousTypeCreationExpression 3666Public Sub New(syntax As SyntaxNode, binder As Binder.AnonymousTypeCreationBinder, propertyIndex As Integer, type As TypeSymbol, hasErrors As Boolean) 3675Public Sub New(syntax As SyntaxNode, binder As Binder.AnonymousTypeCreationBinder, propertyIndex As Integer, type As TypeSymbol) 3685Private ReadOnly _Binder As Binder.AnonymousTypeCreationBinder 3686Public ReadOnly Property Binder As Binder.AnonymousTypeCreationBinder 3704Public Function Update(binder As Binder.AnonymousTypeCreationBinder, propertyIndex As Integer, type As TypeSymbol) As BoundAnonymousTypePropertyAccess 3717Public Sub New(syntax As SyntaxNode, binder As Binder.AnonymousTypeFieldInitializerBinder, value As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 3728Private ReadOnly _Binder As Binder.AnonymousTypeFieldInitializerBinder 3729Public ReadOnly Property Binder As Binder.AnonymousTypeFieldInitializerBinder 3747Public Function Update(binder As Binder.AnonymousTypeFieldInitializerBinder, value As BoundExpression, type As TypeSymbol) As BoundAnonymousTypeFieldInitializer 4028Public Sub New(syntax As SyntaxNode, hasDominantType As Boolean, numberOfCandidates As Integer, inferredType As ArrayTypeSymbol, bounds As ImmutableArray(Of BoundExpression), initializer As BoundArrayInitialization, binder As Binder, Optional hasErrors As Boolean = False) 4080Private ReadOnly _Binder As Binder 4081Public ReadOnly Property Binder As Binder 4092Public Function Update(hasDominantType As Boolean, numberOfCandidates As Integer, inferredType As ArrayTypeSymbol, bounds As ImmutableArray(Of BoundExpression), initializer As BoundArrayInitialization, binder As Binder) As BoundArrayLiteral 4521Public Sub New(syntax As SyntaxNode, localDeclarations As ImmutableArray(Of BoundLocalDeclaration), initializer As BoundExpression, binder As Binder, Optional hasErrors As Boolean = False) 4548Private ReadOnly _Binder As Binder 4549Public ReadOnly Property Binder As Binder 4560Public Function Update(localDeclarations As ImmutableArray(Of BoundLocalDeclaration), initializer As BoundExpression, binder As Binder) As BoundAsNewLocalDeclarations 4641Protected Sub New(kind As BoundKind, syntax as SyntaxNode, memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder, Optional hasErrors As Boolean = False) 4666Private ReadOnly _BinderOpt As Binder 4667Public ReadOnly Property BinderOpt As Binder 4677Public Sub New(syntax As SyntaxNode, initializedFields As ImmutableArray(Of FieldSymbol), memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder, Optional hasErrors As Boolean = False) 4699Public Function Update(initializedFields As ImmutableArray(Of FieldSymbol), memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder) As BoundFieldInitializer 4712Public Sub New(syntax As SyntaxNode, initializedProperties As ImmutableArray(Of PropertySymbol), memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder, Optional hasErrors As Boolean = False) 4734Public Function Update(initializedProperties As ImmutableArray(Of PropertySymbol), memberAccessExpressionOpt As BoundExpression, initialValue As BoundExpression, binderOpt As Binder) As BoundPropertyInitializer 6786Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache, hasErrors As Boolean) 6805Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) 6822Private ReadOnly _Binder As Binder 6823Public ReadOnly Property Binder As Binder 6862Public Function Update(binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) As UnboundLambda 7079Protected Sub New(kind As BoundKind, syntax as SyntaxNode, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, hasErrors As Boolean) 7092Protected Sub New(kind As BoundKind, syntax as SyntaxNode, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) 7120Private ReadOnly _Binders As ImmutableArray(Of Binder) 7121Public ReadOnly Property Binders As ImmutableArray(Of Binder) 7131Public Sub New(syntax As SyntaxNode, source As BoundQueryPart, rangeVariableOpt As RangeVariableSymbol, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, Optional hasErrors As Boolean = False) 7169Public Function Update(source As BoundQueryPart, rangeVariableOpt As RangeVariableSymbol, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) As BoundQueryableSource 7182Public Sub New(syntax As SyntaxNode, underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, Optional hasErrors As Boolean = False) 7207Public Function Update(underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) As BoundQueryClause 7359Public Sub New(syntax As SyntaxNode, binder As Binder, parameters As ImmutableArray(Of ParameterSymbol), compilation As VisualBasicCompilation, hasErrors As Boolean) 7371Public Sub New(syntax As SyntaxNode, binder As Binder, parameters As ImmutableArray(Of ParameterSymbol), compilation As VisualBasicCompilation) 7384Private ReadOnly _Binder As Binder 7385Public ReadOnly Property Binder As Binder 7410Public Function Update(binder As Binder, parameters As ImmutableArray(Of ParameterSymbol), compilation As VisualBasicCompilation) As GroupTypeInferenceLambda 7423Public Sub New(syntax As SyntaxNode, capturedGroupOpt As BoundQueryClauseBase, groupPlaceholderOpt As BoundRValuePlaceholder, underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, Optional hasErrors As Boolean = False) 7464Public Function Update(capturedGroupOpt As BoundQueryClauseBase, groupPlaceholderOpt As BoundRValuePlaceholder, underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) As BoundAggregateClause
Lowering\AsyncRewriter\AsyncRewriter.vb (2)
19Private ReadOnly _binder As Binder 107Private Shared Function CreateMethodBinder(method As MethodSymbol) As Binder
Lowering\Diagnostics\DiagnosticsPass.vb (7)
75If Binder.IsTopMostEnclosingLambdaAQueryLambda(_containingSymbol, parameterSymbolContainingSymbol) Then 76Binder.ReportDiagnostic(Me._diagnostics, node.Syntax, ERRID.ERR_CannotLiftByRefParamQuery1, parameterSymbol.Name) 78Binder.ReportDiagnostic(Me._diagnostics, node.Syntax, ERRID.ERR_CannotLiftByRefParamLambda1, parameterSymbol.Name) 90Binder.ReportDiagnostic(Me._diagnostics, node.Syntax, errorId) 100Binder.ReportDiagnostic(Me._diagnostics, node.Syntax, errorId) 112If Binder.IsTopMostEnclosingLambdaAQueryLambda(_containingSymbol, Nothing) Then 155Binder.ReportDiagnostic(Me._diagnostics, errorSyntax, errorId)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
27Private ReadOnly _binder As Binder 42Private Sub New(currentMethod As MethodSymbol, compilationState As TypeCompilationState, typeMap As TypeSubstitution, binder As Binder, 490Dim createDelegate = DirectCast(Binder.GetWellKnownTypeMember(Me._factory.Compilation, WellKnownMember.System_Reflection_MethodInfo__CreateDelegate, useSiteInfo), MethodSymbol)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
516Return DirectCast(Binder.GetWellKnownTypeMember(compilation, overload, syntax, diagnostics), MethodSymbol)
Lowering\Instrumentation\Instrumenter.vb (1)
16''' - original bound node produced by the <see cref="Binder"/> for the relevant portion of the code;
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
458If Binder.IsTopMostEnclosingLambdaAQueryLambda(_currentParent, variableOrParameter.ContainingSymbol) Then
Lowering\LocalRewriter\LocalRewriter.vb (5)
561Debug.Assert(Binder.GetUseSiteInfoForSpecialType(result).DiagnosticInfo Is Nothing) 568Dim info = Binder.GetUseSiteInfoForSpecialType(result) 569Binder.ReportUseSite(_diagnostics, syntax, info) 599Return ReportUseSite(node, Binder.GetUseSiteInfoForMemberAndContainingType(memberSymbol), diagnostics) 630Return ReportUseSite(node, Binder.GetUseSiteInfoForMemberAndContainingType(memberSymbol), diagnostics)
Lowering\LocalRewriter\LocalRewriter_Constant.vb (3)
65Dim useSiteInfo = Binder.GetUseSiteInfoForMemberAndContainingType(useField) 87Dim useSiteInfo = Binder.GetUseSiteInfoForMemberAndContainingType(decCtorInt64) 152Dim useSiteInfo = Binder.GetUseSiteInfoForMemberAndContainingType(dtMinValue)
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (1)
31binder As Binder,
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (4)
969Dim memberSymbol = Binder.GetWellKnownTypeMember(Me.Compilation, memberId, useSiteInfo) 973Binder.ReportUseSite(_diagnostics, syntax.GetLocation(), useSiteInfo) 994Dim memberSymbol = Binder.GetSpecialTypeMember(Me._topMethod.ContainingAssembly, memberId, useSiteInfo) 998Binder.ReportUseSite(_diagnostics, syntax.GetLocation(), useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
160Dim accessorName As String = Binder.GetAccessorName(invocationListProperty.Name, MethodKind.PropertyGet, isWinMd:=False)
Lowering\LocalRewriter\LocalRewriter_TupleLiteralExpression.vb (2)
65Binder.CheckRequiredMembersInObjectInitializer(smallestConstructor, smallestType, initializers:=ImmutableArray(Of BoundExpression).Empty, syntax, _diagnostics) 84Binder.CheckRequiredMembersInObjectInitializer(tuple8Ctor, tuple8Ctor.ContainingType, initializers:=ImmutableArray(Of BoundExpression).Empty, syntax, _diagnostics)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (6)
379Return Binder.GetSpecialType(F.Compilation, type, Me.Body.Syntax, bag) 383Return Binder.GetWellKnownType(F.Compilation, type, Me.Body.Syntax, bag) 387Return Binder.GetSpecialTypeMember(F.Compilation.Assembly, member, Me.Body.Syntax, bag) 391Return Binder.GetWellKnownTypeMember(F.Compilation, member, Me.Body.Syntax, bag) 404Binder.ReportDiagnostic(bag, Body.Syntax, ERRID.ERR_NoGetProperty1, CustomSymbolDisplayFormatter.QualifiedName(symbol)) 409Binder.ReportUseSite(bag, Body.Syntax, useSiteInfo)
Lowering\SyntheticBoundNodeFactory.vb (4)
227Return Binder.GetSpecialType(Me.Compilation, st, _syntax, Me.Diagnostics) 245Return Binder.GetWellKnownType(Me.Compilation, wt, _syntax, Me.Diagnostics) 250Dim member = DirectCast(Binder.GetWellKnownTypeMember(Me.Compilation, wm, useSiteInfo), T) 269useSiteInfo = Binder.GetUseSiteInfoForMemberAndContainingType(memberSymbol)
Lowering\WithExpressionRewriter.vb (3)
48Public ReadOnly Binder As Binder 56Public Sub New(containingMember As Symbol, doNotUseByRefLocal As Boolean, binder As Binder, preserveIdentityOfLValues As Boolean, isDraftRewrite As Boolean) 273binder As Binder,
Semantics\AccessCheck.vb (10)
1057Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritanceAccessMismatch5, 1067Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsTypeArgAccessMismatch7, 1079Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritanceAccessMismatchOutside3, 1088Binder.ReportDiagnostic(diagBag, baseClassSyntax, ERRID.ERR_InheritsTypeArgAccessMismatchOutside5, 1130Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatch6, 1140Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchOutsideAssembly4, 1192Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchImplementedEvent6, 1201Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatch6, 1213Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchImplementedEvent4, 1220Binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_AccessMismatchOutsideAssembly4,
Semantics\Conversions.vb (15)
930Public Shared Function ClassifyPredefinedConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 937binder As Binder, 1016Public Shared Function ClassifyConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As KeyValuePair(Of ConversionKind, MethodSymbol) 1046Private Shared Function ClassifyExpressionReclassification(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1140Public Shared Function ClassifyArrayLiteralConversion(source As BoundArrayLiteral, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1226Public Shared Function ClassifyInterpolatedStringConversion(source As BoundInterpolatedStringExpression, destination As TypeSymbol, binder As Binder) As ConversionKind 1239Public Shared Function ClassifyTupleConversion(source As BoundTupleLiteral, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1312Private Shared Function ClassifyArrayInitialization(source As BoundArrayInitialization, targetElementType As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1366Return Binder.ClassifyAddressOfConversion(source, destination) 1369Private Shared Function ClassifyQueryLambdaConversion(source As BoundQueryLambda, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1434binder As Binder, 1585Private Shared Function ClassifyNumericConstantConversion(constantExpression As BoundExpression, destination As TypeSymbol, binder As Binder) As ConversionKind 1787Public Shared Function ClassifyDirectCastConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1843Public Shared Function ClassifyTryCastConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 2108Private Shared Function ClassifyUserDefinedConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As KeyValuePair(Of ConversionKind, MethodSymbol)
Semantics\Operators.vb (7)
500binder As Binder, 856binder As Binder, 2952Public Shared Function ResolveIsTrueOperator(argument As BoundExpression, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As OverloadResolutionResult 2966Public Shared Function ResolveIsFalseOperator(argument As BoundExpression, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As OverloadResolutionResult 2983binder As Binder, 3020binder As Binder, 3146binder As Binder,
Semantics\OverloadResolution.vb (30)
809binder As Binder, 847binder As Binder, 872binder As Binder, 1003binder As Binder, 1069binder As Binder, 1231binder As Binder, 1322binder As Binder, 1358binder As Binder, 1435binder As Binder, 1489binder As Binder, 1711binder As Binder, 1918binder As Binder, 2016binder As Binder, 2174binder As Binder 2227binder As Binder 2274binder As Binder 2332binder As Binder, 2590binder As Binder, 2857binder As Binder, 3204binder As Binder, 3283binder As Binder, 3402Dim visitor As New Binder.AttributeExpressionVisitor(binder, passedExpression.HasErrors) 3434binder As Binder, 3487binder As Binder, 3786binder As Binder, 3882binder As Binder, 4202binder As Binder 4360binder As Binder 4401binder As Binder 4859binder As Binder,
Semantics\TypeInference\TypeArgumentInference.vb (5)
1141Private Sub AddAddressOfToGraph(argNode As ArgumentNode, binder As Binder) 1148binder As Binder 1176Private Sub AddLambdaToGraph(argNode As ArgumentNode, binder As Binder) 1183binder As Binder 1936Dim matchingMethod As KeyValuePair(Of MethodSymbol, MethodConversionKind) = Binder.ResolveMethodForDelegateInvokeFullAndRelaxed(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (1)
32Return Binder.GetAccessorName(m_propertyOrEvent.MetadataName, Me.MethodKind, Me.IsCompilationOutputWinMdObj())
Symbols\ConstantValueUtils.vb (2)
33Dim binder As Binder = BinderBuilder.CreateBinderForType(containingModule, equalsValueOrAsNewNodeRef.SyntaxTree, field.ContainingSourceType) 53Private Function BindFieldOrEnumInitializer(binder As Binder,
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
983originalBinder As Binder,
Symbols\MethodSymbol.vb (1)
826Friend Overridable Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, <Out()> Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Symbols\MissingNamespaceSymbol.vb (1)
137originalBinder As Binder,
Symbols\NamedTypeSymbol.vb (2)
357originalBinder As Binder) 369originalBinder As Binder,
Symbols\NamespaceOrTypeSymbol.vb (2)
191originalBinder As Binder, 234originalBinder As Binder
Symbols\NamespaceSymbol.vb (2)
441originalBinder As Binder) 455originalBinder As Binder,
Symbols\PEOrSourceOrMergedNamespaceSymbol.vb (1)
130originalBinder As Binder,
Symbols\PropertySymbol.vb (2)
150Friend Function IsWritable(receiverOpt As BoundExpression, containingBinder As Binder, isKnownTargetOfObjectMemberInitializer As Boolean) As Boolean 178Dim currentBinder As Binder = containingBinder
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (3)
219originalBinder As Binder) 226Friend Overrides Function AddExtensionMethodLookupSymbolsInfoViabilityCheck(method As MethodSymbol, options As LookupOptions, nameSet As LookupSymbolsInfo, originalBinder As Binder) As Boolean 232originalBinder As Binder,
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (3)
271originalBinder As Binder) 280Friend Overrides Function AddExtensionMethodLookupSymbolsInfoViabilityCheck(method As MethodSymbol, options As LookupOptions, nameSet As LookupSymbolsInfo, originalBinder As Binder) As Boolean 286originalBinder As Binder,
Symbols\Source\CustomEventAccessorSymbol.vb (5)
43Return Binder.GetAccessorName(_event.MetadataName, Me.MethodKind, isWinMd:=False) 66Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, type) 151binder As Binder, 250Private Shared ReadOnly s_checkAddRemoveParameterModifierCallback As Binder.CheckParameterModifierDelegate = AddressOf CheckAddRemoveParameterModifier 251Private Shared ReadOnly s_checkRaiseParameterModifierCallback As Binder.CheckParameterModifierDelegate = AddressOf CheckEventMethodParameterModifier
Symbols\Source\ImplementsHelper.vb (4)
72binder As Binder) As QualifiedNameSyntax 94binder As Binder, 169binder As Binder, 457binder As Binder,
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
179Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, syntaxRef.SyntaxTree, Me)
Symbols\Source\LambdaSymbol.vb (3)
56Private ReadOnly _binder As Binder 62binder As Binder 119Friend ReadOnly Property ContainingBinder As Binder
Symbols\Source\LocalSymbol.vb (25)
31binder As Binder, 45binder As Binder, 58binder As Binder, 78binder As Binder, 91binder As Binder, 162Friend Overridable Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol 365Friend Overridable Function GetConstantValueDiagnostics(binder As Binder) As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 369Friend Overridable Function GetConstantExpression(binder As Binder) As BoundExpression 373Friend Overridable Function GetConstantValue(binder As Binder) As ConstantValue 487Protected ReadOnly _binder As Binder 490binder As Binder, 604Friend Overrides Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol 610Friend Overridable Function ComputeTypeInternal(containingBinder As Binder) As TypeSymbol 647binder As Binder, 683binder As Binder, 694Friend Overrides Function ComputeTypeInternal(localBinder As Binder) As TypeSymbol 747binder As Binder, 762Friend Overrides Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol 830binder As Binder, 845Friend Overrides Function ComputeTypeInternal(localBinder As Binder) As TypeSymbol 862Friend Overrides Function GetConstantExpression(localBinder As Binder) As BoundExpression 901Friend Overrides Function GetConstantValue(containingBinder As Binder) As ConstantValue 910Friend Overrides Function GetConstantValueDiagnostics(containingBinder As Binder) As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 1013Friend Overrides Function GetConstantValue(binder As Binder) As ConstantValue 1017Friend Overrides Function GetConstantValueDiagnostics(binder As Binder) As ReadOnlyBindingDiagnostic(Of AssemblySymbol)
Symbols\Source\RangeVariableSymbol.vb (8)
21Friend ReadOnly m_Binder As Binder 27binder As Binder, 129binder As Binder, 141binder As Binder, 149binder As Binder, 163binder As Binder, 244binder As Binder, 284binder As Binder,
Symbols\Source\SourceAssemblySymbol.vb (6)
326Dim binder As Binder = BinderBuilder.CreateSourceModuleBinder(Me.SourceModule) 1305Binder.ReportUseSiteInfoForSynthesizedAttribute( 1330Binder.ReportUseSiteInfoForSynthesizedAttribute( 1472Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_CompilerServices_CompilationRelaxationsAttribute__ctorInt32, compilation, NoLocation.Singleton, diagnostics) 1477Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_CompilerServices_RuntimeCompatibilityAttribute__ctor, compilation, NoLocation.Singleton, diagnostics) 1478Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_CompilerServices_RuntimeCompatibilityAttribute__WrapNonExceptionThrows, compilation, NoLocation.Singleton, diagnostics)
Symbols\Source\SourceComplexParameterSymbol.vb (2)
158Dim binder As Binder = BinderBuilder.CreateBinderForParameterDefaultValue(DirectCast(ContainingModule, SourceModuleSymbol), 328binder As Binder,
Symbols\Source\SourceDeclareMethodSymbol.vb (1)
31binder As Binder,
Symbols\Source\SourceDelegateMethodSymbol.vb (7)
30binder As Binder, 68binder As Binder, 108Private Shared Function BindReturnType(syntax As VisualBasicSyntaxNode, binder As Binder, diagnostics As BindingDiagnosticBag) As TypeSymbol 219binder As Binder) 250binder As Binder, 279binder As Binder) 325binder As Binder)
Symbols\Source\SourceEnumConstantSymbol.vb (6)
18Public Shared Function CreateExplicitValuedConstant(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, diagnostics As BindingDiagnosticBag) As SourceEnumConstantSymbol 24Public Shared Function CreateImplicitValuedConstant(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, otherConstant As SourceEnumConstantSymbol, otherConstantOffset As Integer, diagnostics As BindingDiagnosticBag) As SourceEnumConstantSymbol 34Protected Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, diagnostics As BindingDiagnosticBag) 99Public Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, diagnostics As BindingDiagnosticBag) 114Public Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, initializer As EqualsValueSyntax, diagnostics As BindingDiagnosticBag) 130Public Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, otherConstant As SourceEnumConstantSymbol, otherConstantOffset As UInteger, diagnostics As BindingDiagnosticBag)
Symbols\Source\SourceEventSymbol.vb (5)
67binder As Binder, 338binder As Binder) As CustomEventAccessorSymbol 370binder.GetAccessorName(Me.Name, flags.ToMethodKind(), isWinMd:=False), 706binder As Binder, 741Private Function CreateBinderForTypeDeclaration() As Binder
Symbols\Source\SourceFile.vb (9)
207Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Strict") 209optionStrict = Binder.DecodeOnOff(optionStmtSyntax.ValueKeyword) 214Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Infer") 216optionInfer = Binder.DecodeOnOff(optionStmtSyntax.ValueKeyword) 221Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Explicit") 223optionExplicit = Binder.DecodeOnOff(optionStmtSyntax.ValueKeyword) 228Binder.ReportDiagnostic(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Compare") 230optionCompareText = Binder.DecodeTextBinary(optionStmtSyntax.ValueKeyword) 240binder As Binder,
Symbols\Source\SourceLabelSymbol.vb (2)
21Private ReadOnly _binder As Binder 23Public Sub New(labelNameToken As SyntaxToken, containingMethod As MethodSymbol, binder As Binder)
Symbols\Source\SourceLambdaSymbol.vb (1)
22binder As Binder)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (19)
2535binder As Binder, 2641binder As Binder, 2685binder As Binder, 2695binder As Binder, 2732Dim binder As Binder = BinderBuilder.CreateBinderForType(m_containingModule, syntaxRef.SyntaxTree, Me) 2797Dim binder As Binder = BinderBuilder.CreateBinderForType(m_containingModule, syntaxRef.SyntaxTree, Me) 2833Dim baseBinder As Binder = Nothing 2888binder As Binder, 2904binder As Binder, 2951Binder.ReportDiagnostic(diagBag, 2959Binder.ReportDiagnostic(diagBag, sym.Locations(0), ERRID.ERR_ShadowingGenericParamWithMember1, sym.Name) 2966binder As Binder, 3051Binder.ReportDiagnostic( 3071Binder.ReportDiagnostic( 3087Binder.ReportDiagnostic( 3107Binder.ReportDiagnostic( 3119Binder.ReportDiagnostic( 3193Friend Function CreateSharedConstructorsForConstFieldsIfRequired(binder As Binder, diagnostics As BindingDiagnosticBag) As MethodSymbol 3362originalBinder As Binder,
Symbols\Source\SourceMemberFieldSymbol.vb (5)
104Dim binder As Binder = BinderBuilder.CreateBinderForType( 156binder As Binder, 202VisualBasic.Binder.ModifiedIdentifierTypeDecoderContext.FieldType) 211binder As Binder, 406binder As Binder,
Symbols\Source\SourceMemberMethodSymbol.vb (26)
72binder As Binder, 233Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_SecurityCriticalAsyncInClassOrStruct) 246Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_SynchronizedAsyncMethod) 262Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_PartialMethodParamArrayMismatch2, methodImpl, Me) 264Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_PartialMethodDefaultParameterValueMismatch2, methodImpl, Me) 312Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, m_containingType) 394Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, ContainingType) 540Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 578Dim typeBinder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, m_containingType) 594typeBinder As Binder, 612Binder.ReportDiagnostic(diagBag, singleHandleClause, ERRID.ERR_HandlesSyntaxInModule) 654Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_NoWithEventsVarOnHandlesList) 665Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_SharedEventNeedsSharedHandler) 670Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_SharedEventNeedsHandlerInTheSameType) 684Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_HandlesSyntaxInClass) 702Binder.ReportDiagnostic(diagBag, singleHandleClause.EventContainer, ERRID.ERR_HandlesSyntaxInClass) 710Binder.ReportUseSite(diagBag, singleHandleClause.EventMember, eventContainingType) 726Binder.ReportDiagnostic(diagBag, singleHandleClause.EventMember, ERRID.ERR_EventNotFound1, eventName) 732Binder.ReportUseSite(diagBag, singleHandleClause.EventMember, eventSymbol) 735Binder.ReportUseSite(diagBag, singleHandleClause.EventMember, eventSymbol.AddMethod) 739Binder.ReportUseSite(diagBag, singleHandleClause.EventMember, eventSymbol.RemoveMethod) 828Dim resolutionResult = Binder.InterpretDelegateBinding(syntheticAddressOf, eventSymbol.Type, isForHandles:=True) 834Binder.ReportDiagnostic(diagBag, singleHandleClause.EventMember, ERRID.ERR_EventHandlerSignatureIncompatible2, Me.Name, eventName) 854binder As Binder, 892binder As Binder, 930binder As Binder,
Symbols\Source\SourceMethodSymbol.vb (23)
78binder As Binder, 143Private Shared Sub ReportPartialMethodErrors(modifiers As SyntaxTokenList, binder As Binder, diagBag As DiagnosticBag) 219binder As Binder, 304binder As Binder, 380binder As Binder, 418binder As Binder, 445binder As Binder, 492binder As Binder, 894Dim binder As Binder = BinderBuilder.CreateBinderForType(Me.ContainingSourceModule, Me.SyntaxTree, m_containingType) 1004Dim currentModifier As SourceMemberFlags = Binder.MapKeywordToFlag(keywordSyntax) 1164Dim binder As Binder = BinderBuilder.CreateBinderForType(containingSourceType.ContainingSourceModule, syntaxTree, containingSourceType) 1176Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 1737Binder.ReportDiagnostic(diagnostics, arguments.AttributeSyntaxOpt.GetLocation(), ERRID.ERR_SecurityCriticalAsync, "SecurityCritical") 1740Binder.ReportDiagnostic(diagnostics, arguments.AttributeSyntaxOpt.GetLocation(), ERRID.ERR_SecurityCriticalAsync, "SecuritySafeCritical") 1812Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_DllImportOnResumableMethod) 2193Private Function CreateBinderForMethodDeclaration(sourceModule As SourceModuleSymbol) As Binder 2194Dim binder As Binder = BinderBuilder.CreateBinderForMethodDeclaration(sourceModule, Me.SyntaxTree, Me) 2207Dim binder As Binder = CreateBinderForMethodDeclaration(sourceModule) 2250Dim binder As Binder = CreateBinderForMethodDeclaration(sourceModule) 2313binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_RestrictedType1, restrictedType) 2319binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn) 2328binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadAsyncReturn) 2339binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn)
Symbols\Source\SourceModuleSymbol.vb (1)
386Dim binder As Binder = BinderBuilder.CreateBinderForProjectImports(Me, VisualBasicSyntaxTree.Dummy)
Symbols\Source\SourceNamedTypeSymbol.vb (32)
155Private Function CreateLocationSpecificBinderForType(tree As SyntaxTree, location As BindingLocation) As Binder 157Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, tree, Me) 177Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, syntaxRef.SyntaxTree, Me) 225Private Function AddMembersInPart(binder As Binder, 282binder As Binder, 402binder As Binder, 470binder As Binder, 477Binder.DisallowTypeCharacter(id, diagBag) 528Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_TypeClashesWithVbCoreType4, 541Binder.ReportDiagnostic(diagBag, location, ERRID.ERR_TypeClashesWithVbCoreType4, 560Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_TypeConflict6, 625Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_ShadowingGenericParamWithMember1, Me.Name) 644Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, tree, Me) 684Binder.ReportDiagnostic(diagBag, id, errorCode, 694bodyBinder As Binder, 717Binder.ReportDiagnostic(diagnostics, syntax.EnumStatement.Identifier, ERRID.ERR_BadEmptyEnum1, syntax.EnumStatement.Identifier.ValueText) 825Dim binder As Binder = CreateLocationSpecificBinderForType(tree, BindingLocation.GenericConstraintsClause) 962Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.WRN_ShadowingGenericParamWithParam1, s.Name) 965Binder.ReportDiagnostic(diagBag, s.Locations(0), ERRID.ERR_DuplicateTypeParamName1, s.Name) 1002Dim binder As Binder = CreateLocationSpecificBinderForType(tree, BindingLocation.BaseTypes) 1031Dim binder As Binder = CreateLocationSpecificBinderForType(tree, BindingLocation.BaseTypes) 1062Binder.ReportDiagnostic(diagBag, baseDecl, errId) 1073binder As Binder, 1152binder As Binder, 1209binder As Binder, 1318Dim binder As Binder = CreateLocationSpecificBinderForType(part.SyntaxTree, BindingLocation.BaseTypes) 1647Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_GenericClassCannotInheritAttr) 1764Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, tree, Me) 1783bodyBinder As Binder, 1793Binder.ReportDiagnostic(diagnostics, underlyingType.Type, ERRID.ERR_InvalidEnumBase) 2404Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.Microsoft_VisualBasic_CompilerServices_StandardModuleAttribute__ctor, 2670Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, syntaxRef.SyntaxTree, Me)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (23)
139Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassDuplicateGuids1, comClass.Name) 145Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.GuidAttribute.Name) 150Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ClassInterfaceAttribute.Name) 155Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ComSourceInterfacesAttribute.Name) 160Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassAndReservedAttribute1, AttributeDescription.ComVisibleAttribute.Name & "(False)") 165Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassRequiresPublicClass1, comClass.Name) 171Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassRequiresPublicClass2, 182Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassCantBeAbstract0) 193Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.WRN_ComClassNoMembers1, comClass.Name) 210Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_GuidAttribute__ctor, 217Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_ClassInterfaceAttribute__ctorClassInterfaceType, 224Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_ComSourceInterfacesAttribute__ctorString, 229Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_InterfaceTypeAttribute__ctorInt16, 237Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_ComVisibleAttribute__ctor, 264Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_DispIdAttribute__ctor, 272Binder.ReportUseSiteInfoForSynthesizedAttribute(WellKnownMember.System_Reflection_DefaultMemberAttribute__ctor, 288Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.ERR_BadAttributeUuid2, AttributeDescription.VisualBasicComClassAttribute.Name, id) 330Binder.ReportDiagnostic(diagnostics, member.Locations(0), ERRID.ERR_MemberConflictWithSynth4, 344Binder.ReportDiagnostic(diagnostics, comClass.Locations(0), ERRID.WRN_ComClassInterfaceShadows5, 427Binder.ReportDiagnostic(diagnostics, prop.Locations(0), ERRID.WRN_ComClassPropertySetObject1, prop) 453Binder.ReportDiagnostic(diagnostics, member.Locations(0), ERRID.ERR_ComClassGenericMethod) 494Binder.ReportDiagnostic(diagnostics, target.Locations(0), ERRID.ERR_ComClassReservedDispIdZero1, target.Name) 500Binder.ReportDiagnostic(diagnostics, target.Locations(0), ERRID.ERR_ComClassReservedDispId1, target.Name)
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (7)
19Dim binder As Binder = Nothing 122Private Function GetMyGroupCollectionAttributeData(diagnostics As BindingDiagnosticBag, <Out> ByRef binder As Binder, <Out> ByRef attributeSyntax As AttributeSyntax) As VisualBasicAttributeData 237binder As Binder, 323Dim binder As Binder = BinderBuilder.CreateBinderForType(ContainingSourceModule, syntaxRef.SyntaxTree, Me) 380binder As Binder, 402ConflictsWithExistingMemberOrType(binder.GetAccessorName(propertyName, MethodKind.PropertyGet, False), membersBuilder, nestedTypes, conflictsWith) OrElse 403(disposeMethod.Length > 0 AndAlso ConflictsWithExistingMemberOrType(binder.GetAccessorName(propertyName, MethodKind.PropertySet, isWinMd), membersBuilder, nestedTypes, conflictsWith)) OrElse
Symbols\Source\SourceParameterSymbol.vb (1)
397Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ParamDefaultValueDiffersFromAttribute)
Symbols\Source\SourcePropertyAccessorSymbol.vb (7)
73binder As Binder, 111Binder.GetAccessorName(propertySymbol.Name, methodKind, propertySymbol.IsCompilationOutputWinMdObj()), 241Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, Me.m_property.ContainingSourceType) 287Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, Me.m_property.ContainingSourceType) 391binder As Binder, 462Private Shared ReadOnly s_checkParameterModifierCallback As Binder.CheckParameterModifierDelegate = AddressOf CheckParameterModifier 473Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Symbols\Source\SourcePropertySymbol.vb (12)
83bodyBinder As Binder, 204Binder.GetAccessorName(prop.Name, MethodKind.PropertyGet, isWinMd:=False), 213Binder.GetAccessorName(prop.Name, MethodKind.PropertySet, 232bodyBinder As Binder, 382Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_RestrictedType1, restrictedType) 394Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_BadIteratorReturn) 1020Private Function CreateBinderForTypeDeclaration() As Binder 1028bodyBinder As Binder, 1069binder As Binder, 1104bodyBinder As Binder, 1112Binder.ReportDiagnostic(diagnostics, 1158Private Shared Sub ReportAccessorAccessibilityError(binder As Binder,
Symbols\Source\SynthesizedConstructorSymbol.vb (1)
33binder As Binder,
Symbols\Source\SynthesizedEventAccessorSymbol.vb (8)
56diagnostics.Add(Binder.GetUseSiteInfoForWellKnownType(parameterType), Me.Locations(0)) 84useSiteInfo = If(Me.MethodKind = MethodKind.EventRemove, Binder.GetUseSiteInfoForSpecialType(type), Nothing) 87useSiteInfo = Binder.GetUseSiteInfoForWellKnownType(type) 108Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 154Dim getOrCreateMethod As MethodSymbol = DirectCast(Binder.GetWellKnownTypeMember( 173Dim processHandlerMethod As MethodSymbol = DirectCast(Binder.GetWellKnownTypeMember( 286Dim updateMethod As MethodSymbol = DirectCast(Binder.GetSpecialTypeMember(compilation.Assembly, updateMethodId, useSiteInfo), MethodSymbol) 304Dim compareExchangeMethod As MethodSymbol = DirectCast(Binder.GetWellKnownTypeMember(compilation, WellKnownMember.System_Threading_Interlocked__CompareExchange_T, useSiteInfo), MethodSymbol)
Symbols\Source\SynthesizedEventBackingFieldSymbol.vb (1)
43diagnostics.Add(Binder.GetUseSiteInfoForWellKnownType(tokenType), _propertyOrEvent.Locations(0))
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
135Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Symbols\Source\SynthesizedLambdaSymbol.vb (1)
23binder As Binder)
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (2)
48Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, <Out()> Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 53Dim binder As Binder = BinderBuilder.CreateBinderForType(container.ContainingSourceModule, syntaxNode.SyntaxTree, container)
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (2)
54Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, <Out()> Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock 101Dim typeBinder As Binder = BinderBuilder.CreateBinderForType(containingType.ContainingSourceModule, PropertyOrEvent.AttributeSyntax.SyntaxTree, containingType)
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (2)
23binder As Binder, 46Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Symbols\Source\UnboundLambdaParameterSymbol.vb (2)
67binder As Binder, 87Dim paramType As TypeSymbol = binder.DecodeModifiedIdentifierType(syntax.Identifier, syntax.AsClause, Nothing, getErrorInfo, diagBag, Binder.ModifiedIdentifierTypeDecoderContext.LambdaParameterType)
Symbols\Symbol_Attributes.vb (11)
259Dim binders As ImmutableArray(Of Binder) = Nothing 275Dim boundAttributeTypes As ImmutableArray(Of NamedTypeSymbol) = Binder.BindAttributeTypes(binders, attributesToBind, Me, diagnostics) 285Binder.GetAttributes(binders, attributesToBind, boundAttributeTypes, attributeBuilder, Me, diagnostics) 311<Out> ByRef binders As ImmutableArray(Of Binder)) As ImmutableArray(Of AttributeSyntax) 316Dim bindersBuilder As ArrayBuilder(Of Binder) = Nothing 330bindersBuilder = New ArrayBuilder(Of Binder)() 355binders = ImmutableArray(Of Binder).Empty 360Friend Function GetAttributeBinder(syntaxList As SyntaxList(Of AttributeListSyntax), sourceModule As SourceModuleSymbol) As Binder 419Private Function EarlyDecodeWellKnownAttributes(binders As ImmutableArray(Of Binder), 451binders As ImmutableArray(Of Binder), 473Dim binder As Binder = binders(i)
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
27Return Binder.GetAccessorName(m_propertyOrEvent.Name, Me.MethodKind, Me.IsCompilationOutputWinMdObj())
Symbols\SynthesizedSymbols\SynthesizedAttributeData.vb (1)
49If Binder.GetUseSiteInfoForWellKnownTypeMember(constructorSymbol, constructor, False).DiagnosticInfo IsNot Nothing Then
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
37binder As Binder,
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
57Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, _syntaxRef.SyntaxTree, Me.ContainingType)
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionConstructorSymbol.vb (1)
64Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, <Out> ByRef Optional methodBodyBinder As Binder = Nothing) As BoundBlock
Symbols\SynthesizedSymbols\SynthesizedPropertyAccessorBase.vb (1)
16Friend Overloads Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
Symbols\Tuples\TupleTypeSymbol.vb (5)
551Binder.ReportUseSite(diagnostics, syntax, wellKnownType) 560Binder.ReportUseSite(diagnostics, syntax, wellKnownType2) 576Binder.ReportUseSite(diagnostics, syntax, wellKnownType) 580Binder.ReportUseSite(diagnostics, syntax, wellKnownType2) 649Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_MissingRuntimeHelper, type.Name & "."c & descriptor.Name)
Symbols\TypeSymbolExtensions.vb (4)
686If Binder.IsOrInheritsFromOrImplementsInterface(type, genericIEnumerable, useSiteInfo, matchingInterfaces) Then 1081Public Function DelegateOrExpressionDelegate(type As TypeSymbol, binder As Binder) As NamedTypeSymbol 1095Public Function DelegateOrExpressionDelegate(type As TypeSymbol, binder As Binder, ByRef wasExpression As Boolean) As NamedTypeSymbol 1110Public Function IsExpressionTree(type As TypeSymbol, binder As Binder) As Boolean
Symbols\WellKnownMembers.vb (4)
47Dim sourceModuleBinder As Binder = BinderBuilder.CreateSourceModuleBinder(sourceModuleSymbol) 131useSiteInfo = Binder.GetUseSiteInfoForMemberAndContainingType(attributeCtor) 161Binder.GetUseSiteInfoForWellKnownTypeMember(constructorSymbol, constructor, False).DiagnosticInfo IsNot Nothing Then 178Binder.GetUseSiteInfoForWellKnownTypeMember(wellKnownMember, arg.Key, False).DiagnosticInfo IsNot Nothing Then