Пример #1
0
        internal Solution WithDocumentTextLoader(DocumentId documentId, TextLoader loader, SourceText textOpt, PreservationMode mode)
        {
            var newState = _state.WithDocumentTextLoader(documentId, loader, textOpt, mode);

            if (newState == _state)
            {
                return(this);
            }

            return(new Solution(newState));
        }