Ejemplo n.º 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;
		}
Ejemplo n.º 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);
        }