Use blocks for all if statements

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 7a7f6be038
コミット d910922ef5
28ファイル変更
+239 -59

検索条件に一致するファイルはありません

+4 -1
ファイルの表示
@@ -22,7 +22,10 @@ unsafe partial class ShaderCompiler
// This happens when doing eg. "dotnet bin\Debug\net5.0\MyApp.dll", which would crash at runtime.
Windows.ResolveLibrary += static (libraryName, assembly, searchPath) =>
{
if (libraryName is not "dxcompiler") return IntPtr.Zero;
if (libraryName is not "dxcompiler")
{
return IntPtr.Zero;
}
string rid = RuntimeInformation.ProcessArchitecture switch
{