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)
152
sizes[(int)TableIndex.MethodDef] =
_methodDefs
.GetAdded().Count;
215
methodsAdded: AddRange(_previousGeneration.MethodsAdded,
_methodDefs
.GetAdded(), comparer: SymbolEquivalentEqualityComparer.Instance),
279
foreach (var def in
_methodDefs
.GetRows())
282
if (!
_methodDefs
.IsAddedNotChanged(def) && def.GetBody(Context)?.SequencePoints.Length > 0)
284
methods.Add(MetadataTokens.MethodDefinitionHandle(
_methodDefs
.GetRowId(def)));
359
bool result =
_methodDefs
.TryGetRowId(def, out int rowId);
365
=> MetadataTokens.MethodDefinitionHandle(
_methodDefs
.GetRowId(def));
368
=>
_methodDefs
.GetDefinition(MetadataTokens.GetRowNumber(index));
371
=>
_methodDefs
.GetRows();
449
protected override int GreatestMethodDefIndex =>
_methodDefs
.NextRowId;
653
this.AddDefIfNecessary(
_methodDefs
, methodDef, methodChange);
662
_methodDefs
.AddUpdated(newMethodDef);
687
int methodDefRowId =
_methodDefs
.GetRowId(methodDef);
1105
PopulateEncLogTableFieldsOrMethods(
_methodDefs
, TableIndex.MethodDef, EditAndContinueOperation.AddMethod);
1187
if (
_methodDefs
.IsAddedNotChanged(methodDef))
1192
entity: MetadataTokens.MethodDefinitionHandle(
_methodDefs
.GetRowId(methodDef)),
1286
AddDefinitionTokens(tokens, tableIndex,
_methodDefs
);
1322
AddDefinitionTokens(debugTokens, TableIndex.MethodDebugInformation,
_methodDefs
);