Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/// <summary> /// Creates a new solution instance with the additional document specified updated to have the text /// specified. /// </summary> public Solution WithAdditionalDocumentText(DocumentId documentId, SourceText text, PreservationMode mode = PreservationMode.PreserveValue) { var newState = _state.WithAdditionalDocumentText(documentId, text, mode); if (newState == _state) { return(this); } return(new Solution(newState)); }