3 writes to m_buffer
mscorlib (3)
system\security\securestring.cs (3)
182
m_buffer
= null;
326
m_buffer
= SafeBSTRHandle.Allocate(null, alignedSize);
358
m_buffer
= newBuffer;
39 references to m_buffer
mscorlib (39)
system\security\securestring.cs (39)
55
SafeBSTRHandle.Copy(str.
m_buffer
, this.
m_buffer
);
86
m_buffer
.AcquirePointer(ref bufferPtr);
96
m_buffer
.ReleasePointer();
145
m_buffer
.Write<char>((uint)m_length * sizeof(char), c);
165
m_buffer
.ClearBuffer();
180
if(
m_buffer
!= null && !
m_buffer
.IsInvalid) {
181
m_buffer
.Close();
207
m_buffer
.AcquirePointer(ref bufferPtr);
223
m_buffer
.ReleasePointer();
262
m_buffer
.AcquirePointer(ref bufferPtr);
279
m_buffer
.ReleasePointer();
302
m_buffer
.Write<char>((uint)index * sizeof(char), c);
316
Contract.Assert(
m_buffer
!= null, "Buffer is not initialized!");
317
return
m_buffer
.Length;
327
if (
m_buffer
.IsInvalid) {
346
if( capacity <=
m_buffer
.Length) {
356
SafeBSTRHandle.Copy(
m_buffer
, newBuffer);
357
m_buffer
.Close();
363
if(
m_buffer
== null) {
398
m_buffer
.AcquirePointer(ref bufferPtr);
412
m_buffer
.ReleasePointer();
427
m_buffer
.AcquirePointer(ref bufferPtr);
443
m_buffer
.ReleasePointer();
450
Contract.Assert(!
m_buffer
.IsInvalid &&
m_buffer
.Length != 0, "Invalid buffer!");
451
Contract.Assert(
m_buffer
.Length % BlockSize == 0, "buffer length must be multiple of blocksize!");
462
int status = Win32Native.SystemFunction040(
m_buffer
, (uint)
m_buffer
.Length * 2, ProtectionScope);
501
m_buffer
.AcquirePointer(ref bufferPtr);
519
m_buffer
.ReleasePointer();
555
m_buffer
.AcquirePointer(ref bufferPtr);
582
m_buffer
.ReleasePointer();
651
Contract.Assert(!
m_buffer
.IsInvalid &&
m_buffer
.Length != 0, "Invalid buffer!");
652
Contract.Assert(
m_buffer
.Length % BlockSize == 0, "buffer length must be multiple of blocksize!");
664
int status = Win32Native.SystemFunction041(
m_buffer
, (uint)
m_buffer
.Length * 2, ProtectionScope);