1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00

Improvements to unassigned variable detection

This commit is contained in:
Brian Fiete 2020-09-21 13:58:00 -07:00
parent da563ee14b
commit 5b8d2ffee2
6 changed files with 283 additions and 134 deletions

View file

@ -3103,6 +3103,7 @@ namespace System {
AdjustmentRule [] adjustmentRules,
out bool adjustmentRulesSupportDst) {
adjustmentRulesSupportDst = false;
if (id.IsNull) {
//throw new ArgumentNullException("id");
return .Err;
@ -3125,8 +3126,6 @@ namespace System {
}
Contract.EndContractBlock();
adjustmentRulesSupportDst = false;
//
// "adjustmentRules" can either be null or a valid array of AdjustmentRule objects.
// A valid array is one that does not contain any null elements and all elements