You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varmsg=$"{method.AsFullName()}: has the required [BindingImpl] attribute (because this method creates a BlockLiteral), but the BindingImplOptions.Optimizable flag isn't set.";
476
+
failures[msg]=new(msg,loc);
477
+
}
478
+
continue;
462
479
default:
463
480
continue;
464
481
}
465
482
466
-
varlocation=method.RenderLocation(instr);
467
-
varmessage=$"The call to {targetMethod.Name} in {method.AsFullName()} must be converted to new Block syntax.";
468
-
failures[message]=new(message,location);
469
483
}
470
484
}
471
485
}
@@ -475,10 +489,6 @@ public void CheckForBlockLiterals ()
"The call to SetupBlock in ObjCRuntime.BlockLiteral.CreateBlockForDelegate(System.Delegate, System.Delegate, System.String) must be converted to new Block syntax.",
479
-
"The call to SetupBlock in ObjCRuntime.BlockLiteral.GetBlockForDelegate(System.Reflection.MethodInfo, System.Object, System.UInt32, System.String) must be converted to new Block syntax.",
480
-
"The call to SetupBlock in ObjCRuntime.BlockLiteral.SetupBlock(System.Delegate, System.Delegate) must be converted to new Block syntax.",
481
-
"The call to SetupBlock in ObjCRuntime.BlockLiteral.SetupBlockUnsafe(System.Delegate, System.Delegate) must be converted to new Block syntax.",
0 commit comments