14 references to Add
Microsoft.CodeAnalysis (6)
CommandLine\TouchedFileLogger.cs (2)
34
_readFiles.
Add
(path);
44
_writtenFiles.
Add
(path);
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
524
analysisOptions.LogAnalyzerExecutionTime, addCategorizedLocalDiagnostic, addCategorizedNonLocalDiagnostic, s => _programmaticSuppressions!.
Add
(s));
2020
suppressedDiagnosticIds?.
Add
(diagnostic.Id);
InternalUtilities\ConcurrentSet.cs (2)
93
Add
(v);
173
Add
(item);
Microsoft.CodeAnalysis.CSharp (8)
Compilation\CSharpCompilation.cs (1)
2528
LazyInitializer.EnsureInitialized(ref _moduleInitializerMethods).
Add
(method);
Emitter\Model\PEModuleBuilder.cs (2)
1141
if (_reportedErrorTypesMap.
Add
(errorType))
1242
if (!_reportedErrorTypesMap.
Add
(namedTypeSymbol))
FlowAnalysis\DefiniteAssignment.cs (1)
2610
if (seen.
Add
(type))
Symbols\Compilation_UsedAssemblies.cs (1)
250
bool added = _lazyUsedAssemblyReferences.
Add
(assembly);
Symbols\Source\SourceAssemblySymbol.cs (2)
1182
_lazyOmittedAttributeIndices.
Add
(index);
2677
_unreadFields.
Add
(field);
Symbols\Source\SourceLocalSymbol.cs (1)
422
bool added = _forbiddenReferences.
Add
(reference);