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_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_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_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\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.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\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\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
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)
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\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\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)
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)
857binder As Binder,
895binder As Binder,
920binder As Binder,
1082binder As Binder,
1160binder As Binder,
1591binder As Binder,
1682binder As Binder,
1718binder As Binder,
1795binder As Binder,
1849binder As Binder,
2071binder As Binder,
2278binder As Binder,
2376binder As Binder,
2534binder As Binder
2587binder As Binder
2634binder As Binder
2692binder As Binder,
2950binder As Binder,
3217binder As Binder,
3564binder As Binder,
3643binder As Binder,
3762Dim visitor As New Binder.AttributeExpressionVisitor(binder, passedExpression.HasErrors)
3794binder As Binder,
3847binder As Binder,
4152binder As Binder,
4249binder As Binder,
4602binder As Binder
4760binder As Binder
4801binder As Binder
5259binder 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\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\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\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\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
1770Binder.ReportDiagnostic(diagnostics, arguments.AttributeSyntaxOpt.GetLocation(), ERRID.ERR_SecurityCriticalAsync, "SecurityCritical")
1773Binder.ReportDiagnostic(diagnostics, arguments.AttributeSyntaxOpt.GetLocation(), ERRID.ERR_SecurityCriticalAsync, "SecuritySafeCritical")
1845Binder.ReportDiagnostic(diagnostics, location, ERRID.ERR_DllImportOnResumableMethod)
2226Private Function CreateBinderForMethodDeclaration(sourceModule As SourceModuleSymbol) As Binder
2227Dim binder As Binder = BinderBuilder.CreateBinderForMethodDeclaration(sourceModule, Me.SyntaxTree, Me)
2240Dim binder As Binder = CreateBinderForMethodDeclaration(sourceModule)
2283Dim binder As Binder = CreateBinderForMethodDeclaration(sourceModule)
2346binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_RestrictedType1, restrictedType)
2352binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn)
2361binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadAsyncReturn)
2372binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn)
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\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)
1065Private Function CreateBinderForTypeDeclaration() As Binder
1073bodyBinder As Binder,
1114binder As Binder,
1149bodyBinder As Binder,
1157Binder.ReportDiagnostic(diagnostics,
1203Private Shared Sub ReportAccessorAccessibilityError(binder 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\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\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)