24 references to Add
Microsoft.CodeAnalysis (3)
CodeGen\ILBuilderEmit.cs (2)
180_labelInfos.Add(label, new LabelInfo(_emitState.CurStack, isConditional)); 285_labelInfos.Add(label, new LabelInfo(curStack, true));
Collections\SmallDictionary.cs (1)
57this.Add(kv.Key, kv.Value);
Microsoft.CodeAnalysis.CSharp (21)
Binder\ExecutableCodeBinder.cs (1)
72map.Add(_root, scopeOwner);
Binder\InMethodBinder.cs (1)
55declarationMap.Add(s.Name, s);
Binder\WithLambdaParametersBinder.cs (1)
40_definitionMap.Add(name, parameter);
CodeGen\Optimizer.cs (3)
1827_dummyVariables.Add(dummy, dummy); 1851_dummyVariables.Add(label, dummy); 1869_dummyVariables.Add(label, dummy);
Compiler\TypeCompilationState.cs (2)
218_constructorInitializers.Add(method1, method2); 239_constructorInitializers.Add(method1, method2);
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
800_localToScope.Add(local, scope);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
1476handleToFieldMap.Add(field.Handle, field); 1482handleToFieldMap.Add(field.Handle, field);
Symbols\MutableTypeMap.cs (1)
26this.Mapping.Add(key, value);
Symbols\Source\TypeParameterConstraintClause.cs (2)
191isValueTypeMap.Add(thisTypeParameter, result); 258isReferenceTypeFromConstraintTypesMap.Add(thisTypeParameter, result);
Symbols\Tuples\TupleTypeSymbol.cs (3)
1065map.Add(member.OriginalDefinition, member); 1084map.Add(underlyingAssociatedField.OriginalDefinition, underlyingAssociatedField); 1086map.Add(underlyingEvent.OriginalDefinition, member);
Symbols\TypeMap.cs (3)
78Mapping.Add(tp, ta); 130result.Mapping.Add(tp, TypeWithAnnotations.Create(newTp)); 206mapping.Add(tp, ta);
Syntax\InternalSyntax\CSharpSyntaxNode.cs (1)
299structsInParent.Add(trivia, structure);