2 writes to _editCount
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\FileCodeModel.cs (2)
286
_editCount
++;
301
_editCount
--;
7 references to _editCount
Microsoft.VisualStudio.LanguageServices.Implementation (7)
CodeModel\FileCodeModel.cs (7)
115
Debug.Assert(
_editCount
== 0, "FileCodeModel have an open edit and the underlying file is being renamed. This is a bug.");
288
if (
_editCount
== 1)
299
Debug.Assert(
_editCount
>= 1);
302
if (
_editCount
== 0)
666
if (
_editCount
== 1)
684
if (
_editCount
== 1)
770
return _batchMode &&
_editCount
> 0;