Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] committed 2022-03-13 14:27:46 +00:00
1 parent ed41aabdef
commit 4cb300574c
747 files changed
+1000 -1000

No files matched your search

@@ -27,13 +27,13 @@ public partial class App
public App()
{
#if !NET40
var cachePath = $"{AppDomain.CurrentDomain.BaseDirectory}Cache";
if (!Directory.Exists(cachePath))
{
Directory.CreateDirectory(cachePath);
}
ProfileOptimization.SetProfileRoot(cachePath);
ProfileOptimization.StartProfile("Profile");
var cachePath = $"{AppDomain.CurrentDomain.BaseDirectory}Cache";
if (!Directory.Exists(cachePath))
{
Directory.CreateDirectory(cachePath);
}
ProfileOptimization.SetProfileRoot(cachePath);
ProfileOptimization.StartProfile("Profile");
#endif
}
@@ -80,7 +80,7 @@ public partial class App
#if NET40
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
#else
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
#endif
}
}
@@ -136,4 +136,4 @@ public partial class App
}
}
}
}
}