1 write to LocalScopeTable
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.cs (1)
761
this.
LocalScopeTable
= new LocalScopeTableReader(rowCounts[(int)TableIndex.LocalScope], IsDeclaredSorted(TableMask.LocalScope), methodRefSizeCombined, GetReferenceSize(rowCounts, TableIndex.ImportScope), GetReferenceSize(rowCounts, TableIndex.LocalVariable), GetReferenceSize(rowCounts, TableIndex.LocalConstant), metadataTablesMemoryBlock, totalRequiredSize);
22 references to LocalScopeTable
System.Reflection.Metadata (22)
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
98
TableIndex.LocalScope => reader.
LocalScopeTable
.RowSize,
179
TableIndex.LocalScope => reader.
LocalScopeTable
.Block,
System\Reflection\Metadata\MetadataReader.cs (7)
762
totalRequiredSize += this.
LocalScopeTable
.Block.Length;
945
firstVariableRowId = this.
LocalScopeTable
.GetVariableStart(scopeRowId);
951
else if (scopeRowId == this.
LocalScopeTable
.NumberOfRows)
957
lastVariableRowId = this.
LocalScopeTable
.GetVariableStart(scopeRowId + 1) - 1;
965
firstConstantRowId = this.
LocalScopeTable
.GetConstantStart(scopeRowId);
971
else if (scopeRowId == this.
LocalScopeTable
.NumberOfRows)
977
lastConstantRowId = this.
LocalScopeTable
.GetConstantStart(scopeRowId + 1) - 1;
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (8)
224
_lastRowId = reader.
LocalScopeTable
.NumberOfRows;
228
reader.
LocalScopeTable
.GetLocalScopeRange(methodDefinitionRowId, out _firstRowId, out _lastRowId);
331
_parentEndOffset = reader.
LocalScopeTable
.GetEndOffset(parentRowId);
332
_parentMethodRowId = reader.
LocalScopeTable
.GetMethod(parentRowId);
363
currentEndOffset = _reader.
LocalScopeTable
.GetEndOffset(currentRowId);
367
int rowCount = _reader.
LocalScopeTable
.NumberOfRows;
372
_parentMethodRowId != _reader.
LocalScopeTable
.GetMethod(nextRowId))
378
int nextEndOffset = _reader.
LocalScopeTable
.GetEndOffset(nextRowId);
System\Reflection\Metadata\PortablePdb\LocalScope.cs (5)
32
public MethodDefinitionHandle Method => _reader.
LocalScopeTable
.GetMethod(_rowId);
33
public ImportScopeHandle ImportScope => _reader.
LocalScopeTable
.GetImportScope(Handle);
34
public int StartOffset => _reader.
LocalScopeTable
.GetStartOffset(_rowId);
35
public int Length => _reader.
LocalScopeTable
.GetLength(_rowId);
36
public int EndOffset => _reader.
LocalScopeTable
.GetEndOffset(_rowId);