in JetBrains.Profiler.SelfApi/src/Impl/NuGet.cs [113:126]
public static Uri GetDefaultUrl(NuGetApi nugetApi)
{
switch (nugetApi)
{
case NuGetApi.V2:
return V2.NugetOrgUrl;
case NuGetApi.V3:
return V3.NugetOrgUrl;
default:
throw new NotSupportedException($"The NuGet API {nugetApi} is not supported.");
}
}