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