Suppressed a nullability warning

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-12 18:31:20 +01:00
1 親 4455c31d20
コミット d002aed17b
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -81,7 +81,7 @@ namespace ComputeSharp
{
Guard.IsTrue(function.Method.IsStatic, "Captured delegates need to wrap static methods");
var attributes = function.Method.DeclaringType.Assembly.GetCustomAttributes<ShaderMethodSourceAttribute>();
var attributes = function.Method.DeclaringType!.Assembly.GetCustomAttributes<ShaderMethodSourceAttribute>();
string methodName = function.Method.GetFullName();
foreach (var attribute in attributes)