19 references to Add
Microsoft.CodeAnalysis.VisualBasic (19)
BoundTree\BoundTreeVisitor.vb (1)
158
diagnostics.
Add
(ERRID.ERR_TooLongOrComplexExpression, GetTooLongOrComplexExpressionErrorLocation(Node))
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
367
Me._diagnostics.
Add
(ERRID.WRN_XMLDocExceptionTagWithoutCRef, element.GetLocation())
Compilation\VisualBasicCompilation.vb (3)
1719
diagnostics.
Add
(ERRID.HDN_UnusedImportStatement, infoTree.GetLocation(info.StatementSpan))
1741
diagnostics.
Add
(ERRID.HDN_UnusedImportStatement, infoTree.GetLocation(info.StatementSpan))
1744
diagnostics.
Add
(ERRID.HDN_UnusedImportClause, infoTree.GetLocation(clauseSpan))
Symbols\Source\CustomEventAccessorSymbol.vb (4)
207
diagnostics.
Add
(ERRID.ERR_EventAddRemoveHasOnlyOneParam, location)
217
diagnostics.
Add
(errid, location)
236
diagnostics.
Add
(ERRID.ERR_RemoveParamWrongForWinRT, location)
240
diagnostics.
Add
(ERRID.ERR_AddRemoveParamNotEventType, location)
Symbols\Source\SourceAssemblySymbol.vb (2)
1047
diagnostics.
Add
(ERRID.ERR_InvalidVersionFormatDeterministic, attributeArgumentSyntaxLocation)
1049
diagnostics.
Add
(ERRID.ERR_InvalidVersionFormat, attributeArgumentSyntaxLocation)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
544
diagnostics.
Add
(info, location)
1862
diagnostics.
Add
(ERRID.ERR_PartialMethodMustBeEmpty, bestPartialMethodLocation)
Symbols\Source\SourceMethodSymbol.vb (3)
1610
diagnostics.
Add
(ERRID.ERR_ExtensionMethodNoParams, Me.Locations(0))
1726
diagnostics.
Add
(ERRID.WRN_ConditionalNotValidOnFunction, Me.Locations(0))
1843
diagnostics.
Add
(ERRID.ERR_STAThreadAndMTAThread0, Me.NonMergedLocation)
Symbols\Source\SourceNamedTypeSymbol.vb (1)
2195
diagnostics.
Add
(ERRID.ERR_ComClassOnGeneric, Me.Locations(0))
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
451
diagnostics.
Add
(ERRID.ERR_SetHasOnlyOneParam, location)
Symbols\Source\SourcePropertySymbol.vb (1)
840
diagnostics.
Add
(ERRID.ERR_DefaultPropertyWithNoParams, _location)