Binding\BackstopBinder.vb (9)
96Protected Overrides Function CreateBoundWithBlock(node As WithBlockSyntax, boundBlockBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundStatement
100Friend Overrides Function BindInsideCrefAttributeValue(name As TypeSyntax, preserveAliases As Boolean, diagnosticBag As BindingDiagnosticBag, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of Symbol)
104Friend Overrides Function BindInsideCrefAttributeValue(reference As CrefReferenceSyntax, preserveAliases As Boolean, diagnosticBag As BindingDiagnosticBag, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of Symbol)
113diagnostics As BindingDiagnosticBag,
121diagnostics As BindingDiagnosticBag) As BoundExpression
125Protected Overrides Function TryBindOmittedLeftForConditionalAccess(node As ConditionalAccessExpressionSyntax, accessingBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundExpression
130diagnostics As BindingDiagnosticBag,
193Public Overrides Function DeclareImplicitLocalVariable(nameSyntax As IdentifierNameSyntax, diagnostics As BindingDiagnosticBag) As LocalSymbol
203Public Overrides Sub DisallowFurtherImplicitVariableDeclaration(diagnostics As BindingDiagnosticBag)
Binding\Binder.vb (27)
427Public Function GetSpecialType(typeId As SpecialType, node As SyntaxNodeOrToken, diagBag As BindingDiagnosticBag) As NamedTypeSymbol
432Public Shared Function GetSpecialType(compilation As VisualBasicCompilation, typeId As SpecialType, node As SyntaxNodeOrToken, diagBag As BindingDiagnosticBag) As NamedTypeSymbol
437Public Function GetSpecialType(typeId As SpecialType, node As SyntaxNodeOrToken, diagBag As BindingDiagnosticBag, ByRef reportedAnError As Boolean, suppressUseSiteError As Boolean) As NamedTypeSymbol
441Public Shared Function GetSpecialType(compilation As VisualBasicCompilation, typeId As SpecialType, node As SyntaxNodeOrToken, diagBag As BindingDiagnosticBag, ByRef reportedAnError As Boolean, suppressUseSiteError As Boolean) As NamedTypeSymbol
469Friend Function GetWellKnownType(type As WellKnownType, syntax As SyntaxNode, diagBag As BindingDiagnosticBag) As NamedTypeSymbol
473Friend Shared Function GetWellKnownType(compilation As VisualBasicCompilation, type As WellKnownType, syntax As SyntaxNode, diagBag As BindingDiagnosticBag) As NamedTypeSymbol
487Private Function GetInternalXmlHelperType(syntax As VisualBasicSyntaxNode, diagBag As BindingDiagnosticBag) As NamedTypeSymbol
552Friend Function GetSpecialTypeMember(member As SpecialMember, syntax As SyntaxNode, diagnostics As BindingDiagnosticBag) As Symbol
556Friend Shared Function GetSpecialTypeMember(assembly As AssemblySymbol, member As SpecialMember, syntax As SyntaxNode, diagnostics As BindingDiagnosticBag) As Symbol
591Friend Function GetWellKnownTypeMember(member As WellKnownMember, syntax As SyntaxNode, diagBag As BindingDiagnosticBag) As Symbol
595Friend Shared Function GetWellKnownTypeMember(compilation As VisualBasicCompilation, member As WellKnownMember, syntax As SyntaxNode, diagBag As BindingDiagnosticBag) As Symbol
785Public Overridable Function DeclareImplicitLocalVariable(nameSyntax As IdentifierNameSyntax, diagnostics As BindingDiagnosticBag) As LocalSymbol
803Public Overridable Sub DisallowFurtherImplicitVariableDeclaration(diagnostics As BindingDiagnosticBag)
898Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, id As ERRID)
902Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, id As ERRID, ParamArray args As Object())
906Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, info As DiagnosticInfo)
911Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, location As Location, id As ERRID)
915Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, location As Location, id As ERRID, ParamArray args As Object())
919Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, location As Location, info As DiagnosticInfo)
924Public Shared Sub ReportDiagnostic(diagBag As BindingDiagnosticBag, diag As Diagnostic)
928Public Shared Function ReportUseSite(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, useSiteInfo As UseSiteInfo(Of AssemblySymbol)) As Boolean
932Public Shared Function ReportUseSite(diagBag As BindingDiagnosticBag, location As Location, useSiteInfo As UseSiteInfo(Of AssemblySymbol)) As Boolean
936Public Sub AddTypesAssemblyAsDependency(namespaceOrType As NamespaceOrTypeSymbol, diagBag As BindingDiagnosticBag)
949Friend Sub ReportDiagnosticsIfObsoleteOrNotSupported(diagnostics As BindingDiagnosticBag, symbol As Symbol, node As SyntaxNode)
981Friend Shared Sub ReportDiagnosticsIfObsolete(diagnostics As BindingDiagnosticBag, context As Symbol, symbol As Symbol, node As SyntaxNode)
1077diagnostics As BindingDiagnosticBag
1105diagnostics As BindingDiagnosticBag
Binding\Binder_Attributes.vb (16)
27diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
46diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
59diagnostics As BindingDiagnosticBag)
75Friend Function GetAttribute(node As AttributeSyntax, boundAttributeType As NamedTypeSymbol, diagnostics As BindingDiagnosticBag) As SourceAttributeData
114Friend Function BindAttribute(node As AttributeSyntax, diagnostics As BindingDiagnosticBag) As BoundAttribute
230Friend Function BindAttribute(node As AttributeSyntax, type As NamedTypeSymbol, diagnostics As BindingDiagnosticBag) As BoundAttribute
293diagnostics = BindingDiagnosticBag.Discarded
380diagnostics As BindingDiagnosticBag
434diagnostics As BindingDiagnosticBag) As BoundExpression
684Public Function VisitPositionalArguments(arguments As ImmutableArray(Of BoundExpression), diag As BindingDiagnosticBag) As ImmutableArray(Of TypedConstant)
688Private Function VisitArguments(arguments As ImmutableArray(Of BoundExpression), diag As BindingDiagnosticBag) As ImmutableArray(Of TypedConstant)
704Public Function VisitNamedArguments(arguments As ImmutableArray(Of BoundExpression), diag As BindingDiagnosticBag) As ImmutableArray(Of KeyValuePair(Of String, TypedConstant))
726Private Function VisitNamedArgument(argument As BoundExpression, diag As BindingDiagnosticBag) As Nullable(Of KeyValuePair(Of String, TypedConstant))
746Public Function VisitExpression(node As BoundExpression, diagBag As BindingDiagnosticBag) As TypedConstant
829Private Function VisitGetType(node As BoundGetType, diagBag As BindingDiagnosticBag) As TypedConstant
851Private Function VisitArrayCreation(node As BoundArrayCreation, diag As BindingDiagnosticBag) As TypedConstant
Binding\Binder_Conversions.vb (28)
22diagnostics As BindingDiagnosticBag
46diagnostics As BindingDiagnosticBag
59diagnostics As BindingDiagnosticBag
74diagnostics As BindingDiagnosticBag
91diagnostics = BindingDiagnosticBag.Discarded
170diagnostics As BindingDiagnosticBag
185diagnostics As BindingDiagnosticBag
205diagnostics = BindingDiagnosticBag.Discarded
273diagnostics As BindingDiagnosticBag
311diagnostics As BindingDiagnosticBag,
325diagnostics As BindingDiagnosticBag,
352diagnostics = BindingDiagnosticBag.Discarded
374diagnostics = BindingDiagnosticBag.Discarded
407diagnostics = BindingDiagnosticBag.Discarded
431diagnostics As BindingDiagnosticBag,
664diagnostics As BindingDiagnosticBag,
678diagnostics As BindingDiagnosticBag,
983diagnostics As BindingDiagnosticBag
1079converted.Add(ApplyConversion(tree, targetElementTypes(i), placeholder, isExplicit, BindingDiagnosticBag.Discarded))
1095diagnostics As BindingDiagnosticBag
1199diagnostics As BindingDiagnosticBag
1308diagnostics As BindingDiagnosticBag
1510diagnostics As BindingDiagnosticBag
1617Private Function ReclassifyInterpolatedStringExpression(conversionSemantics As SyntaxKind, tree As SyntaxNode, convKind As ConversionKind, isExplicit As Boolean, node As BoundInterpolatedStringExpression, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
1636diagnostics As BindingDiagnosticBag) As BoundExpression
1706diagnostics As BindingDiagnosticBag
1741Private Shared Sub WarnOnLockConversion(sourceType As TypeSymbol, syntax As SyntaxNode, diagnostics As BindingDiagnosticBag)
1755diagnostics As BindingDiagnosticBag,
Binding\Binder_Expressions.vb (94)
24diagnostics As BindingDiagnosticBag
37diagnostics As BindingDiagnosticBag
64Private Function BindExpressionCore(node As ExpressionSyntax, isInvocationOrAddressOf As Boolean, isOperandOfConditionalBranch As Boolean, eventContext As Boolean, diagnostics As BindingDiagnosticBag) As BoundExpression
330Private Function BindTupleExpression(node As TupleExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
408Private Shared Function ExtractTupleElementNames(arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), diagnostics As BindingDiagnosticBag) _
528diagnostics As BindingDiagnosticBag,
578Private Shared Function CheckTupleMemberName(name As String, index As Integer, syntax As SyntaxNodeOrToken, diagnostics As BindingDiagnosticBag, uniqueFieldNames As HashSet(Of String)) As Boolean
597Public Function BindNamespaceOrTypeExpression(node As TypeSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
621Public Function BindNamespaceOrTypeOrExpressionSyntaxForSemanticModel(node As ExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
634Dim boundParent As BoundExpression = BindNamespaceOrTypeOrExpressionSyntaxForSemanticModel(DirectCast(node.Parent, QualifiedNameSyntax), BindingDiagnosticBag.Discarded)
642boundParent = BindExpression(DirectCast(node.Parent, QualifiedNameSyntax), BindingDiagnosticBag.Discarded)
674Private Function BindQualifiedName(name As QualifiedNameSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
678Private Function BindGetTypeExpression(node As GetTypeExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
700Private Function BindNameOfExpression(node As NameOfExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
704diagnostics = BindingDiagnosticBag.Discarded
768Private Function BindTypeOfExpression(node As TypeOfExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
796diagnostics = BindingDiagnosticBag.Discarded
816diagnostics As BindingDiagnosticBag,
827diagnostics As BindingDiagnosticBag,
836diagnostics As BindingDiagnosticBag,
851diagnostics As BindingDiagnosticBag,
892Private Shared Function AdjustReceiverAmbiguousTypeOrValue(receiver As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
902Private Shared Function AdjustReceiverAmbiguousTypeOrValue(ByRef group As BoundMethodOrPropertyGroup, diagnostics As BindingDiagnosticBag) As BoundExpression
940diagnostics As BindingDiagnosticBag) As BoundExpression
961diagnostics As BindingDiagnosticBag
1058Friend Function TryDefaultInstanceProperty(typeExpr As BoundTypeExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
1124Dim exprDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.AccumulatesDependencies)
1232diagnostics As BindingDiagnosticBag
1338diagnostics As BindingDiagnosticBag,
1348diagnostics As BindingDiagnosticBag
1427expr = MakeRValue(expr, BindingDiagnosticBag.Discarded)
1433diagnostics As BindingDiagnosticBag
1494diagnostics As BindingDiagnosticBag) As BoundExpression
1511Dim argument As BoundExpression = ApplyImplicitConversion(arrayLiteral.Syntax, arrayLiteral.InferredType, arrayLiteral, BindingDiagnosticBag.Discarded)
1597Private Sub ReportArrayLiteralDiagnostics(arrayLiteral As BoundArrayLiteral, targetArrayType As ArrayTypeSymbol, diagnostics As BindingDiagnosticBag)
1605Private Sub ReportArrayLiteralInferredTypeDiagnostics(arrayLiteral As BoundArrayLiteral, diagnostics As BindingDiagnosticBag)
1636Private Function ReclassifyArrayInitialization(arrayInitialization As BoundArrayInitialization, elementType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundArrayInitialization
1673diagnostics As BindingDiagnosticBag
1684diagnostics As BindingDiagnosticBag
1694diagnostics As BindingDiagnosticBag
1705diagnostics As BindingDiagnosticBag
1715diagnostics As BindingDiagnosticBag
1788Private Shared Sub ReportAssignmentToRValue(expr As BoundExpression, diagnostics As BindingDiagnosticBag)
1931Private Function BindTernaryConditionalExpression(node As TernaryConditionalExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
1998Private Function BindBinaryConditionalExpression(node As BinaryConditionalExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
2150diagnostics As BindingDiagnosticBag,
2187node As ExpressionSyntax, diagnostics As BindingDiagnosticBag) As Boolean
2336Private Function BindMeExpression(node As MeExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundMeReference
2359Private Function BindMyBaseExpression(node As MyBaseExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundMyBaseReference
2371Private Function BindMyClassExpression(node As MyClassExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundMyClassReference
2445diagnostics As BindingDiagnosticBag,
2551diagnostics As BindingDiagnosticBag) As BoundExpression
2620Private Function BindMemberAccess(node As MemberAccessExpressionSyntax, eventContext As Boolean, diagnostics As BindingDiagnosticBag) As BoundExpression
2662Private Function BindLeftOfPotentialColorColorMemberAccess(parentNode As MemberAccessExpressionSyntax, leftOpt As ExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
2707Dim leftDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
2711Dim propertyDiagnostics As BindingDiagnosticBag = Nothing
2713propertyDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
2741Dim typeDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
2752Dim valueDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
2790Protected Function BindMemberAccess(node As VisualBasicSyntaxNode, left As BoundExpression, right As SimpleNameSyntax, eventContext As Boolean, diagnostics As BindingDiagnosticBag) As BoundExpression
2981diagnostics As BindingDiagnosticBag,
2989diagnostics As BindingDiagnosticBag,
3012Private Function GetLocalSymbolType(localSymbol As LocalSymbol, node As VisualBasicSyntaxNode, Optional diagnostics As BindingDiagnosticBag = Nothing) As TypeSymbol
3076diagnostics As BindingDiagnosticBag) As BoundExpression
3508Private Sub CheckMemberTypeAccessibility(diagnostics As BindingDiagnosticBag, node As SyntaxNode, member As Symbol)
3574Public Function BindLabel(node As LabelSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
3611diagnostics As BindingDiagnosticBag
3637Private Function CheckSharedSymbolAccess(node As SyntaxNode, isShared As Boolean, <[In], Out> ByRef receiver As BoundExpression, qualKind As QualificationKind, diagnostics As BindingDiagnosticBag) As Boolean
3717diagnostics As BindingDiagnosticBag) As BoundExpression
3722Private Function BindDictionaryAccess(node As MemberAccessExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
3833Private Shared Sub ReportNoDefaultProperty(expr As BoundExpression, diagnostics As BindingDiagnosticBag)
3851Private Shared Sub ReportQualNotObjectRecord(expr As BoundExpression, diagnostics As BindingDiagnosticBag)
3856Private Shared Sub ReportDefaultMemberNotProperty(expr As BoundExpression, diagnostics As BindingDiagnosticBag)
3870Private Shared Sub VerifyTypeCharacterConsistency(nodeOrToken As SyntaxNodeOrToken, type As TypeSymbol, typeChar As TypeCharacter, diagnostics As BindingDiagnosticBag)
3888Private Shared Sub VerifyTypeCharacterConsistency(name As SimpleNameSyntax, type As TypeSymbol, diagnostics As BindingDiagnosticBag)
3910Private Function BindArrayAccess(node As InvocationExpressionSyntax, expr As BoundExpression, boundArguments As ImmutableArray(Of BoundExpression), argumentNames As ImmutableArray(Of String), diagnostics As BindingDiagnosticBag) As BoundExpression
3966Dim discardedDiagnostics = BindingDiagnosticBag.Discarded
4003diagnostics As BindingDiagnosticBag
4072Private Function BindArrayCreationExpression(node As ArrayCreationExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
4103diagnostics As BindingDiagnosticBag) As BoundExpression
4127Private Function CreateArrayBounds(node As SyntaxNode, knownSizes() As DimensionSize, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundExpression)
4180diagnostics As BindingDiagnosticBag) As BoundArrayInitialization
4202diagnostics As BindingDiagnosticBag) As BoundArrayInitialization
4230diagnostics As BindingDiagnosticBag) As BoundArrayInitialization
4317Private Sub CheckRangeArgumentLowerBound(rangeArgument As RangeArgumentSyntax, diagnostics As BindingDiagnosticBag)
4336diagnostics As BindingDiagnosticBag,
4449Private Function BindLiteralConstant(node As LiteralExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundLiteral
4478diagnostics As BindingDiagnosticBag,
4582diagnostics = BindingDiagnosticBag.Discarded
4638diagnostics As BindingDiagnosticBag,
4656diagnostics As BindingDiagnosticBag,
4691diagnostics = BindingDiagnosticBag.Discarded
4694Dim ignoreDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.AccumulatesDependencies)
4697Dim allIgnoreDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
Binding\Binder_Initializers.vb (16)
88diagnostics As BindingDiagnosticBag
206diagnostics As BindingDiagnosticBag,
230diagnostics As BindingDiagnosticBag)
266diagnostics As BindingDiagnosticBag,
315Friend Function BindFieldInitializerExpression(equalsValueOrAsNewSyntax As SyntaxNode, fieldSymbol As FieldSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
337diagnostics As BindingDiagnosticBag
384Friend Function BindPropertyInitializerExpression(initValueOrAsNewNode As SyntaxNode, propertySymbol As PropertySymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
395diagnostics As BindingDiagnosticBag
495diagnostics As BindingDiagnosticBag,
500Dim initValueDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.AccumulatesDependencies)
511Dim fieldType = If(fieldSymbol.HasDeclaredType, fieldSymbol.Type, GetSpecialType(SpecialType.System_Object, asNewSyntax, BindingDiagnosticBag.Discarded)) ' prevent recursion if field type is inferred.
520BindingDiagnosticBag.Discarded,
524DirectCast(asNewSyntax.NewExpression, AnonymousObjectCreationExpressionSyntax), BindingDiagnosticBag.Discarded)
563constValue = Me.GetExpressionConstantValueIfAny(boundInitValue, BindingDiagnosticBag.Discarded, ConstantContext.Default)
592diagnostics As BindingDiagnosticBag,
647diagnostics As BindingDiagnosticBag,
Binding\Binder_InterpolatedString.vb (6)
16Private Function BindInterpolatedStringExpression(syntax As InterpolatedStringExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
36Private Function BindInterpolatedStringText(syntax As InterpolatedStringTextSyntax, diagnostics As BindingDiagnosticBag) As BoundLiteral
40Private Function BindInterpolation(syntax As InterpolationSyntax, diagnostics As BindingDiagnosticBag) As BoundInterpolation
75Private Function BindUnconvertedInterpolatedStringToString(node As BoundInterpolatedStringExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
108Private Function BindUnconvertedInterpolatedStringToFormattable(syntax As SyntaxNode, node As BoundInterpolatedStringExpression, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
139Private Function TryInvokeInterpolatedStringFactory(node As BoundInterpolatedStringExpression, factoryType As TypeSymbol, factoryMethodName As String, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\Binder_Invocation.vb (37)
105Private Function BindDirectConstructorCall(node As InvocationExpressionSyntax, group As BoundMethodGroup, diagnostics As BindingDiagnosticBag) As BoundExpression
137group, boundArguments, argumentNames, BindingDiagnosticBag.Discarded,
161Private Function BindInvocationExpression(node As InvocationExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
259diagnostics As BindingDiagnosticBag) As BoundExpression
397diagnostics As BindingDiagnosticBag) As BoundExpression
410Dim tmpDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
488BindingDiagnosticBag.Discarded,
520Private Function BindDefaultPropertyGroup(node As VisualBasicSyntaxNode, target As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
537Dim tempDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
580Private Function ShouldBindWithoutArguments(node As VisualBasicSyntaxNode, ByRef group As BoundMethodOrPropertyGroup, diagnostics As BindingDiagnosticBag) As Boolean
729diagnostics As BindingDiagnosticBag,
751diagnostics = BindingDiagnosticBag.Discarded
829diagnostics As BindingDiagnosticBag,
987Friend Sub WarnOnRecursiveAccess(propertyAccess As BoundPropertyAccess, accessKind As PropertyAccessKind, diagnostics As BindingDiagnosticBag)
1011Friend Sub WarnOnRecursiveAccess(node As BoundExpression, accessKind As PropertyAccessKind, diagnostics As BindingDiagnosticBag)
1029diagnostics As BindingDiagnosticBag
1085diagnostics As BindingDiagnosticBag
1193diagnostics As BindingDiagnosticBag,
1223diagnostics As BindingDiagnosticBag,
1272diagnostics As BindingDiagnosticBag,
1347diagnostics As BindingDiagnosticBag,
1766diagnostics As BindingDiagnosticBag,
1831diagnostics As BindingDiagnosticBag,
1858Dim candidateDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
1937diagnostics As BindingDiagnosticBag
1988diagnostics As BindingDiagnosticBag,
2474diagnostics As BindingDiagnosticBag,
2543diagnostics As BindingDiagnosticBag,
2629diagnostics As BindingDiagnosticBag
2800diagnostics As BindingDiagnosticBag
2822diagnostics As BindingDiagnosticBag
2920diagnostics As BindingDiagnosticBag) As BoundLateInvocation
2958diagnostics As BindingDiagnosticBag
2978diagnostics As BindingDiagnosticBag
3008diagnostics As BindingDiagnosticBag
3093diagnostics As BindingDiagnosticBag,
3174Dim ignoreDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Binding\Binder_Query.vb (94)
38Friend Overridable Function BindGroupAggregationExpression(group As GroupAggregationSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
45Friend Overridable Function BindFunctionAggregationExpression([function] As FunctionAggregationSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
58diagnostics As BindingDiagnosticBag
100diagnostics As BindingDiagnosticBag
168diagnostics As BindingDiagnosticBag
196diagnostics As BindingDiagnosticBag
303diagnostics As BindingDiagnosticBag
349Dim callDiagnostics As BindingDiagnosticBag = diagnostics
353callDiagnostics = BindingDiagnosticBag.Discarded
387diagnostics As BindingDiagnosticBag
544Dim callDiagnostics As BindingDiagnosticBag = diagnostics
548callDiagnostics = BindingDiagnosticBag.Discarded
583diagnostics As BindingDiagnosticBag
618diagnostics = BindingDiagnosticBag.Discarded
651diagnostics As BindingDiagnosticBag
690diagnostics = BindingDiagnosticBag.Discarded
762diagnostics As BindingDiagnosticBag,
767Dim callDiagnostics As BindingDiagnosticBag = diagnostics
825If callDiagnostics IsNot BindingDiagnosticBag.Discarded AndAlso ShouldSuppressDiagnostics(selectorLambda) Then
827callDiagnostics = BindingDiagnosticBag.Discarded
958diagnostics As BindingDiagnosticBag
972diagnostics As BindingDiagnosticBag
1011Dim callDiagnostics As BindingDiagnosticBag = diagnostics
1140If callDiagnostics IsNot BindingDiagnosticBag.Discarded AndAlso
1143callDiagnostics = BindingDiagnosticBag.Discarded
1283diagnostics As BindingDiagnosticBag
1378diagnostics As BindingDiagnosticBag
1522Dim callDiagnostics As BindingDiagnosticBag = diagnostics
1529callDiagnostics = BindingDiagnosticBag.Discarded
1610diagnostics As BindingDiagnosticBag
1705Dim callDiagnostics As BindingDiagnosticBag = diagnostics
1713callDiagnostics = BindingDiagnosticBag.Discarded
1754diagnostics As BindingDiagnosticBag
1812Dim callDiagnostics As BindingDiagnosticBag = diagnostics
1818callDiagnostics = BindingDiagnosticBag.Discarded
1854diagnostics As BindingDiagnosticBag
1901diagnostics As BindingDiagnosticBag
1949diagnostics As BindingDiagnosticBag
2025diagnostics As BindingDiagnosticBag
2101diagnostics As BindingDiagnosticBag,
2155Private Sub VerifyRangeVariableName(rangeVar As RangeVariableSymbol, identifier As SyntaxToken, diagnostics As BindingDiagnosticBag)
2243diagnostics As BindingDiagnosticBag
2261diagnostics As BindingDiagnosticBag
2290diagnostics As BindingDiagnosticBag
2307diagnostics As BindingDiagnosticBag
2329Dim conversionDiagnostic = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.AccumulatesDependencies)
2357diagnostics = BindingDiagnosticBag.Discarded
2379If diagnostics IsNot BindingDiagnosticBag.Discarded AndAlso ShouldSuppressDiagnostics(filterLambda) Then
2381diagnostics = BindingDiagnosticBag.Discarded
2410diagnostics As BindingDiagnosticBag
2446diagnostics As BindingDiagnosticBag
2462diagnostics As BindingDiagnosticBag
2474diagnostics As BindingDiagnosticBag
2489diagnostics = BindingDiagnosticBag.Discarded
2520diagnostics As BindingDiagnosticBag
2523Dim callDiagnostics As BindingDiagnosticBag = diagnostics
2576If callDiagnostics IsNot BindingDiagnosticBag.Discarded AndAlso ShouldSuppressDiagnostics(keyLambda) Then
2578callDiagnostics = BindingDiagnosticBag.Discarded
2689diagnostics As BindingDiagnosticBag
2736diagnostics As BindingDiagnosticBag
2814diagnostics As BindingDiagnosticBag
2934diagnostics As BindingDiagnosticBag
2985diagnostics As BindingDiagnosticBag
3117diagnostics As BindingDiagnosticBag
3177diagnostics As BindingDiagnosticBag,
3261diagnostics As BindingDiagnosticBag
3398diagnostics As BindingDiagnosticBag
3432innerKey = innerKeyBinder.BindRValue(joinCondition.Left, BindingDiagnosticBag.Discarded)
3446outerKey = outerKeyBinder.BindRValue(joinCondition.Right, BindingDiagnosticBag.Discarded)
3447innerKey = innerKeyBinder.BindRValue(joinCondition.Left, BindingDiagnosticBag.Discarded)
3500diagnostics = BindingDiagnosticBag.Discarded
3530diagnostics As BindingDiagnosticBag
3649Public Function DetermineTheSide(node As BoundExpression, diagnostics As BindingDiagnosticBag) As Result
3681Private ReadOnly _diagnostics As BindingDiagnosticBag
3688diagnostics As BindingDiagnosticBag
3701diagnostics As BindingDiagnosticBag
3755diagnostics As BindingDiagnosticBag
3774diagnostics As BindingDiagnosticBag
3906diagnostics As BindingDiagnosticBag
3959Dim callDiagnostics As BindingDiagnosticBag = diagnostics
3963callDiagnostics = BindingDiagnosticBag.Discarded
4012diagnostics As BindingDiagnosticBag
4111Friend Overrides Function BindGroupAggregationExpression(group As GroupAggregationSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
4125diagnostics As BindingDiagnosticBag
4251diagnostics As BindingDiagnosticBag
4289diagnostics = BindingDiagnosticBag.Discarded
4321diagnostics As BindingDiagnosticBag,
4350Dim additionalDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
4417Private Function InferControlVariableType(source As BoundExpression, diagnostics As BindingDiagnosticBag) As TypeSymbol
4554diagnostics As BindingDiagnosticBag
4593diagnostics As BindingDiagnosticBag
4611diagnostics As BindingDiagnosticBag
4632diagnostics As BindingDiagnosticBag
4650diagnostics = BindingDiagnosticBag.Discarded
Binding\Binder_SelectCase.vb (18)
20Private Function BindSelectBlock(node As SelectBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
28diagnostics = BindingDiagnosticBag.Discarded
56Private Function BindSelectExpression(node As ExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
106diagnostics As BindingDiagnosticBag
127diagnostics As BindingDiagnosticBag
143diagnostics As BindingDiagnosticBag
169diagnostics As BindingDiagnosticBag
193diagnostics As BindingDiagnosticBag
240diagnostics As BindingDiagnosticBag
272diagnostics As BindingDiagnosticBag
320diagnostics As BindingDiagnosticBag
377diagnostics As BindingDiagnosticBag
454Private Function ComputeCaseClauseCondition(caseClause As BoundCaseClause, <Out()> ByRef conditionOpt As BoundExpression, selectExpression As BoundRValuePlaceholder, diagnostics As BindingDiagnosticBag) As BoundCaseClause
470Private Function ComputeRelationalCaseClauseCondition(boundClause As BoundRelationalCaseClause, <Out()> ByRef conditionOpt As BoundExpression, selectExpression As BoundRValuePlaceholder, diagnostics As BindingDiagnosticBag) As BoundCaseClause
488Private Function ComputeSimpleCaseClauseCondition(boundClause As BoundSimpleCaseClause, <Out()> ByRef conditionOpt As BoundExpression, selectExpression As BoundRValuePlaceholder, diagnostics As BindingDiagnosticBag) As BoundCaseClause
504Private Function ComputeRangeCaseClauseCondition(boundClause As BoundRangeCaseClause, <Out()> ByRef conditionOpt As BoundExpression, selectExpression As BoundRValuePlaceholder, diagnostics As BindingDiagnosticBag) As BoundCaseClause
553Private Function RecommendSwitchTable(selectExpr As BoundRValuePlaceholder, caseBlocks As ArrayBuilder(Of BoundCaseBlock), diagnostics As BindingDiagnosticBag) As Boolean
659Private Function ReportInvalidSelectCaseRange(caseBlocks As ArrayBuilder(Of BoundCaseBlock), diagnostics As BindingDiagnosticBag) As Boolean
Binding\Binder_Statements.vb (90)
22Public Overridable Function BindStatement(node As StatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
267Private Function BindStandAloneCaseStatement(caseStatement As CaseStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundBadStatement
291Private Function BindMethodBlock(methodBlock As MethodBlockBaseSyntax, diagnostics As BindingDiagnosticBag) As BoundBlock
458Private ReadOnly _diagnostics As BindingDiagnosticBag
471Private Sub New(binder As Binder, diagnostics As BindingDiagnosticBag)
479diagnostics As BindingDiagnosticBag,
637Private Shared Sub ReportNameConflictsBetweenStaticLocals(methodBlockBinder As Binder, diagnostics As BindingDiagnosticBag)
702Private Function BindRedimStatement(node As ReDimStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
795Private Function BindEraseStatement(node As EraseStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
828Private Function BindGoToStatement(node As GoToStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
851Private Function IsValidLabelForGoto(label As LabelSymbol, labelSyntax As LabelSyntax, diagnostics As BindingDiagnosticBag) As Boolean
926Private Function BindLabelStatement(node As LabelStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
956Private Sub DecodeLocalModifiersAndReportErrors(syntax As SyntaxTokenList, diagBag As BindingDiagnosticBag)
1013Private Function BindLocalDeclaration(node As LocalDeclarationStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
1026diagnostics As BindingDiagnosticBag
1116diagnostics As BindingDiagnosticBag,
1300diagnostics As BindingDiagnosticBag) As TypeSymbol
1412Dim localDiagnostics = If(inferFrom.HasErrors, BindingDiagnosticBag.Discarded, diagnostics)
1464diagnostics As BindingDiagnosticBag) As TypeSymbol
1546diagnostics As BindingDiagnosticBag) As TypeSymbol
1615diagnostics As BindingDiagnosticBag) As TypeSymbol
1746diagnostics As BindingDiagnosticBag) As BoundLocal
1765diagnostics As BindingDiagnosticBag)
1824diagnostics As BindingDiagnosticBag
1925Friend Function AdjustAssignmentTarget(node As SyntaxNode, op1 As BoundExpression, diagnostics As BindingDiagnosticBag, ByRef isError As Boolean) As BoundExpression
2005Private Function BindAssignment(node As SyntaxNode, op1 As BoundExpression, op2 As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundAssignmentOperator
2029diagnostics As BindingDiagnosticBag
2055diagnostics = BindingDiagnosticBag.Discarded
2071Friend Function BindBlock(syntax As SyntaxNode, stmtList As SyntaxList(Of StatementSyntax), diagnostics As BindingDiagnosticBag) As BoundBlock
2079Friend Function BindBlock(syntax As SyntaxNode, stmtList As SyntaxList(Of StatementSyntax), diagnostics As BindingDiagnosticBag, stmtListBinder As Binder) As BoundBlock
2131Private Function BindAssignmentStatement(node As AssignmentStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundExpressionStatement
2197Private Function BindMidAssignmentStatement(node As AssignmentStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundExpressionStatement
2268Private Function BindAddRemoveHandlerStatement(node As AddRemoveHandlerStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundAddRemoveHandlerStatement
2393diagnostics As BindingDiagnosticBag,
2412Dim errorRecovery As BoundExpression = BindRValue(node, BindingDiagnosticBag.Discarded)
2459Private Function BindRaiseEventStatement(node As RaiseEventStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2608Private Function BindExpressionStatement(statement As ExpressionStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2632Private Sub WarnOnUnobservedCallThatReturnsAnAwaitable(statement As ExpressionStatementSyntax, boundExpression As BoundExpression, diagnostics As BindingDiagnosticBag)
2681Dim diagBag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.AccumulatesDependencies)
2704Private Function BindPrintStatement(printStmt As PrintStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2709Private Function BindCallStatement(callStmt As CallStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2715Private Function BindInvocationExpressionAsStatement(expression As ExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
2719Friend Function ReclassifyInvocationExpressionAsStatement(boundInvocation As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
2757Private Function BindSingleLineIfStatement(node As SingleLineIfStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2773Private Function BindMultiLineIfBlock(node As MultiLineIfBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2814Private Function BindDoLoop(node As DoLoopBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2849Private Function BindWhileBlock(node As WhileBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2867Public Function BindForToBlock(node As ForOrForEachBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2897Public Function BindForEachBlock(node As ForOrForEachBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
2942diagnostics As BindingDiagnosticBag) As Boolean
3042diagnostics As BindingDiagnosticBag)
3107diagnostics As BindingDiagnosticBag
3221If(lessThanOrEqual IsNot Nothing AndAlso lessThanOrEqual.HasErrors, BindingDiagnosticBag.Discarded, diagnostics),
3274diagnostics As BindingDiagnosticBag
3287diagnostics = BindingDiagnosticBag.Discarded
3325diagnostics As BindingDiagnosticBag) As Boolean
3359diagnostics As BindingDiagnosticBag
3515diagnostics = BindingDiagnosticBag.Discarded
3557Private Shared Function VerifyForControlVariableDeclaration(variableDeclarator As VariableDeclaratorSyntax, diagnostics As BindingDiagnosticBag) As Boolean
3591diagnostics As BindingDiagnosticBag
3627Private Function VerifyForLoopControlReference(controlVariable As BoundExpression, diagnostics As BindingDiagnosticBag) As Boolean
3663Public Shared Function SeenAwaitIn(node As BoundNode, diagnostics As BindingDiagnosticBag) As Boolean
3719diagnostics As BindingDiagnosticBag
3750Dim detailedDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.AccumulatesDependencies)
3770Dim ienumerableUseSiteDiagnostics = BindingDiagnosticBag.GetInstance(diagnostics)
4066temporaryDiagnostics As BindingDiagnosticBag
4220diagnostics As BindingDiagnosticBag
4272diagnostics As BindingDiagnosticBag
4406Public Function BindWithBlock(node As WithBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
4411Protected Overridable Function CreateBoundWithBlock(node As WithBlockSyntax, boundBlockBinder As Binder, diagnostics As BindingDiagnosticBag) As BoundStatement
4435Public Function BindUsingBlock(node As UsingBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
4561diagnostics As BindingDiagnosticBag
4597diagnostics As BindingDiagnosticBag
4606diagnostics = BindingDiagnosticBag.Discarded
4640Private Sub ReportMutableStructureConstraintsInUsing(type As TypeSymbol, symbolName As String, syntaxNode As SyntaxNode, diagnostics As BindingDiagnosticBag)
4724Public Function BindSyncLockBlock(node As SyncLockBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundSyncLockStatement
4743Public Function BindTryBlock(node As TryBlockSyntax, diagnostics As BindingDiagnosticBag) As BoundTryStatement
4765Public Function BindCatchBlocks(catchClauses As SyntaxList(Of CatchBlockSyntax), diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundCatchBlock)
4782Private Function BindCatchBlock(node As CatchBlockSyntax, previousBlocks As ArrayBuilder(Of BoundCatchBlock), diagnostics As BindingDiagnosticBag) As BoundCatchBlock
4903Private Function BindExitStatement(node As ExitStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
4929Private Function BindContinueStatement(node As ContinueStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
4949Private Function BindBooleanExpression(node As ExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
4994Private Function BindReturn(originalSyntax As ReturnStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
5093diagnostics As BindingDiagnosticBag) As TypeSymbol
5135Private Function BindYield(originalSyntax As YieldStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
5171Private Function BindThrow(node As ThrowStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
5234Private Function BindError(node As ErrorStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
5243Private Function BindResumeStatement(node As ResumeStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundResumeStatement
5278Private Function BindOnErrorStatement(node As StatementSyntax, diagnostics As BindingDiagnosticBag) As BoundOnErrorStatement
5321Private Function BindEndStatement(endStatementSyntax As StopOrEndStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
Binding\Binder_Symbols.vb (27)
30diagBag As BindingDiagnosticBag,
49diagBag As BindingDiagnosticBag,
63Private Shared Sub ReportUseOfModuleOrVoidType(typeSyntax As TypeSyntax, type As TypeSymbol, diagBag As BindingDiagnosticBag)
79diagBag As BindingDiagnosticBag,
85diagBag As BindingDiagnosticBag,
105diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
186Friend Shared Function ReportUseSite(diagBag As BindingDiagnosticBag, syntax As SyntaxNodeOrToken, symbol As Symbol) As Boolean
225diagBag As BindingDiagnosticBag,
240diagBag As BindingDiagnosticBag,
318Private Shared Function NotFound(typeSyntax As TypeSyntax, diagName As String, binder As Binder, diagBag As BindingDiagnosticBag) As DiagnosticInfo
362Private Shared Sub CheckForForwardedType(containingAssembly As AssemblySymbol, ByRef typeSyntax As TypeSyntax, ByRef diagName As String, ByRef forwardedToAssembly As AssemblySymbol, diagBag As BindingDiagnosticBag)
411Private Shared Function GetForwardedToAssembly(containingAssembly As AssemblySymbol, fullName As String, arity As Integer, typeSyntax As TypeSyntax, diagBag As BindingDiagnosticBag) As AssemblySymbol
470diagBag As BindingDiagnosticBag,
479diagBag As BindingDiagnosticBag,
487diagBag As BindingDiagnosticBag,
553diagBag As BindingDiagnosticBag,
606diagnostics As BindingDiagnosticBag,
688diagBag As BindingDiagnosticBag,
753diagBag As BindingDiagnosticBag,
762diagBag As BindingDiagnosticBag,
812diagBag As BindingDiagnosticBag,
827diagBag As BindingDiagnosticBag,
839diagBag As BindingDiagnosticBag,
870diagBag As BindingDiagnosticBag,
931diagBag As BindingDiagnosticBag,
1020diagBag As BindingDiagnosticBag,
1118diagBag As BindingDiagnosticBag,
Binding\Binder_Utils.vb (25)
21diagBag As BindingDiagnosticBag,
261diagBag As BindingDiagnosticBag) As SourceParameterFlags
293diagBag As BindingDiagnosticBag) As NamedTypeSymbol
319Public Function GetNewCompoundUseSiteInfo(futureDestination As BindingDiagnosticBag) As CompoundUseSiteInfo(Of AssemblySymbol)
328diagnostics As BindingDiagnosticBag) As TypeSymbol
353diagnostics As BindingDiagnosticBag) As TypeSymbol
385diagnostics As BindingDiagnosticBag) As ArrayTypeSymbol
487diagBag As BindingDiagnosticBag,
577diagBag As BindingDiagnosticBag,
609diagBag As BindingDiagnosticBag,
630diagBag As BindingDiagnosticBag) As TypeSymbol
652diagBag As BindingDiagnosticBag) As TypeSymbol
668diagBag As BindingDiagnosticBag,
820diagBag As BindingDiagnosticBag
861diagBag As BindingDiagnosticBag) As ImmutableArray(Of ParameterSymbol)
925Private Shared Function CheckOperatorParameterModifier(container As Symbol, token As SyntaxToken, flag As SourceParameterFlags, diagnostics As BindingDiagnosticBag) As SourceParameterFlags
951diagBag As BindingDiagnosticBag) As ImmutableArray(Of ParameterSymbol)
988Private Shared Function CheckPropertyParameterModifier(container As Symbol, token As SyntaxToken, flag As SourceParameterFlags, diagnostics As BindingDiagnosticBag) As SourceParameterFlags
997Private Shared Function CheckReservedParameterName(reservedName As String, syntax As ParameterSyntax, errorId As ERRID, diagnostics As BindingDiagnosticBag) As Boolean
1014diagnostics As BindingDiagnosticBag)
1025Friend Delegate Function CheckParameterModifierDelegate(container As Symbol, token As SyntaxToken, flag As SourceParameterFlags, diagnostics As BindingDiagnosticBag) As SourceParameterFlags
1033diagBag As BindingDiagnosticBag)
1299Public Function GetExpressionConstantValueIfAny(boundExpression As BoundExpression, diagnostics As BindingDiagnosticBag, context As ConstantContext) As ConstantValue
1391Private Function CheckConversionForConstantExpression(conv As BoundExpression, operand As BoundExpression, diagnostics As BindingDiagnosticBag, context As ConstantContext) As ConstantValue
1467Dim conversionToUnderlying As BoundExpression = ApplyConversion(operand.Syntax, conversionType.GetNullableUnderlyingType(), operand, isExplicit:=True, diagnostics:=BindingDiagnosticBag.Discarded)
Binding\Binder_XmlLiterals.vb (45)
18diagnostics As BindingDiagnosticBag) As BoundExpression
32Private Function BindXmlDocument(syntax As XmlDocumentSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
56Private Function BindXmlDeclaration(syntax As XmlDeclarationSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
68Private Function BindXmlDeclarationOption(syntax As XmlDeclarationSyntax, optionSyntax As XmlDeclarationOptionSyntax, diagnostics As BindingDiagnosticBag) As BoundLiteral
77Private Function BindXmlProcessingInstruction(syntax As XmlProcessingInstructionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
91diagnostics As BindingDiagnosticBag) As BoundExpression
98diagnostics As BindingDiagnosticBag) As BoundExpression
109diagnostics As BindingDiagnosticBag) As BoundExpression
149diagnostics As BindingDiagnosticBag) As BoundExpression
221diagnostics As BindingDiagnosticBag) As BoundXmlContainerRewriterInfo
351diagnostics As BindingDiagnosticBag) As BoundExpression
387diagnostics As BindingDiagnosticBag) As BoundXmlAttribute
399diagnostics As BindingDiagnosticBag) As BoundExpression
421diagnostics As BindingDiagnosticBag) As BoundXmlAttribute
445diagnostics As BindingDiagnosticBag) As BoundXmlAttribute
525TryGetXmlnsPrefix(name, prefix, BindingDiagnosticBag.Discarded)
540Private Function BindXmlEmbeddedExpression(syntax As XmlEmbeddedExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
553diagnostics As BindingDiagnosticBag)
601Private Sub BindXmlContent(content As SyntaxList(Of XmlNodeSyntax), childNodeBuilder As ArrayBuilder(Of BoundExpression), rootInfoOpt As XmlElementRootInfo, diagnostics As BindingDiagnosticBag)
607Private Function BindXmlContent(syntax As XmlNodeSyntax, rootInfoOpt As XmlElementRootInfo, diagnostics As BindingDiagnosticBag) As BoundExpression
635Private Function BindXmlAttributeAccess(syntax As XmlMemberAccessExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
680Private Function BindXmlElementAccess(syntax As XmlMemberAccessExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
684Private Function BindXmlDescendantAccess(syntax As XmlMemberAccessExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
688Private Function BindXmlElementAccess(syntax As XmlMemberAccessExpressionSyntax, memberName As String, typeDisallowsError As ERRID, diagnostics As BindingDiagnosticBag) As BoundExpression
740Private Function BindXmlMemberAccessReceiver(syntax As XmlMemberAccessExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
766diagnostics As BindingDiagnosticBag) As BoundExpression
782diagnostics As BindingDiagnosticBag) As BoundExpression
851Private Function BindXmlName(syntax As VisualBasicSyntaxNode, localName As BoundExpression, [namespace] As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
862Private Function BindGetXmlNamespace(syntax As GetXmlNamespaceExpressionSyntax, diagnostics As BindingDiagnosticBag) As BoundExpression
887Private Function BindXmlNamespace(syntax As VisualBasicSyntaxNode, [namespace] As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression
898Private Function ReportXmlNamespacePrefixNotDefined(syntax As VisualBasicSyntaxNode, prefixToken As SyntaxToken, prefix As String, compilerGenerated As Boolean, diagnostics As BindingDiagnosticBag) As BoundBadExpression
910Private Function BindXmlCData(syntax As XmlCDataSectionSyntax, rootInfoOpt As XmlElementRootInfo, diagnostics As BindingDiagnosticBag) As BoundExpression
924Private Function BindXmlText(syntax As XmlTextSyntax, diagnostics As BindingDiagnosticBag) As BoundLiteral
955Private Function GetXmlMethodOrPropertyGroup(syntax As VisualBasicSyntaxNode, type As NamedTypeSymbol, memberName As String, receiverOpt As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundMethodOrPropertyGroup
1017Private Function BindInvocationExpressionIfGroupNotNothing(syntax As SyntaxNode, groupOpt As BoundMethodOrPropertyGroup, arguments As ImmutableArray(Of BoundExpression), diagnostics As BindingDiagnosticBag) As BoundExpression
1036Private Function CheckXmlFeaturesAllowed(syntax As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag) As BindingDiagnosticBag
1044Return BindingDiagnosticBag.Discarded
1054diagnostics As BindingDiagnosticBag,
1079diagnostics As BindingDiagnosticBag) As Dictionary(Of String, String)
1144diagnostics As BindingDiagnosticBag) As Boolean
1174diagnostics As BindingDiagnosticBag) As Boolean
1242Private Shared Function RedefinesReservedXmlNamespace(syntax As VisualBasicSyntaxNode, prefix As String, reservedPrefix As String, [namespace] As String, reservedNamespace As String, diagnostics As BindingDiagnosticBag) As Boolean
1256Private Function TryGetXmlnsPrefix(syntax As XmlNameSyntax, <Out()> ByRef prefix As String, diagnostics As BindingDiagnosticBag) As Boolean
1350diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\BindingDiagnosticBag.vb (15)
13Private Shared ReadOnly s_poolWithBoth As ObjectPool(Of BindingDiagnosticBag) = New ObjectPool(Of BindingDiagnosticBag)(Function() New BindingDiagnosticBag(s_poolWithBoth, New DiagnosticBag(), New HashSet(Of AssemblySymbol)()))
14Private Shared ReadOnly s_poolWithDiagnosticsOnly As ObjectPool(Of BindingDiagnosticBag) = New ObjectPool(Of BindingDiagnosticBag)(Function() New BindingDiagnosticBag(s_poolWithDiagnosticsOnly, New DiagnosticBag(), dependenciesBag:=Nothing))
15Private Shared ReadOnly s_poolWithDependenciesOnly As ObjectPool(Of BindingDiagnosticBag) = New ObjectPool(Of BindingDiagnosticBag)(Function() New BindingDiagnosticBag(s_poolWithDependenciesOnly, diagnosticBag:=Nothing, New HashSet(Of AssemblySymbol)()))
16Private Shared ReadOnly s_poolWithConcurrent As ObjectPool(Of BindingDiagnosticBag) = New ObjectPool(Of BindingDiagnosticBag)(Function() New BindingDiagnosticBag(s_poolWithConcurrent, New DiagnosticBag(), New ConcurrentSet(Of AssemblySymbol)()))
20Private ReadOnly _pool As ObjectPool(Of BindingDiagnosticBag)
26Private Sub New(pool As ObjectPool(Of BindingDiagnosticBag), diagnosticBag As DiagnosticBag, dependenciesBag As ICollection(Of AssemblySymbol))
31Friend Shared Function GetInstance() As BindingDiagnosticBag
35Friend Shared Function GetInstance(withDiagnostics As Boolean, withDependencies As Boolean) As BindingDiagnosticBag
50Friend Shared Function GetInstance(template As BindingDiagnosticBag) As BindingDiagnosticBag
57Friend Shared Function GetConcurrentInstance() As BindingDiagnosticBag
Binding\DocumentationCommentCrefBinder.vb (7)
69Friend Overrides Function BindInsideCrefAttributeValue(reference As CrefReferenceSyntax, preserveAliases As Boolean, diagnosticBag As BindingDiagnosticBag, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of Symbol)
198Friend Overrides Function BindInsideCrefAttributeValue(name As TypeSyntax, preserveAliases As Boolean, diagnosticBag As BindingDiagnosticBag, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of Symbol)
219Private Function BindInsideCrefSignatureOrReturnType(crefReference As CrefReferenceSyntax, name As TypeSyntax, preserveAliases As Boolean, diagnosticBag As BindingDiagnosticBag) As ImmutableArray(Of Symbol)
222Dim result As Symbol = typeParameterAwareBinder.BindNamespaceOrTypeOrAliasSyntax(name, If(diagnosticBag, BindingDiagnosticBag.Discarded))
223result = typeParameterAwareBinder.BindNamespaceOrTypeOrAliasSyntax(name, If(diagnosticBag, BindingDiagnosticBag.Discarded))
452diagnosticBag As BindingDiagnosticBag)
458Dim diagnostic = If(diagnosticBag, BindingDiagnosticBag.Discarded)
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\ClsComplianceChecker.vb (5)
31Private ReadOnly _diagnostics As BindingDiagnosticBag
40Private Sub New(compilation As VisualBasicCompilation, filterTree As SyntaxTree, filterSpanWithinTree As TextSpan?, diagnostics As BindingDiagnosticBag, cancellationToken As CancellationToken)
72Public Shared Sub CheckCompliance(compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag, cancellationToken As CancellationToken, Optional filterTree As SyntaxTree = Nothing, Optional filterSpanWithinTree As TextSpan? = Nothing)
73Dim queue = If(diagnostics.AccumulatesDependencies, BindingDiagnosticBag.GetConcurrentInstance(), BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False))
Compilation\MethodCompiler.vb (22)
29Private ReadOnly _diagnostics As BindingDiagnosticBag
90diagnostics As BindingDiagnosticBag,
162diagnostics As BindingDiagnosticBag,
220diagnostics As BindingDiagnosticBag,
298diagnostics As BindingDiagnosticBag,
813Dim f = New SyntheticBoundNodeFactory(matchingStub, matchingStub, If(method.Syntax, VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot()), compilationState, BindingDiagnosticBag.Discarded)
883Dim diagnosticsThisMethod = BindingDiagnosticBag.GetInstance(_diagnostics)
935Dim diagnosticsThisMethod = BindingDiagnosticBag.GetInstance(_diagnostics)
1033Dim diagnosticsThisMethod = BindingDiagnosticBag.GetInstance(_diagnostics)
1069Private Sub DetectAndReportCyclesInConstructorCalls(constructorCallMap As Dictionary(Of MethodSymbol, MethodSymbol), diagnostics As BindingDiagnosticBag)
1135diagnostics As BindingDiagnosticBag)
1252Dim diagsForCurrentMethod = BindingDiagnosticBag.GetInstance(_diagnostics)
1349diagnostics As BindingDiagnosticBag,
1454diagsForCurrentMethod As BindingDiagnosticBag,
1489Dim diagnostics As BindingDiagnosticBag = diagsForCurrentMethod
1494diagnostics = BindingDiagnosticBag.GetInstance(diagsForCurrentMethod)
1602diagnostics As BindingDiagnosticBag,
1785diagnostics As BindingDiagnosticBag,
1829diagnostics As BindingDiagnosticBag,
1906Private Shared Function FindConstructorToCallByDefault(constructor As MethodSymbol, diagnostics As BindingDiagnosticBag, Optional binderForAccessibilityCheckOpt As Binder = Nothing) As MethodSymbol
2077diagnostics As BindingDiagnosticBag,
2126Friend Shared Function BindDefaultConstructorInitializer(constructor As MethodSymbol, diagnostics As BindingDiagnosticBag) As BoundExpressionStatement
Compilation\VisualBasicCompilation.vb (15)
1698Dim builder = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
1704Private Overloads Sub ReportUnusedImports(filterTree As SyntaxTree, diagnostics As BindingDiagnosticBag, cancellationToken As CancellationToken)
1760Private Sub AddImportsDependencies(diagnostics As BindingDiagnosticBag, infoTree As SyntaxTree, clauseSpan As TextSpan)
2133Dim builder = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
2145builder As BindingDiagnosticBag,
2204Dim methodBodyDiagnostics = If(builder.AccumulatesDependencies, BindingDiagnosticBag.GetConcurrentInstance(), BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False))
2212Private Sub AddClsComplianceDiagnostics(diagnostics As BindingDiagnosticBag, cancellationToken As CancellationToken, Optional filterTree As SyntaxTree = Nothing, Optional filterSpanWithinTree As TextSpan? = Nothing)
2220Dim builder = BindingDiagnosticBag.GetInstance()
2250Dim builder = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
2270Dim methodBodyDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
2293Private Sub GetDiagnosticsForAllMethodBodies(hasDeclarationErrors As Boolean, diagnostics As BindingDiagnosticBag, doLowering As Boolean, cancellationToken As CancellationToken)
2300Private Sub GetDiagnosticsForMethodBodiesInTree(tree As SyntaxTree, filterSpanWithinTree As TextSpan?, hasDeclarationErrors As Boolean, diagnostics As BindingDiagnosticBag, cancellationToken As CancellationToken)
2501Dim methodBodyDiagnosticBag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
2563Dim xmlDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Lowering\LocalRewriter\LocalRewriter.vb (12)
22Private ReadOnly _diagnostics As BindingDiagnosticBag
123diagnostics As BindingDiagnosticBag,
155diagnostics As BindingDiagnosticBag,
212diagnostics As BindingDiagnosticBag,
241diagnostics As BindingDiagnosticBag,
594Friend Shared Function ReportMissingOrBadRuntimeHelper(node As BoundNode, specialMember As SpecialMember, memberSymbol As Symbol, diagnostics As BindingDiagnosticBag, Optional embedVBCoreRuntime As Boolean = False) As Boolean
603Private Shared Sub ReportMissingRuntimeHelper(node As BoundNode, specialMember As SpecialMember, diagnostics As BindingDiagnosticBag, Optional embedVBCoreRuntime As Boolean = False)
625Friend Shared Function ReportMissingOrBadRuntimeHelper(node As BoundNode, wellKnownMember As WellKnownMember, memberSymbol As Symbol, diagnostics As BindingDiagnosticBag, embedVBCoreRuntime As Boolean) As Boolean
634Private Shared Sub ReportMissingRuntimeHelper(node As BoundNode, wellKnownMember As WellKnownMember, diagnostics As BindingDiagnosticBag, embedVBCoreRuntime As Boolean)
644Private Shared Sub ReportMissingRuntimeHelper(node As BoundNode, typeName As String, memberName As String, diagnostics As BindingDiagnosticBag, embedVBCoreRuntime As Boolean)
654Private Shared Sub ReportDiagnostic(node As BoundNode, diagnostic As DiagnosticInfo, diagnostics As BindingDiagnosticBag)
658Private Shared Function ReportUseSite(node As BoundNode, useSiteInfo As UseSiteInfo(Of AssemblySymbol), diagnostics As BindingDiagnosticBag) As Boolean
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (4)
19Public Function ReportMissingOrErroneousSymbols(diagnostics As BindingDiagnosticBag, hasClass As Boolean, hasDelegate As Boolean, hasKeys As Boolean) As Boolean
64Private Shared Sub ReportErrorOnSymbol(symbol As Symbol, diagnostics As BindingDiagnosticBag, ByRef hasError As Boolean)
73Private Shared Sub ReportErrorOnSpecialMember(symbol As Symbol, member As SpecialMember, diagnostics As BindingDiagnosticBag, ByRef hasError As Boolean, embedVBCore As Boolean)
88Private Function CheckAndReportMissingSymbols(anonymousTypes As ArrayBuilder(Of AnonymousTypeOrDelegateTemplateSymbol), diagnostics As BindingDiagnosticBag) As Boolean
Symbols\Attributes\AttributeData.vb (7)
190Dim action As DeclarativeSecurityAction = Me.DecodeSecurityAttributeAction(targetSymbol, compilation, arguments.AttributeSyntaxOpt, hasErrors, DirectCast(arguments.Diagnostics, BindingDiagnosticBag))
210diagnostics As BindingDiagnosticBag
281diagnostics As BindingDiagnosticBag,
399DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_PermissionSetAttributeInvalidFile, argSyntaxLocation, If(fileName, "<empty>"), filePropName)
434Friend Sub DecodeClassInterfaceAttribute(nodeOpt As AttributeSyntax, diagnostics As BindingDiagnosticBag)
453Friend Sub DecodeInterfaceTypeAttribute(node As AttributeSyntax, diagnostics As BindingDiagnosticBag)
490Friend Function DecodeGuidAttribute(nodeOpt As AttributeSyntax, diagnostics As BindingDiagnosticBag) As String
Symbols\Source\SourceAssemblySymbol.vb (13)
239Private Function ValidateAttributeUsageForNetModuleAttribute(attribute As VisualBasicAttributeData, netModuleName As String, diagnostics As BindingDiagnosticBag, ByRef uniqueAttributes As HashSet(Of VisualBasicAttributeData)) As Boolean
317diagnostics As BindingDiagnosticBag,
381Dim diagnostics = BindingDiagnosticBag.GetInstance()
879Private Sub CheckOptimisticIVTAccessGrants(bag As BindingDiagnosticBag)
957Private Function ProcessOneInternalsVisibleToAttribute(nodeOpt As AttributeSyntax, attrData As VisualBasicAttributeData, diagnostics As BindingDiagnosticBag) As Boolean
1019Dim diagnostics = DirectCast(arguments.Diagnostics, BindingDiagnosticBag)
1171Private Sub ValidateIntegralAttributeNonNegativeArguments(attrData As VisualBasicAttributeData, nodeOpt As AttributeSyntax, diagnostics As BindingDiagnosticBag)
1190Friend Sub GetAllDeclarationErrors(diagnostics As BindingDiagnosticBag, Optional cancellationToken As CancellationToken = Nothing)
1204Dim diagnostics = BindingDiagnosticBag.GetInstance()
1289Private Sub DetectAttributeAndOptionConflicts(diagnostics As BindingDiagnosticBag)
1352Private Sub ReportDiagnosticsForAddedModules(diagnostics As BindingDiagnosticBag)
1427Protected Sub ValidateIVTPublicKeys(diagnostics As BindingDiagnosticBag)
1464Private Shared Sub ReportDiagnosticsForSynthesizedAttributes(compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag)
Symbols\Source\SourceEnumConstantSymbol.vb (11)
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)
77Protected NotOverridable Overrides Sub SetLazyConstantTuple(constantTuple As EvaluatedConstant, diagnostics As BindingDiagnosticBag)
88Protected MustOverride Overrides Function MakeConstantTuple(dependencies As ConstantFieldsInProgress.Dependencies, diagnostics As BindingDiagnosticBag) As EvaluatedConstant
99Public Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, diagnostics As BindingDiagnosticBag)
103Protected Overrides Function MakeConstantTuple(dependencies As ConstantFieldsInProgress.Dependencies, diagnostics As BindingDiagnosticBag) As EvaluatedConstant
114Public Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, initializer As EqualsValueSyntax, diagnostics As BindingDiagnosticBag)
119Protected Overrides Function MakeConstantTuple(dependencies As ConstantFieldsInProgress.Dependencies, diagnostics As BindingDiagnosticBag) As EvaluatedConstant
130Public Sub New(containingEnum As SourceNamedTypeSymbol, bodyBinder As Binder, syntax As EnumMemberDeclarationSyntax, otherConstant As SourceEnumConstantSymbol, otherConstantOffset As UInteger, diagnostics As BindingDiagnosticBag)
138Protected Overrides Function MakeConstantTuple(dependencies As ConstantFieldsInProgress.Dependencies, diagnostics As BindingDiagnosticBag) As EvaluatedConstant
Symbols\Source\SourceMemberContainerTypeSymbol.vb (43)
333Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
365Private Sub ReportNestingIntoVariantInterface(diagnostics As BindingDiagnosticBag)
399diagnostics As BindingDiagnosticBag,
510diagnostics As BindingDiagnosticBag,
539diagnostics As BindingDiagnosticBag,
955diagnostics As BindingDiagnosticBag,
994diagnostics As BindingDiagnosticBag,
1030diagnostics As BindingDiagnosticBag,
1063diagnostics As BindingDiagnosticBag,
1103diagnostics As BindingDiagnosticBag,
1663Dim diagBag = BindingDiagnosticBag.GetInstance()
1697Private Function BuildMembersAndInitializers(diagBag As BindingDiagnosticBag) As MembersAndInitializers
1743Private Function FindPartialMethodDeclarations(diagnostics As BindingDiagnosticBag, members As Dictionary(Of String, ImmutableArray(Of Symbol))) As HashSet(Of SourceMemberMethodSymbol)
1765Private Sub ProcessPartialMethodsIfAny(members As Dictionary(Of String, ImmutableArray(Of Symbol)), diagnostics As BindingDiagnosticBag)
1897diagnostics As BindingDiagnosticBag)
1991Dim diagnostics = BindingDiagnosticBag.GetInstance()
2088Private Function CheckStructureCircularity(diagnostics As BindingDiagnosticBag) As Boolean
2248Private Function DetermineDefaultPropertyName(membersByName As Dictionary(Of String, ImmutableArray(Of Symbol)), diagBag As BindingDiagnosticBag) As String
2299Private Sub CheckDefaultPropertyAgainstAllBases(namedType As NamedTypeSymbol, defaultPropertyName As String, location As Location, diagBag As BindingDiagnosticBag)
2311Private Sub CheckDefaultPropertyAgainstBase(defaultPropertyName As String, baseType As NamedTypeSymbol, location As Location, diagBag As BindingDiagnosticBag)
2370Private Sub CheckForOverloadOverridesShadowsClashesInSameType(membersAndInitializers As MembersAndInitializers, diagBag As BindingDiagnosticBag)
2472Private Function BuildNonTypeMembers(diagnostics As BindingDiagnosticBag) As MembersAndInitializers
2508Protected MustOverride Sub AddDeclaredNonTypeMembers(membersBuilder As MembersAndInitializersBuilder, diagnostics As BindingDiagnosticBag)
2510Protected Overridable Sub AddGroupClassMembersIfNeeded(membersBuilder As MembersAndInitializersBuilder, diagnostics As BindingDiagnosticBag)
2516diagBag As BindingDiagnosticBag,
2702diagnostics As BindingDiagnosticBag)
2749Private Sub EnsureCtor(members As MembersAndInitializersBuilder, isShared As Boolean, isDebuggable As Boolean, diagBag As BindingDiagnosticBag)
2782Private Sub AddWithEventsHookupConstructorsIfNeeded(members As MembersAndInitializersBuilder, diagBag As BindingDiagnosticBag)
2908diagBag As BindingDiagnosticBag)
2973diagBag As BindingDiagnosticBag) As Boolean
2988diagBag As BindingDiagnosticBag,
3007diagBag As BindingDiagnosticBag,
3173Friend Function CreateSharedConstructorsForConstFieldsIfRequired(binder As Binder, diagnostics As BindingDiagnosticBag) As MethodSymbol
3360Private Function MakeExplicitInterfaceImplementationMap(diagnostics As BindingDiagnosticBag) As MultiDictionary(Of Symbol, Symbol)
3455Dim diagnostics = BindingDiagnosticBag.GetInstance()
3475Private Sub CheckForOverloadsErrors(diagnostics As BindingDiagnosticBag)
3586diagnostics As BindingDiagnosticBag
3714diagnostics As BindingDiagnosticBag
3757Private Sub CheckInterfaceUnificationAndVariance(diagnostics As BindingDiagnosticBag)
3820Private Sub ReportOverloadsErrors(comparisonResults As SymbolComparisonResults, firstMember As Symbol, secondMember As Symbol, location As Location, diagnostics As BindingDiagnosticBag)
3874Private Sub ReportInterfaceUnificationError(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol)
3920Private Sub ReportVarianceAmbiguityWarning(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol)
3955Private Sub ReportDuplicateInterfaceWithDifferentTupleNames(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol)
Symbols\Source\SourceMethodSymbol.vb (11)
892diagnostics As BindingDiagnosticBag) As ImmutableArray(Of TypeParameterConstraint)
1176Friend Overrides Function GetBoundMethodBody(compilationState As TypeCompilationState, diagnostics As BindingDiagnosticBag, Optional ByRef methodBodyBinder As Binder = Nothing) As BoundBlock
1574DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location)
1577DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_UnmanagedCallersOnlyNotSupported, arguments.AttributeSyntaxOpt.Location)
1595Dim diagnostics = DirectCast(arguments.Diagnostics, BindingDiagnosticBag)
1754DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ObsoleteInvalidOnEventMember, Me.Locations(0), description.FullName)
1773Private Function IsDllImportAttributeAllowed(syntax As AttributeSyntax, diagnostics As BindingDiagnosticBag) As Boolean
1828diagnostics As BindingDiagnosticBag,
2084Dim diagBag = BindingDiagnosticBag.GetInstance()
2204diagBag As BindingDiagnosticBag) As ImmutableArray(Of ParameterSymbol)
2249diagBag As BindingDiagnosticBag) As TypeSymbol
Symbols\Source\SourceModuleSymbol.vb (16)
361Dim diagnosticBag = BindingDiagnosticBag.GetInstance()
369Dim diagBag = BindingDiagnosticBag.GetInstance()
378Dim diagBagForThisImport = BindingDiagnosticBag.GetInstance()
495diagnostics As BindingDiagnosticBag)
529Private Sub ValidateImport(type As TypeSymbol, info As GlobalImportInfo, diagnostics As BindingDiagnosticBag)
653Friend Sub GetAllDeclarationErrors(diagnostics As BindingDiagnosticBag, cancellationToken As CancellationToken, ByRef hasExtensionMethods As Boolean)
823diagBag As BindingDiagnosticBag,
848Private Shared Function IsEmptyIgnoringLazyDiagnostics(diagBag As BindingDiagnosticBag) As Boolean
859diagBag As BindingDiagnosticBag)
885diagBag As BindingDiagnosticBag) As Boolean
934diagBag As BindingDiagnosticBag) As Boolean
961diagBag As BindingDiagnosticBag)
1007Friend Sub AddDeclarationDiagnostics(diagBag As BindingDiagnosticBag)
1019Private Sub StoreDeclarationDiagnostics(diagBag As BindingDiagnosticBag)
1080DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location)
1086DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_BadAttribute1, VisualBasicAttributeData.GetFirstArgumentLocation(arguments.AttributeSyntaxOpt), attrData.AttributeClass)
Symbols\Source\SourceNamedTypeSymbol.vb (29)
164Protected Overrides Sub AddDeclaredNonTypeMembers(membersBuilder As SourceMemberContainerTypeSymbol.MembersAndInitializersBuilder, diagnostics As BindingDiagnosticBag)
227diagBag As BindingDiagnosticBag,
471diagBag As BindingDiagnosticBag,
636diagBag As BindingDiagnosticBag)
695diagnostics As BindingDiagnosticBag,
789diagnostics As BindingDiagnosticBag)
820diagBag As BindingDiagnosticBag)
952diagBag As BindingDiagnosticBag)
999diagBag As BindingDiagnosticBag)
1028diagBag As BindingDiagnosticBag)
1059diagBag As BindingDiagnosticBag)
1074diagBag As BindingDiagnosticBag) As NamedTypeSymbol
1153diagBag As BindingDiagnosticBag)
1210diagBag As BindingDiagnosticBag)
1265Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1287Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1339Dim bt = binder.BindTypeSyntax(typeSyntax, BindingDiagnosticBag.Discarded, suppressUseSiteError:=True)
1352Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1421Private Sub ReportUseSiteInfoForBaseType(baseType As NamedTypeSymbol, declaredBase As NamedTypeSymbol, diagnostics As BindingDiagnosticBag)
1456Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1620Dim diagnostics As BindingDiagnosticBag = Nothing
1627diagnostics = BindingDiagnosticBag.GetInstance()
1674Dim diagnostics As BindingDiagnosticBag = Nothing
1681diagnostics = BindingDiagnosticBag.GetInstance()
1760Dim tempDiags = BindingDiagnosticBag.GetInstance
1784diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
2174Dim diagnostics = DirectCast(arguments.Diagnostics, BindingDiagnosticBag)
2379diagnostics As BindingDiagnosticBag,
2393Private Sub ValidateStandardModuleAttribute(diagnostics As BindingDiagnosticBag)
Symbols\Source\SourceParameterSymbol.vb (6)
323Debug.Assert(TypeOf arguments.Diagnostics Is BindingDiagnosticBag)
343DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_ExplicitTupleElementNamesAttribute, arguments.AttributeSyntaxOpt.Location)
364DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.WRN_CallerArgumentExpressionAttributeSelfReferential, arguments.AttributeSyntaxOpt.Location, Me.Name)
366DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.WRN_CallerArgumentExpressionAttributeHasInvalidParameterName, arguments.AttributeSyntaxOpt.Location, Me.Name)
375Dim diagnostics = DirectCast(arguments.Diagnostics, BindingDiagnosticBag)
391Protected Sub VerifyParamDefaultValueMatchesAttributeIfAny(value As ConstantValue, syntax As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag)
Symbols\Symbol_Attributes.vb (10)
199ReportExtensionAttributeUseSiteInfo(arguments.Attribute, arguments.AttributeSyntaxOpt, compilation, DirectCast(arguments.Diagnostics, BindingDiagnosticBag))
202DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.WRN_AttributeNotSupportedInVB, arguments.AttributeSyntaxOpt.Location, AttributeDescription.SkipLocalsInitAttribute.FullName)
204DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_DoNotUseCompilerFeatureRequired, arguments.AttributeSyntaxOpt.Location)
206DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_DoNotUseRequiredMember, arguments.AttributeSyntaxOpt.Location)
210DirectCast(arguments.Diagnostics, BindingDiagnosticBag).Add(ERRID.ERR_InvalidExperimentalDiagID, attrArgumentLocation)
235diagnostics As BindingDiagnosticBag,
254Dim diagnostics = BindingDiagnosticBag.GetInstance()
454diagnostics As BindingDiagnosticBag,
499diagnostics As BindingDiagnosticBag,
598Private Sub ReportExtensionAttributeUseSiteInfo(attribute As VisualBasicAttributeData, nodeOpt As AttributeSyntax, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag)
Symbols\Tuples\TupleTypeSymbol.vb (9)
368Optional diagnostics As BindingDiagnosticBag = Nothing) As TupleTypeSymbol
543Private Shared Function GetTupleUnderlyingType(elementTypes As ImmutableArray(Of TypeSymbol), syntax As SyntaxNode, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
571Friend Shared Sub VerifyTupleTypePresent(cardinality As Integer, syntax As VisualBasicSyntaxNode, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag)
644Friend Shared Function GetWellKnownMemberInType(type As NamedTypeSymbol, relativeMember As WellKnownMember, diagnostics As BindingDiagnosticBag, syntax As SyntaxNode) As Symbol
1079Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1083Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1087Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1091Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1105Friend Shared Sub ReportNamesMismatchesIfAny(destination As TypeSymbol, literal As BoundTupleLiteral, diagnostics As BindingDiagnosticBag)