public DocumentSnapshot(TextDocument document, string identifier = null) { this.Identifier = identifier; this.Document = document; }