static private ReadUnalignedI4 ( int p ) : int | ||
p | int | |
return | int |
private unsafe int GetNameHash(int index) { if (this._ums == null) { return(this._nameHashes[index]); } return(ResourceReader.ReadUnalignedI4(this._nameHashesPtr + index)); }
private unsafe int GetNamePosition(int index) { int num = this._ums != null?ResourceReader.ReadUnalignedI4(this._namePositionsPtr + index) : this._namePositions[index]; if (num < 0 || (long)num > this._dataSectionOffset - this._nameSectionOffset) { throw new FormatException(Environment.GetResourceString("BadImageFormat_ResourcesNameInvalidOffset", (object)num)); } return(num); }