private BuildLogReader(Stream stream) { this.reader = new TreeBinaryReader(stream); this.formatSupportsSourceFiles = reader.Version > new Version(1, 0, 130); this.formatSupportsEmbeddedProjectImportsArchive = reader.Version > new Version(1, 1, 87); this.formatSupportsTimedNodeId = reader.Version > new Version(1, 1, 153); this.formatIsValid = reader.IsValid(); }
private BinaryLogReader(string filePath) { this.filePath = filePath; this.reader = new TreeBinaryReader(filePath); this.formatSupportsSourceFiles = reader.Version > new Version(1, 0, 130); this.formatSupportsEmbeddedProjectImportsArchive = reader.Version > new Version(1, 1, 87); this.formatIsValid = reader.IsValid(); }