20 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Utils.vb (6)
165
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_DuplicateSpecifier)
170
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_DuplicateAccessCategoryUsed)
173
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_DuplicateModifierCategoryUsed)
176
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_DuplicateWriteabilityCategoryUsed)
179
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_DuplicateConversionCategoryUsed)
185
ReportDiagnostic
(diagBag, keywordSyntax, ERRID.ERR_OverridesImpliesOverridable)
Lowering\Diagnostics\DiagnosticsPass.vb (3)
90
Binder.
ReportDiagnostic
(Me._diagnostics, node.Syntax, errorId)
100
Binder.
ReportDiagnostic
(Me._diagnostics, node.Syntax, errorId)
155
Binder.
ReportDiagnostic
(Me._diagnostics, errorSyntax, errorId)
Symbols\Source\SourceEventSymbol.vb (1)
90
Binder.
ReportDiagnostic
(diagnostics, identifier, ERRID.ERR_TypecharNotallowed)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2665
Binder.
ReportDiagnostic
(diagBag, syntax.Identifier, ERRID.ERR_AutoPropertyInitializedInStructure)
Symbols\Source\SourceMethodSymbol.vb (7)
99
binder.
ReportDiagnostic
(diagBag, syntax.Identifier, ERRID.ERR_StructsCannotHandleEvents)
107
binder.
ReportDiagnostic
(diagBag, syntax.Identifier, ERRID.ERR_HandlesInvalidOnGenericMethod)
210
binder.
ReportDiagnostic
(diagBag, partialToken, ERRID.ERR_PartialMethodsMustBePrivate)
396
binder.
ReportDiagnostic
(diagBag, syntax.ParameterList, ERRID.ERR_SharedConstructorWithParams)
408
binder.
ReportDiagnostic
(diagBag, syntax.NewKeyword, ERRID.ERR_NewInStruct)
470
binder.
ReportDiagnostic
(diagBag, syntax.OperatorToken, ERRID.ERR_OperatorMustBeShared)
476
binder.
ReportDiagnostic
(diagBag, syntax.OperatorToken, ERRID.ERR_ConvMustBeWideningOrNarrowing)
Symbols\Source\SourceNamedTypeSymbol.vb (2)
381
Binder.
ReportDiagnostic
(diagBag, id, ERRID.ERR_PrivateTypeOutsideType)
394
Binder.
ReportDiagnostic
(diagBag, id, ERRID.ERR_ProtectedTypeOutsideClass)