private static T DoNotUseApi()

in JetBrains.Profiler.SelfApi/src/CommonConfigHelpers.cs [31:39]


    private static T DoNotUseApi<T>(this T config)
      where T : CommonConfig
    {
      if (config.Pid == null)
        throw new InvalidOperationException("DoNotUseApi is available only when ProfileCustomProcess was specified.");

      config.DoNotUseApi = true;
      return config;
    }