Skip to content

Commit

Permalink
Adding example for testing bool vs int issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardozoppi committed Jul 3, 2018
1 parent 53dd24f commit e7bcffd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Test/Examples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,13 @@ public void ExampleBoolean3()
this.F3 = false;
}

// Boolean vs Int
public static void ExampleBoolean4()
{
var list = new List<object>();
list.Add(0);
list.Add(false);
}
// Boolean vs Int
// Boolean vs object reference
public void ExampleConditionalBranches()
Expand Down

0 comments on commit e7bcffd

Please sign in to comment.