31 internal LocalScopeTableReader(
int numberOfRows,
bool declaredSorted,
int methodRefSize,
int importScopeRefSize,
int localVariableRefSize,
int localConstantRefSize,
MemoryBlock containingBlock,
int containingBlockOffset)
45 if (numberOfRows > 0 && !declaredSorted)
59 int num = (handle.RowId - 1) *
RowSize;
65 int num = (rowId - 1) *
RowSize;
71 int num = (rowId - 1) *
RowSize;
77 int num = (rowId - 1) *
RowSize;
83 int num = (rowId - 1) *
RowSize;
89 int num = (rowId - 1) *
RowSize;
91 if ((
int)num2 != num2)
98 internal void GetLocalScopeRange(
int methodDefRid, out
int firstScopeRowId, out
int lastScopeRowId)
101 if (startRowNumber == -1)
108 firstScopeRowId = startRowNumber + 1;
109 lastScopeRowId = endRowNumber + 1;
static void ValueOverflow()
static void TableNotSorted(TableIndex tableIndex)
int PeekReference(int offset, bool smallRefSize)
unsafe MemoryBlock GetMemoryBlockAt(int offset, int length)
void BinarySearchReferenceRange(int rowCount, int rowSize, int referenceOffset, uint referenceValue, bool isReferenceSmall, out int startRowNumber, out int endRowNumber)
int PeekInt32(int offset)
unsafe uint PeekUInt32(int offset)