Пример #1
0
		public static DebuggingChunk Parse(BytecodeReader reader, ChunkType chunkType, int chunkSize)
		{
			var result = new DebuggingChunk();

			if (chunkType == ChunkType.Sdbg) // SDGB is not supported.
				return result;

			result.PdbBytes = reader.ReadBytes(chunkSize);
			return result;
		}
Пример #2
0
        public static DebuggingChunk Parse(BytecodeReader reader, ChunkType chunkType, int chunkSize)
        {
            var result = new DebuggingChunk();

            if (chunkType == ChunkType.Sdbg)             // SDGB is not supported.
            {
                return(result);
            }

            result.PdbBytes = reader.ReadBytes(chunkSize);
            return(result);
        }