20 references to Add
Microsoft.CodeAnalysis.VisualBasic (20)
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)
545diagnostics.Add(info, location) 1863diagnostics.Add(ERRID.ERR_PartialMethodMustBeEmpty, bestPartialMethodLocation)
Symbols\Source\SourceMethodSymbol.vb (3)
1630diagnostics.Add(ERRID.ERR_ExtensionMethodNoParams, Me.Locations(0)) 1746diagnostics.Add(ERRID.WRN_ConditionalNotValidOnFunction, Me.Locations(0)) 1876diagnostics.Add(ERRID.ERR_STAThreadAndMTAThread0, Me.NonMergedLocation)
Symbols\Source\SourceNamedTypeSymbol.vb (2)
1727diagnostics.Add(ERRID.ERR_EmbeddedAttributeMustFollowPattern, TypeDeclaration.Declarations(0).Location) 2243diagnostics.Add(ERRID.ERR_ComClassOnGeneric, Me.Locations(0))
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
451diagnostics.Add(ERRID.ERR_SetHasOnlyOneParam, location)
Symbols\Source\SourcePropertySymbol.vb (1)
885diagnostics.Add(ERRID.ERR_DefaultPropertyWithNoParams, _location)