1 write to _methodDefs
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
108_methodDefs = new DefinitionIndex<IMethodDefinition>(this.TryGetExistingMethodDefIndex, sizes[(int)TableIndex.MethodDef]);
18 references to _methodDefs
Microsoft.CodeAnalysis (18)
Emit\EditAndContinue\DeltaMetadataWriter.cs (18)
152sizes[(int)TableIndex.MethodDef] = _methodDefs.GetAdded().Count; 215methodsAdded: AddRange(_previousGeneration.MethodsAdded, _methodDefs.GetAdded(), comparer: SymbolEquivalentEqualityComparer.Instance), 279foreach (var def in _methodDefs.GetRows()) 282if (!_methodDefs.IsAddedNotChanged(def) && def.GetBody(Context)?.SequencePoints.Length > 0) 284methods.Add(MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(def))); 359bool result = _methodDefs.TryGetRowId(def, out int rowId); 365=> MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(def)); 368=> _methodDefs.GetDefinition(MetadataTokens.GetRowNumber(index)); 371=> _methodDefs.GetRows(); 449protected override int GreatestMethodDefIndex => _methodDefs.NextRowId; 653this.AddDefIfNecessary(_methodDefs, methodDef, methodChange); 662_methodDefs.AddUpdated(newMethodDef); 687int methodDefRowId = _methodDefs.GetRowId(methodDef); 1105PopulateEncLogTableFieldsOrMethods(_methodDefs, TableIndex.MethodDef, EditAndContinueOperation.AddMethod); 1187if (_methodDefs.IsAddedNotChanged(methodDef)) 1192entity: MetadataTokens.MethodDefinitionHandle(_methodDefs.GetRowId(methodDef)), 1286AddDefinitionTokens(tokens, tableIndex, _methodDefs); 1322AddDefinitionTokens(debugTokens, TableIndex.MethodDebugInformation, _methodDefs);