11 references to Native
System.Security.Principal.Windows (11)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (7)
428
global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
* __names_native = default;
435
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Interop.Advapi32.MARSHALLED_UNICODE_STRING, global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
>.ManagedToUnmanagedIn __names_native__marshaller = new();
441
__names_native__marshaller.FromManaged(names, stackalloc global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Interop.Advapi32.MARSHALLED_UNICODE_STRING, global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
>.ManagedToUnmanagedIn.BufferSize]);
444
global::System.Span<global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
> __names_native__nativeSpan = __names_native__marshaller.GetUnmanagedValuesDestination();
480
global::System.ReadOnlySpan<global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
> __names_native__nativeSpan = __names_native__marshaller.GetUnmanagedValuesDestination();
494
static extern unsafe uint __PInvoke(nint __handle_native, int __flags_native, int __count_native, global::Interop.Advapi32.MARSHALLED_UNICODE_STRING.Marshaller.
Native
* __names_native, nint* __referencedDomains_native, nint* __sids_native);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.LsaLookupNames2.cs (4)
35
public static MARSHALLED_UNICODE_STRING ConvertToManaged(
Native
unmanaged)
44
public static
Native
ConvertToUnmanaged(MARSHALLED_UNICODE_STRING managed)
46
Native
n;
53
public static void Free(
Native
native)