12 references to Add
Microsoft.CodeAnalysis.Analyzers (12)
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (1)
138
textChanges.
Add
(new TextChange(inputSpanToFix, fixInfo.FixValue));
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ArrayBuilderExtensions.cs (1)
14
builder.
Add
(item);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (3)
802
stack.
Add
(operation.Children.GetEnumerator());
811
stack.
Add
(enumerator);
823
stack.
Add
(current.Children.GetEnumerator());
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ArrayBuilder.cs (6)
260
tmp.
Add
((U)i!);
353
builder.
Add
(fillWithValue);
417
bucket.
Add
(item);
460
Add
(items[i]);
495
Add
(item);
526
result.
Add
(selected);
src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
222
namespaceNamesBuilder.
Add
(fullTypeName[prevStartIndex..i]);