Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 16, 2012 3:43:11 AM |
Updated | Feb 16, 2012 8:59:53 PM |
Priority | Normal |
Type | Bug |
Fix versions | Next |
State | Open |
Assignee | Olga Lobacheva (olka) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; class A { static bool Foo<T>(T x, string s) where T : class, IDisposable { return x == s; } static void Main() { Console.WriteLine(Foo<IDisposable>(null, null)); Console.WriteLine(Foo<IDisposable>(null, "")); } }