public PathFileInInformation(string path, Encoding encoding, IFileInErrorSink errorSink, SymbolDocumentInfo symbolDocument) { if (String.IsNullOrWhiteSpace(path)) { throw new ArgumentNullException("path"); } if (encoding == null) { throw new ArgumentNullException("encoding"); } this.Path = path; this.Encoding = encoding; this.ErrorSink = errorSink; // null is OK this.SymbolDocument = symbolDocument; // null is OK }
public StringFileInInformation(string code, IFileInErrorSink errorSink) : this(code) { this.ErrorSink = errorSink; }
public DelegateFileInInformation(Func <TextReader> getReaderFunction, IFileInErrorSink errorSink, SymbolDocumentInfo symbolDocument) : this(getReaderFunction) { this.ErrorSink = errorSink; this.SymbolDocument = symbolDocument; }
public DelegateFileInInformation(Func <TextReader> getReaderFunction, IFileInErrorSink errorSink) : this(getReaderFunction, errorSink, null) { }
public PathFileInInformation(string path, Encoding encoding, IFileInErrorSink errorSink) : this(path, encoding, errorSink, null) { }