2 writes to Buffer
System.Security.Principal.Windows (2)
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.LsaLookupNames2.cs (1)
40m.Buffer = Marshal.PtrToStringUni(unmanaged.Buffer)!;
System\Security\Principal\NTAccount.cs (1)
232Names[currentName].Buffer = nta.ToString();
3 references to Buffer
System.Security.Principal.Windows (3)
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.LsaLookupNames2.cs (1)
49n.Buffer = Marshal.StringToCoTaskMemUni(managed.Buffer);
System\Security\Principal\NTAccount.cs (2)
234if (Names[currentName].Buffer.Length * 2 + 2 > ushort.MaxValue) 242Names[currentName].Length = (ushort)(Names[currentName].Buffer.Length * 2);