File: _generated\0\LibraryImports.g.cs
Web Access
Project: src\sdk\src\Cli\dotnet-aot\dotnet-aot.csproj (dotnet-aot)
// <auto-generated/>
namespace Microsoft.DotNet.Cli
{
    internal static unsafe partial class SdkRootLocator
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.LibraryImportGenerator", "11.0.14.41201")]
        [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
        private static partial int dladdr(nint addr, out global::Microsoft.DotNet.Cli.SdkRootLocator.DlInfo info)
        {
            unsafe
            {
                info = default;
                int __retVal;
                // Pin - Pin data in preparation for calling the P/Invoke.
                fixed (global::Microsoft.DotNet.Cli.SdkRootLocator.DlInfo* __info_native = &info)
                {
                    __retVal = __PInvoke(addr, __info_native);
                }
 
                return __retVal;
                // Local P/Invoke
                [global::System.Runtime.InteropServices.DllImportAttribute("dotnet-aot-dl", EntryPoint = "dladdr", ExactSpelling = true)]
                static extern unsafe int __PInvoke(nint __addr_native, global::Microsoft.DotNet.Cli.SdkRootLocator.DlInfo* __info_native);
            }
        }
    }
}