81 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (81)
Binding\Binder.vb (2)
899
ReportDiagnostic
(diagBag, syntax, ErrorFactory.ErrorInfo(id))
903
ReportDiagnostic
(diagBag, syntax, ErrorFactory.ErrorInfo(id, args))
Binding\Binder_AnonymousTypes.vb (1)
195
ReportDiagnostic
(diagnostics, fieldSyntax, ErrorFactory.ErrorInfo(ERRID.ERR_DuplicateAnonTypeMemberName1, fieldName))
Binding\Binder_Attributes.vb (3)
277
ReportDiagnostic
(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_NoViableOverloadCandidates1, "New"))
543
ReportDiagnostic
(diagnostics, identifierName, result.Diagnostic)
840
ReportDiagnostic
(diagBag, sourceType.Syntax, diagInfo)
Binding\Binder_Delegates.vb (2)
578
ReportDiagnostic
(diagnostics, addressOfOperandSyntax,
711
ReportDiagnostic
(diagnostics, addressOfOperandSyntax,
Binding\Binder_Diagnostics.vb (1)
63
ReportDiagnostic
(diagBag, syntax, info)
Binding\Binder_Expressions.vb (13)
673
ReportDiagnostic
(diagnostics, node.Type, ErrorFactory.ErrorInfo(ERRID.ERR_VoidArrayDisallowed))
710
ReportDiagnostic
(diagnostics,
729
ReportDiagnostic
(diagnostics,
1433
ReportDiagnostic
(diagnostics, address.MethodGroup.Syntax, GetInaccessibleErrorInfo(address.MethodGroup.Methods(0)))
1599
ReportDiagnostic
(diagnostics, arrayLiteral.Syntax, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1,
1602
ReportDiagnostic
(diagnostics, arrayLiteral.Syntax, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1,
2176
ReportDiagnostic
(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1, ErrorFactory.ErrorInfo(ERRID.WRN_IfNoTypeObjectAssumed)))
2186
ReportDiagnostic
(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectAssumed1, ErrorFactory.ErrorInfo(ERRID.WRN_IfTooManyTypesObjectAssumed)))
3076
ReportDiagnostic
(diagnostics, typeArgumentsOpt, di)
3078
ReportDiagnostic
(diagnostics, node, di)
3517
ReportDiagnostic
(diagnostics, node,
3559
ReportDiagnostic
(diagnostics, node, result.Diagnostic)
4618
ReportDiagnostic
(diagnostics, node.AwaitKeyword, GetAwaitInNonAsyncError())
Binding\Binder_Invocation.vb (5)
207
ReportDiagnostic
(diagnostics, node.Expression, diagInfo)
230
ReportDiagnostic
(diagnostics, node.Expression, diagInfo)
383
ReportDiagnostic
(diagnostics, If(node.Expression, node), diagInfo)
838
ReportDiagnostic
(diagnostics, target, GetInaccessibleErrorInfo(bestResult.Candidate.UnderlyingSymbol))
1395
ReportDiagnostic
(diagnostics, If(groupOpt IsNot Nothing, groupOpt.Syntax, node), GetInaccessibleErrorInfo(singleCandidate.UnderlyingSymbol))
Binding\Binder_ObjectInitializer.vb (9)
286
ReportDiagnostic
(diagnostics, node, diagInfo)
374
ReportDiagnostic
(diagnostics, If(typeNode.IsKind(SyntaxKind.QualifiedName), DirectCast(typeNode, QualifiedNameSyntax).Right, typeNode), ErrorFactory.ErrorInfo(ERRID.ERR_NoViableOverloadCandidates1, "New"))
610
ReportDiagnostic
(diagnostics, memberInitializerSyntax, ErrorFactory.ErrorInfo(ERRID.ERR_AggrInitInvalidForObject))
698
ReportDiagnostic
(diagnostics,
705
ReportDiagnostic
(diagnostics,
716
ReportDiagnostic
(diagnostics,
813
ReportDiagnostic
(diagnostics,
845
ReportDiagnostic
(diagnostics,
896
ReportDiagnostic
(diagnostics, topLevelInitializer, ErrorFactory.ErrorInfo(ERRID.ERR_EmptyAggregateInitializer))
Binding\Binder_Operators.vb (11)
352
ReportDiagnostic
(diagnostics, node,
409
ReportDiagnostic
(diagnostics, left.Syntax, ErrorFactory.ErrorInfo(errorId, operatorTokenKind))
413
ReportDiagnostic
(diagnostics, right.Syntax, ErrorFactory.ErrorInfo(errorId, operatorTokenKind))
505
ReportDiagnostic
(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ZeroDivide))
508
ReportDiagnostic
(diagnostics, right.Syntax, ErrorFactory.ErrorInfo(ERRID.ERR_ConstantStringTooLong))
511
ReportDiagnostic
(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ExpressionOverflow1, operatorResultType))
771
ReportDiagnostic
(diagnostics, operand.Syntax,
1179
ReportDiagnostic
(diagnostics, node.Operand, ErrorFactory.ErrorInfo(ERRID.ERR_StrictDisallowsObjectOperand1, node.OperatorToken))
1181
ReportDiagnostic
(diagnostics, node.Operand, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectMath2, node.OperatorToken))
1195
ReportDiagnostic
(diagnostics, node, ErrorFactory.ErrorInfo(ERRID.ERR_ExpressionOverflow1, resultType))
1256
ReportDiagnostic
(diagnostics, syntax, ErrorFactory.ErrorInfo(ERRID.ERR_UnaryOperand2, syntax.OperatorToken, operand.Type))
Binding\Binder_Query.vb (3)
3562
ReportDiagnostic
(diagnostics, outerKey.Syntax, errorInfo)
3577
ReportDiagnostic
(diagnostics, innerKey.Syntax, errorInfo)
3715
ReportDiagnostic
(_diagnostics, node.Syntax, _errorInfo)
Binding\Binder_Statements.vb (15)
860
ReportDiagnostic
(diagnostics, labelSyntax, ErrorFactory.ErrorInfo(errorID, label.Name))
2268
ReportDiagnostic
(diagnostics, node.EventExpression, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedEvent1, eventSymbol))
2303
ReportDiagnostic
(diagnostics, node.EventExpression, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedEvent1, eventSymbol))
2312
ReportDiagnostic
(diagnostics, node.EventExpression, GetInaccessibleErrorInfo(method))
2347
ReportDiagnostic
(diagnostics, node.EventExpression, ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, method))
3763
ReportDiagnostic
(diagnostics,
3814
ReportDiagnostic
(diagnostics,
4459
ReportDiagnostic
(diagnostics,
4541
ReportDiagnostic
(diagnostics,
4602
ReportDiagnostic
(diagnostics,
4630
ReportDiagnostic
(diagnostics,
4643
ReportDiagnostic
(diagnostics,
4649
ReportDiagnostic
(diagnostics,
4654
ReportDiagnostic
(diagnostics,
4702
ReportDiagnostic
(diagnostics,
Binding\Binder_Symbols.vb (12)
66
ReportDiagnostic
(diagBag, typeSyntax, diagInfo)
69
ReportDiagnostic
(diagBag, typeSyntax, diagInfo)
268
Binder.
ReportDiagnostic
(diagBag, typeSyntax, lookupResult.Diagnostic)
288
Binder.
ReportDiagnostic
(diagBag, typeSyntax, diagInfo)
325
Binder.
ReportDiagnostic
(diagBag, typeSyntax, diagInfo)
347
Binder.
ReportDiagnostic
(diagBag, typeSyntax, diagInfo)
435
Binder.
ReportDiagnostic
(diagBag, typeSyntax, errorInfo)
512
Binder.
ReportDiagnostic
(diagBag, typeSyntax, ErrorFactory.ErrorInfo(ERRID.WRN_UndefinedOrEmptyNamespaceOrClass1, diagName))
518
Binder.
ReportDiagnostic
(diagBag, typeSyntax, diagInfo)
525
Binder.
ReportDiagnostic
(diagBag, typeSyntax, lookupResult.Diagnostic)
957
Binder.
ReportDiagnostic
(diagBag, leftNameSyntax, lookupResult.Diagnostic)
1048
Binder.
ReportDiagnostic
(diagBag, leftNameSyntax, lookupResult.Diagnostic)
Binding\Binder_Utils.vb (1)
691
ReportDiagnostic
(diagBag, identifier, getRequireTypeDiagnosticInfoFunc())
Binding\Binder_XmlLiterals.vb (1)
1002
ReportDiagnostic
(diagnostics,
Symbols\Source\ImplementsHelper.vb (2)
364
Binder.
ReportDiagnostic
(diagBag, implementedMemberSyntax, binder.GetInaccessibleErrorInfo(foundMember))
377
Binder.
ReportDiagnostic
(diagBag, implementedMemberSyntax, binder.GetInaccessibleErrorInfo(accessorToCheck))