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; }
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); }