Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 27, 2012 8:40:02 AM |
Updated | Feb 27, 2012 8:40:02 AM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; using System.Threading.Tasks; using JetBrains.Annotations; class Program { static void Main() { Task.Factory.StartNew(Foo, null).Wait(); // null warning expected } static void Foo([NotNull] object obj) { if (obj == null) throw new ArgumentNullException("obj"); } }