10 references to BufferState
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\System\ServiceModel\XmlBuffer.cs (10)
18
private
BufferState
_bufferState;
73
Fx.Assert(_bufferState ==
BufferState
.Reading, "Buffer size shuold only be retrieved during Reading state");
85
if (_bufferState !=
BufferState
.Created)
87
_bufferState =
BufferState
.Writing;
104
if (_bufferState !=
BufferState
.Writing)
108
_bufferState =
BufferState
.Created;
116
if (_bufferState !=
BufferState
.Created)
118
_bufferState =
BufferState
.Reading;
132
if (_bufferState !=
BufferState
.Reading)
142
if (_bufferState !=
BufferState
.Reading)