1 write to _diagnostics
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\LocalRewriter\LocalRewriter.vb (1)
136Me._diagnostics = diagnostics
57 references to _diagnostics
Microsoft.CodeAnalysis.VisualBasic (57)
Lowering\LocalRewriter\LocalRewriter.vb (6)
569Binder.ReportUseSite(_diagnostics, syntax, info) 587Return ReportMissingOrBadRuntimeHelper(node, specialMember, memberSymbol, Me._diagnostics, _compilationState.Compilation.Options.EmbedVbCoreRuntime) 618Return ReportMissingOrBadRuntimeHelper(node, wellKnownMember, memberSymbol, Me._diagnostics, _compilationState.Compilation.Options.EmbedVbCoreRuntime) 663ReportUseSite(node, typeSymbol.GetUseSiteInfo(), Me._diagnostics) 833Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 866Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (3)
223_diagnostics.Add(errorInfo, node.EventAccess.Syntax.Location) 275Dim factory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 296_emitModule.EmbeddedTypesManagerOpt.EmbedEventIfNeedTo([event].GetCciAdapter(), node.Syntax, _diagnostics.DiagnosticBag, isUsedForComAwareEventBinding:=True)
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
48Dim factory = New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_Constant.vb (2)
21Return RewriteDecimalConstant(node, constantValue, Me._topMethod, Me._diagnostics) 24Return RewriteDateConstant(node, constantValue, Me._topMethod, Me._diagnostics)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (9)
209Dim factory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, syntax, _compilationState, _diagnostics) 216ReportUseSite(rewrittenOperand, useSiteInfo, _diagnostics) 320Dim F As New SyntheticBoundNodeFactory(Me._topMethod, Me._currentMethodOrLambda, node.Syntax, Me._compilationState, Me._diagnostics) 427_diagnostics.Add(node, useSiteInfo) 454_diagnostics.Add(node, useSiteInfo) 517Return New CompoundUseSiteInfo(Of AssemblySymbol)(_diagnostics, Me.Compilation.Assembly) 551_diagnostics.Add(node, useSiteInfo) 808_diagnostics.Add(node, useSiteInfo) 883_diagnostics.Add(node, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (1)
50Dim tupleRestField = DirectCast(TupleTypeSymbol.GetWellKnownMemberInType(currentLinkType.OriginalDefinition, wellKnownTupleRest, _diagnostics, syntax), FieldSymbol)
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
132literal = RewriteDecimalConstant(literal, literal.ConstantValueOpt, Me._topMethod, Me._diagnostics)
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
20Dim factory = New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (1)
22Dim lambda = BuildDelegateRelaxationLambda(node.Syntax, targetType, node.MemberAccess, node.Binder, Me._diagnostics)
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (12)
25_diagnostics.Add(node, useSiteInfo) 130_diagnostics.Add(node, useSiteInfo) 171_diagnostics.Add(node, useSiteInfo) 218_diagnostics.Add(argument, useSiteInfo) 234_diagnostics.Add(rewrittenValue, useSiteInfo) 284_diagnostics.Add(argument, useSiteInfo) 367Dim factory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, syntax, _compilationState, _diagnostics) 940Dim factory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node, _compilationState, _diagnostics) 973Binder.ReportUseSite(_diagnostics, syntax.GetLocation(), useSiteInfo) 979_diagnostics.AddDependencies(useSiteInfo) 998Binder.ReportUseSite(_diagnostics, syntax.GetLocation(), useSiteInfo) 1004_diagnostics.AddDependencies(useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
204_diagnostics.Add(syntax, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (3)
45_diagnostics.Add(result, useSiteInfo) 67Dim factory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 91_diagnostics.Add(node, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_OmittedArgument.vb (1)
25_diagnostics.Add(node, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
162_diagnostics.Add(info, syntax.GetLocation())
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
73_diagnostics.Add(node, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
185Dim privateImplClass = _emitModule.GetPrivateImplClass(node.Syntax, _diagnostics.DiagnosticBag)
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (1)
43Dim factory = New SyntheticBoundNodeFactory(Me._topMethod, Me._currentMethodOrLambda, syntax, Me._compilationState, Me._diagnostics)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
27_diagnostics.Add(node, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter_Throw.vb (1)
24Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_TupleLiteralExpression.vb (4)
50_diagnostics, 65Binder.CheckRequiredMembersInObjectInitializer(smallestConstructor, smallestType, initializers:=ImmutableArray(Of BoundExpression).Empty, syntax, _diagnostics) 71_diagnostics, 84Binder.CheckRequiredMembersInObjectInitializer(tuple8Ctor, tuple8Ctor.ContainingType, initializers:=ImmutableArray(Of BoundExpression).Empty, syntax, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (5)
41Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 143Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 326Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 384Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, node.Syntax, _compilationState, _diagnostics) 462Dim nodeFactory As New SyntheticBoundNodeFactory(_topMethod, _currentMethodOrLambda, syntax, _compilationState, _diagnostics)