Implemented interface member:
329 references to Add
Microsoft.CodeAnalysis (329)
CodeGen\ArrayMembers.cs (3)
204parameters.Add(ArrayMethodParameterInfo.GetIndexParameter((ushort)i)); 207parameters.Add(new ArraySetValueParameterInfo((ushort)rank, arrayType)); 312parameters.Add(ArrayMethodParameterInfo.GetIndexParameter((ushort)i));
CodeGen\BasicBlock.cs (1)
746branchBlocksBuilder.Add(builder._labelInfos[branchLabel].bb);
CodeGen\ILBuilder.cs (4)
995seqPoints.Add(seqPoint); 1031this.SeqPointsOpt.Add(new RawSequencePoint(syntaxTree, _initialHiddenSequencePointMarker, RawSequencePoint.HiddenSequencePointSpan)); 1035this.SeqPointsOpt.Add(new RawSequencePoint(syntaxTree, this.AllocateILMarker(), span)); 1246_allocatedILMarkers.Add(
CodeGen\ItemTokenMap.cs (1)
50_items.Add(item);
CodeGen\LocalScopeManager.cs (4)
131result.Add(new Cci.LocalScope( 465result.Add(newScope); 510result.Add(default(StateMachineHoistedLocalScope)); 809regions.Add(region);
CodeGen\LocalSlotManager.cs (1)
239_lazyAllLocals.Add(local);
CodeGen\PrivateImplementationDetails.cs (1)
163fieldsBuilder.Add(_mvidField);
CodeGen\SequencePointList.cs (2)
157builder.Add(new Cci.SequencePoint( 198builder.Add(new Cci.SequencePoint(
CodeGen\SwitchIntegralJumpTableEmitter.cs (4)
231crumbled.Add(uncrumbled); 236crumbled.Add(new SwitchBucket(_sortedCaseLabels, uncrumbled.StartLabelIndex, uncrumbled.EndLabelIndex, isDegenerate: true)); 241crumbled.Add(new SwitchBucket(_sortedCaseLabels, uncrumbled.StartLabelIndex, degenerateSplit - 1, isDegenerate: true)); 242crumbled.Add(new SwitchBucket(_sortedCaseLabels, degenerateSplit, uncrumbled.EndLabelIndex, isDegenerate: true));
Collections\ArrayBuilderExtensions.cs (7)
94builder.Add(map(item)); 134builder.Add(map(item, arg)); 174builder.Add(map(item, builder.Count, arg)); 186builder.Add(item); 195builder.Add(e); 232builder.Add(value.Value); 241builder.Add(value);
Collections\DictionaryExtensions.cs (1)
88values.Add(value);
Collections\ImmutableArrayExtensions.cs (10)
194builder.Add(map(items[i], i, arg)); 222builder.Add(selector(item)); 252builder.Add(selector(item, arg)); 527builder.Add(map(self[i], other[i], i, arg)); 576builder.Add(a); 594builder.Add(array[j]); 829builder.Add(a); 1160arrayBuilder.Add((T)existingValueOrArray); 1164arrayBuilder.Add(item); 1257builder.Add(namedType);
Collections\OrderedSet.cs (1)
40_list.Add(item);
Collections\OrderPreservingMultiDictionary.cs (3)
322arrayBuilder.Add((V)_value); 323arrayBuilder.Add(item); 327arrayBuilder.Add(item);
Collections\TemporaryArray`1.cs (4)
160_builder.Add(item); 172_builder.Add(item); 213_builder.Add(item); 338builder.Add(this[i]);
Collections\TopologicalSort.cs (2)
67resultBuilder.Add(node); 116allNodesBuilder.Add(n);
CommandLine\AnalyzerConfig.SectionNameMatching.cs (1)
283numberRangePairs.Add(pair);
CommandLine\AnalyzerConfigSet.cs (5)
151builder.Add(matcher); 156allMatchers.Add(builder.ToImmutableAndFree()); 432diagnosticBuilder.Add(Diagnostic.Create( 543namedSectionBuilder.Add(GetSection(sectionName)); 614configList.Add(configPath);
CommandLine\CommandLineArguments.cs (1)
532resolvedReferencesList.Add(resolvedReference);
CommandLine\CommandLineParser.cs (10)
372pathMapBuilder.Add(new KeyValuePair<string, string>(from, to)); 407result.Add(part.ToString()); 416result.Add(part.ToString()); 540processedArgs.Add(arg); 574processedArgs.Add(arg); 658args.Add(newArg); 1073builder.Add(current); 1083builder.Add(last); 1136filePathBuilder.Add(file); 1148filePathBuilder.Add(resolvedPath);
CommandLine\CommonCompiler.cs (4)
333configs.Add(editorConfig); 1167embeddedTextBuilder.Add(EmbeddedText.FromSource(tree.FilePath, sourceText)); 1170analyzerOptionsBuilder.Add(analyzerConfigSet!.GetOptionsForSourcePath(tree.FilePath)); 1608builder.Add(new AdditionalTextFile(file, this));
CommandLine\SarifV2ErrorLogger.cs (1)
338effectiveSeveritiesBuilder.Add((descriptor.Id, index, descriptorInfo.EffectiveSeverities!));
Compilation\Compilation.cs (1)
1285typesByMetadataName.Add(toAdd);
Compilation\CompilationOptions.cs (5)
570builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_MutuallyExclusiveOptions, 576builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_MutuallyExclusiveOptions, 585builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_OptionMustBeAbsolutePath, 591builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_MutuallyExclusiveOptions, 597builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_MutuallyExclusiveOptions,
Compilation\ParseOptions.cs (2)
84builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_BadSourceCodeKind, Location.None, SpecifiedKind.ToString())); 89builder.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_BadDocumentationMode, Location.None, DocumentationMode.ToString()));
Diagnostic\DiagnosticBag.cs (2)
210builder.Add(diagnostic); 215builder.Add(diagnostic);
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
105contexts.Add(context);
DiagnosticAnalyzer\AnalyzerDriver.cs (13)
933builder.Add((descriptor, info)); 1075builder.Add(suppressedDiagnostic); 1079builder.Add(diagnostic); 1110tasks.Add(task); 1165array.Add(programmaticSuppression); 1469actionsByKindBuilder.Add(ArrayBuilder<SymbolAnalyzerAction>.GetInstance()); 1491builder.Add((analyzerAndActions.Key, analyzerAndActions.ToImmutableArray())); 1861completedAnalyzers.Add(analyzer); 2633filteredNodesToAnalyze.Add(node); 2833builder.Add(executableCodeBlockActions); 2894nodesToAnalyze.Add(node); 2958operationsToAnalyze.Add(operationBlock.Parent); 2970operationsToAnalyze.Add(operationBlock.Parent.Parent);
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
940actionsForKind.Add(nodeAction); 1039actionsForKind.Add(operationAction);
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
638builder.Add((typeName, analyzer));
DiagnosticAnalyzer\AnalyzerManager.cs (1)
223filteredActionsBuilderOpt.Add(symbolStartAction);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (7)
770builder.Add((analysisScope, compilationEvents)); 791builder.Add((otherAnalyzersAnalysisScope, compilationEvents)); 864symbolStartAnalyzersBuilder.Add(analyzer); 868otherAnalyzersBuilder.Add(analyzer); 926builder.Add((analysisScopeAndEvents.Value.scope, analysisScopeAndEvents.Value.events)); 1096builder.Add(compilationEvent); 1101builder.Add(new CompilationUnitCompletedEvent(compilation, tree, analysisScope.FilterSpanOpt));
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.cs (2)
32builder.Add(DiagnosticInfo.GetDescriptor(errorCode, messageProvider)); 34builder.Add(AnalyzerExecutor.GetAnalyzerExceptionDiagnosticDescriptor());
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
836builder.Add(syntaxNodeAction);
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (6)
192results.Add(method); 233results.Add(singleResult); 326builder.Add(parameter.Value); 671builder.Add(type.Value); 759builder.Add(methodSymbol); 767builder.Add(methodSymbol);
Emit\CommonPEModuleBuilder.cs (6)
474result.Add(new Cci.AssemblyReferenceAlias(alias, Translate(assembly, context.Diagnostics))); 518builder.Add(r.ToManagedResource()); 836builder.Add(field.GetInternalSymbol()); 844builder.Add(method.GetInternalSymbol()); 852builder.Add(property.GetInternalSymbol()); 860builder.Add(type.GetInternalSymbol());
Emit\EditAndContinue\DefinitionMap.cs (3)
478builder.Add(parsedEntityId); 625lambdasBuilder.Add((parsedEntityId, (IMethodSymbolInternal)member)); 655builder.Add(member.Name);
Emit\EditAndContinue\DeltaMetadataWriter.cs (14)
284methods.Add(MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(def))); 296types.Add(GetTypeDefinitionHandle(def)); 543newMethodDefs.Add(new DeletedSourceMethodDefinition(deletedMethodDef, deletedMethodHandle, lazyDeletedMethodIL.Value, typesUsedByDeletedMembers)); 572newMethodDefs.Add(new DeletedPEMethodDefinition(deletedClosureMethod, il)); 578newMethodDefs.Add(new DeletedSourceMethodDefinition(deletedClosureMethodDef, deletedClosureMethodHandle, il, typesUsedByDeletedMembers)); 694implementingMethods.Add(methodDefRowId); 877encInfos.Add(CreateEncLocalInfo(local, signature)); 1002_customAttributeRowIds.Add(MetadataTokens.GetRowNumber(handle)); 1032_customAttributeRowIds.Add(lastCustomAttributeRowId); 1190paramEncMapRows.Add(parameterFirstId + i); 1204paramEncMapRows.Add(MetadataTokens.GetRowNumber(param)); 1402tokens.Add(MetadataTokens.Handle(tableIndex, firstRowId + i)); 1411tokens.Add(MetadataTokens.Handle(tableIndex, index.GetRowId(member))); 1419tokens.Add(MetadataTokens.Handle(tableIndex, row));
Emit\EditAndContinue\SymbolChanges.cs (2)
397deletedMembersPerType.Add(oldSymbol); 437updatedMethodsPerType.Add((oldMethod.PartialDefinitionPart ?? oldMethod, (IMethodSymbolInternal)newMember));
Emit\EditAndContinue\SymbolMatcher.cs (1)
218memberBuilder.Add(member);
Emit\EditAndContinueMethodDebugInformation.cs (5)
122mapBuilder.Add(new LocalSlotDebugInfo(SynthesizedLocalKind.LoweringTemp, default)); 133mapBuilder.Add(new LocalSlotDebugInfo(kind, new LocalDebugId(syntaxOffset, ordinal))); 234closuresBuilder.Add(new ClosureDebugInfo(syntaxOffset + syntaxOffsetBaseline, closureId)); 248lambdasBuilder.Add(new LambdaDebugInfo(syntaxOffset + syntaxOffsetBaseline, lambdaId, closureOrdinal)); 349mapBuilder.Add(new StateMachineStateDebugInfo(syntaxOffset, new AwaitDebugId((byte)relativeOrdinal), (StateMachineState)stateNumber));
Emit\NoPia\CommonEmbeddedType.cs (5)
257builder.Add(embedded); 286builder.Add(embedded); 462builder.Add(new VtblGap(this, ModuleExtensions.GetVTableGapName(gapIndex, gapSize))); 467builder.Add(embedded); 505builder.Add(embedded);
InternalUtilities\EnumerableExtensions.cs (4)
377builder.Add(selector(element, index)); 487builder.Add(await selector(item).ConfigureAwait(false)); 502builder.Add(await selector(item, cancellationToken).ConfigureAwait(false)); 517builder.Add(await selector(item, arg, cancellationToken).ConfigureAwait(false));
InternalUtilities\FileLockCheck.cs (1)
204lockInfos.Add(((int)rgAffectedApps[i].Process.dwProcessId, rgAffectedApps[i].strAppName));
InternalUtilities\OneOrMany.cs (1)
102builder.Add(_one);
InternalUtilities\SetWithInsertionOrder.cs (1)
36_elements!.Add(value);
MetadataReader\MetadataDecoder.cs (7)
273builder.Add(size); 410argumentsBuilder.Add(KeyValuePairUtil.Create(DecodeTypeOrThrow(ref ppSig, typeCode, out argumentRefersToNoPia), modifiers)); 411argumentRefersToNoPiaLocalTypeBuilder.Add(argumentRefersToNoPia); 763modifiers.Add(modifier); 870offsets.Add(signatureReader.Offset); 871locals.Add(DecodeLocalVariableOrThrow(ref signatureReader)); 1943resultBuilder.Add(methodSymbol);
MetadataReader\MetadataHelpers.cs (7)
295nestedTypesBuilder.Add(decodedTypeName); 332typeBuilder.Add(DecodeTypeArgument()); 436arrayRanksBuilder.Add(rank == 1 && !isMultiDimensionalIfRankOne ? 0 : rank); 638result.Add(convert(SystemString.AsMemory())); 642result.Add(convert(nameMemory.Slice(start, len))); 650result.Add(convert(nameMemory[start..])); 984builder.Add(
MetadataReader\MetadataReaderExtensions.cs (1)
70result.Add(reader.CreateAssemblyIdentityOrThrow(
MetadataReader\PEAssembly.cs (1)
74refCounts.Add(refsForModule.Length);
MetadataReader\PEModule.cs (10)
398builder.Add(moduleName); 682result.Add(new Grouping<string, TypeDefinitionHandle>(pair.Key, pair.Value ?? SpecializedCollections.EmptyEnumerable<TypeDefinitionHandle>())); 752builder.Add(typeDef); 1663result.Add(extracted); 1673result.Add(value); 1705whenResult.Add(extracted.String); 1716whenResult.Add(value); 1740result.Add(extractedStr); 2431boolArrayBuilder.Add(sig.ReadByte() == 1); 2460byteArrayBuilder.Add(sig.ReadByte());
MetadataReader\TypeNameDecoder.cs (2)
230typeArgumentsBuilder.Add(new KeyValuePair<TypeSymbol, ImmutableArray<ModifierInfo<TypeSymbol>>>(GetTypeSymbol(argument, out refersToNoPia), ImmutableArray<ModifierInfo<TypeSymbol>>.Empty)); 231refersToNoPiaBuilder.Add(refersToNoPia);
MetadataReference\AssemblyIdentity.cs (1)
444result.Add(hash[l - i]);
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
721bytes.Add((byte)((hi << 4) | lo));
NativePdbWriter\PdbWriter.cs (2)
381nestedNamesReversed.Add(nestedType.Name); 487scopeStack.Add(currentScope);
Operations\ControlFlowBranch.cs (2)
90builder.Add(source); 149builder.Add(leavingRegions[i + 1].NestedRegions.Last());
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (6)
58_statements.Add(operation); 210builder.Add(predecessor); 218builder.Add(_predecessor1); 223builder.Add(_predecessor2); 295branches.Add(predecessor.FallThroughSuccessor); 300branches.Add(predecessor.ConditionalSuccessor);
Operations\ControlFlowGraphBuilder.cs (19)
179builder.Add(blockBuilder.ToImmutable()); 333toVisit.Add(branch.Destination); 472toVisit.Add(blocks[@catch.FirstBlockOrdinal]); 480toVisit.Add(entryBlock); 1161builder.Add(from); 1316_blocks.Add(block); 2012builder.Add(wrapper != null ? wrapper(visitedElement, i, originalArray) : (T)visitedElement); 2056interpolatedStringBuilder.Add(creation); 3975resourceQueue.Add((declaration, declarator)); 6405initializerBuilder.Add(visitedAssignment); 6534builder.Add(visitedElementValue); 6700elementBuilder.Add(PopTargetAndWrapTupleIfNecessary(tuple.Elements[i])); 6937appendCalls.Add((IInterpolatedStringAppendOperation)part); 7078partsBuilder.Add(rewrittenElement); 7256builder.Add(argument); 7825(localFunctionsBuilder ??= ArrayBuilder<IOperation>.GetInstance()).Add(statement); 7829statementsBuilder.Add(statement); 8026initializerBuilder.Add(assignment); 8047initializerBuilder.Add(assignment);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (5)
73CaptureIds.Add(new CaptureId(captureId)); 105LocalFunctions.Add((symbol, operation)); 139Regions.Add(region); 313localFunctions.Add(method); 325builder.Add(region.ToImmutableRegionAndFree(blocks, localFunctions, localFunctionsMap, anonymousFunctionsMapOpt, enclosing: null));
Operations\IOperation.OperationList.cs (1)
50builder.Add(child);
Operations\IOperation.OperationList.Reversed.cs (2)
53builder.Add(child); 63builder.Add(input[i]);
Operations\OperationExtensions.cs (1)
164arrayBuilder.Add(decl.Symbol);
PEWriter\CustomDebugInfoWriter.cs (3)
182builder.Add(getInfo(default(LocalScope), local)); 195builder.Add(getInfo(currentScope, localConstant)); 279usingCounts.Add(scope.GetUsedNamespaces(context).Length);
PEWriter\ExtendedPEBuilder.cs (1)
59builder.Add(new Section(MvidSectionName, SectionCharacteristics.MemRead |
PEWriter\MetadataWriter.cs (2)
606builder.Add(new ReturnValueParameter(methodDef)); 621builder.Add(parDef);
PEWriter\MetadataWriter.PortablePdb.cs (2)
528builder.Add((byte)b); 540builder.Add((byte)b);
PEWriter\TypeNameSerializer.cs (1)
281namesReversed.Add(name);
ReferenceManager\AssemblyDataForAssemblyBeingBuilt.cs (1)
44refs.Add(data.Identity);
ReferenceManager\CommonReferenceManager.Binding.cs (9)
129referenceBindings.Add(explicitAssemblies[i].BindAssemblyReferences(explicitAssembliesMap, IdentityComparer)); 301metadataReferencesBuilder.Add(resolvedReference); 304implicitAssemblies.Add(data); 307referenceBindings.Add(referenceBinding); 410result.Add( 429result.Add( 469result.Add(GetResolvedReferenceAndFreePropertyMapEntry(references[i], explicitAssemblyCount - 1 + i, MetadataImageKind.Assembly, propertyMapOpt)); 488bindingsOfAssemblyBeingBuilt.Add(new AssemblyReferenceBinding(implicitAssemblies[i].Identity, explicitAssemblyCount + i)); 1023corLibraryCandidates.Add(i);
ReferenceManager\CommonReferenceManager.Resolution.cs (5)
273uniqueDirectiveReferences!.Add(boundReference); 640assemblies.Add(data); 654modules.Add(module); 832referencesBuilder.Add(boundReference); 833referenceDirectiveLocationsBuilder!.Add(referenceDirective.Location);
ReferenceManager\CommonReferenceManager.State.cs (3)
500aliasesOfReferencedAssembliesBuilder.Add(referenceMap[i].AliasesOpt); 634assemblyIndicesToProcess.Add(reference.Index); 656assemblyIndicesToProcess.Add(dependentAssemblyIndex);
ReferenceManager\Compilation_MetadataCache.cs (1)
52result.Add((T)symbol);
ReferenceManager\MergedAliases.cs (3)
64(MergedReferencesOpt ??= ArrayBuilder<MetadataReference>.GetInstance()).Add(reference); 94builder.Add(item); 106builder.Add(item);
SourceFileResolver.cs (1)
79pathMapBuilder.Add(new KeyValuePair<string, string>(normalizedKey, normalizedValue));
SourceGeneration\AdditionalSourcesCollection.cs (2)
86_sourcesAdded.Add(new GeneratedSourceText(hintName, source)); 131asc._sourcesAdded.Add(source);
SourceGeneration\GeneratorDriver.cs (8)
105states.Add(_state.GeneratorStates[existingIndex]); 109states.Add(default); 197sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 201sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 236stateBuilder.Add(generatorState); 299stateBuilder.Add(generatorState); 376trees.Add(new GeneratedSyntaxTree(source.HintName, source.Text, tree)); 433filteredDiagnostics.Add(effective);
SourceGeneration\IncrementalContexts.cs (3)
76public void RegisterPostInitializationOutput(Action<IncrementalGeneratorPostInitializationContext> callback) => _outputNodes.Add(new PostInitOutputNode(callback.WrapUserAction(CatchAnalyzerExceptions))); 88_outputNodes.Add(outputNode); 236public void AddOutput(string name, object value) => Outputs.Add((name, value));
SourceGeneration\Nodes\BatchNode.cs (2)
46sourceInputsBuilder?.Add((entry.Step!, entry.OutputIndex)); 103builder.Add(entry.Item);
SourceGeneration\Nodes\NodeStateTable.cs (15)
164compacted.Add(entry.AsCached()); 279_states.Add(previousEntries); 306_states.Add(previousEntries); 339_states.Add(new TableEntry(OneOrMany.Create(chosen), state)); 361_states.Add(previousEntry); 430_states.Add(builder == null ? previousEntry : builder.ToImmutableAndFree()); 450_states.Add(new TableEntry(OneOrMany.Create(value), state)); 458_states.Add(tableEntry); 489stepOutputBuilder.Add((outputInfo.GetItem(i)!, AsStepState(overallInputState, outputInfo.GetState(i)))); 492_steps.Add( 646itemBuilder.Add(this.GetItem(i)); 736_items.Add(item); 744_states.Add(state); 752_states.Add(_currentState.Value); 755_states.Add(state);
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (1)
127(results ??= ArrayBuilder<SyntaxNode>.GetInstance()).Add(node);
SourceGeneration\Nodes\SyntaxValueProvider.cs (2)
59_inputNodes.Add(node); 68_inputNodes.Add(node);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (2)
120result.Add(transform( 166result.Add(attribute);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
269results.Add(target);
SourceGeneration\SyntaxStore.cs (1)
73syntaxInputBuilders.Add((node, node.GetBuilder(_previous._tables, _enableTracking)));
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (11)
133builder.Add(ReadInt16(bytes, ref offset)); 195builder.Add(new StateMachineHoistedLocalScope(startOffset, endOffset)); 260flagsBuilder.Add(ReadByte(bytes, ref offset) != 0); 286builder.Add(new DynamicLocalInfo(flagsBuilder.ToImmutable(), slotId, nameBuilder.ToString())); 307builder.Add(DecodeTupleElementNamesInfo(bytes, ref offset)); 320builder.Add(string.IsNullOrEmpty(value) ? null : value); 404externAliasBuilder.Add(importString); 441groupBuilder.Add(importString); 444resultBuilder.Add(groupBuilder.ToImmutable()); 461groupBuilder.Add(importString); 862builder.Add(b);
src\Dependencies\PooledObjects\ArrayBuilder.cs (8)
377tmp.Add((U)i!); 481builder.Add(fillWithValue); 545bucket.Add(item); 583Add(items[i]); 603Add(items[i]); 618Add(items[i]); 662Add(item); 716result.Add(selected);
SymbolDisplay\AbstractSymbolDisplayVisitor.cs (2)
261usedFieldsAndValues.Add(fieldAndValue); 325enumFields.Add(enumField);
Symbols\Attributes\AttributeUsageInfo.cs (1)
159builder.Add(GetErrorDisplayNameResourceId((AttributeTargets)(1 << flag)));
Syntax\GreenNodeExtensions.cs (3)
21newAnnotations.Add(candidate); 60newAnnotations.Add(candidate); 98newAnnotations.Add(candidate);
Syntax\LineDirectiveMap.cs (2)
144entries.Add(current); 152entries.Add(current);
Text\CompositeText.cs (2)
174segments.Add(text); 412segments.Add(writer.ToSourceText());
Text\LargeText.cs (1)
130chunks.Add(chunk);
Text\LargeTextWriter.cs (2)
131_chunks.Add(chunk); 144_chunks.Add(_buffer);
Text\SourceText.cs (1)
810changeRanges.Add(new TextChangeRange(change.Span, newTextLength));
Text\TextChangeRangeExtensions.cs (1)
401builder.Add(change);