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