public static string GetLocation(this Assembly assembly)
        {
            if (AssemblyLightUp.get_Location == null)
            {
                throw new PlatformNotSupportedException();
            }

            return(AssemblyLightUp.get_Location(assembly));
        }
Exemple #2
0
 public static string GetLocation(this Assembly assembly) => AssemblyLightUp._get_Location == null
     ? throw new PlatformNotSupportedException()
     : AssemblyLightUp._get_Location(assembly);