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