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