3 writes to _batchDocument
Microsoft.VisualStudio.LanguageServices.Implementation (3)
CodeModel\FileCodeModel.cs (3)
93
_batchDocument
= null;
383
_batchDocument
= document;
715
_batchDocument
= null;
6 references to _batchDocument
Microsoft.VisualStudio.LanguageServices.Implementation (6)
CodeModel\FileCodeModel.cs (6)
407
if (IsBatchOpen &&
_batchDocument
!= null)
409
document =
_batchDocument
;
703
if (
_batchDocument
!= null)
708
var simplifierOptions = await
_batchDocument
.GetSimplifierOptionsAsync(GlobalOptions, CancellationToken.None).ConfigureAwait(false);
709
return await Simplifier.ReduceAsync(
_batchDocument
, Simplifier.Annotation, simplifierOptions, CancellationToken.None).ConfigureAwait(false);
712
_batchDocument
.Project.Solution.Workspace.TryApplyChanges(newDocument.Project.Solution);