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