File: src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.PlatformNotSupported.cs
Web Access
Project: System.Private.CoreLib.csproj (System.Private.CoreLib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Reflection;
using System.Runtime.Versioning;

namespace System.Runtime.Loader
{
    [UnsupportedOSPlatform("android")]
    [UnsupportedOSPlatform("browser")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    public sealed class AssemblyDependencyResolver
    {
        public AssemblyDependencyResolver(string componentAssemblyPath)
        {
            throw new PlatformNotSupportedException();
        }

        public string? ResolveAssemblyToPath(AssemblyName assemblyName)
        {
            throw new PlatformNotSupportedException();
        }

        public string? ResolveUnmanagedDllToPath(string unmanagedDllName)
        {
            throw new PlatformNotSupportedException();
        }
    }
}