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