22 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_Utils.vb (9)
79
ReportDiagnostic
(diagBag, badKeyword, errid, badKeyword.ToString())
163
ReportDiagnostic
(diagBag, keywordSyntax, errIdBadModifier, keywordSyntax.ToString())
182
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "Overloads", "Shadows")
192
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "Overrides", "Shadows")
203
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "Iterator", "WriteOnly")
206
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_BadSpecifierCombo2, "MustInherit", "NotInheritable")
242
ReportDiagnostic
(diagBag, privateOverridableModifier, ERRID.ERR_BadSpecifierCombo2, "Private", "Overridable")
244
ReportDiagnostic
(diagBag, privateMustOverrideModifier, ERRID.ERR_BadSpecifierCombo2, "Private", "MustOverride")
246
ReportDiagnostic
(diagBag, privateNotOverridableModifier, ERRID.ERR_BadSpecifierCombo2, "Private", "NotOverridable")
Lowering\Diagnostics\DiagnosticsPass.vb (2)
76
Binder.
ReportDiagnostic
(Me._diagnostics, node.Syntax, ERRID.ERR_CannotLiftByRefParamQuery1, parameterSymbol.Name)
78
Binder.
ReportDiagnostic
(Me._diagnostics, node.Syntax, ERRID.ERR_CannotLiftByRefParamLambda1, parameterSymbol.Name)
Symbols\Source\SourceFile.vb (4)
205
Binder.
ReportDiagnostic
(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Strict")
212
Binder.
ReportDiagnostic
(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Infer")
219
Binder.
ReportDiagnostic
(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Explicit")
226
Binder.
ReportDiagnostic
(diagBag, optionStmtSyntax, ERRID.ERR_DuplicateOption1, "Compare")
Symbols\Source\SourceMethodSymbol.vb (4)
103
binder.
ReportDiagnostic
(diagBag, syntax.HandlesClause, ERRID.ERR_BadInterfaceMethodFlags1, syntax.HandlesClause.HandlesKeyword.ToString)
126
binder.
ReportDiagnostic
(diagBag, syntax.Identifier, ERRID.ERR_PartialMethodsMustNotBeAsync1, name)
163
binder.
ReportDiagnostic
(diagBag, token,
366
binder.
ReportDiagnostic
(diagBag, syntax.OperatorToken, paramCountMismatchERRID, SyntaxFacts.GetText(syntax.OperatorToken.Kind))
Symbols\Source\SourceNamedTypeSymbol.vb (3)
295
Binder.
ReportDiagnostic
(diagBag,
316
Binder.
ReportDiagnostic
(diagBag, id, ERRID.ERR_PartialTypeBadMustInherit1, id.ToString())
385
Binder.
ReportDiagnostic
(diagBag, id, ERRID.ERR_ShadowingTypeOutsideClass1, id.ToString())