Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 21, 2012 2:56:38 AM |
Updated | Apr 21, 2012 11:40:51 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; class Program { static void Foo(Type type) { var x = type.GetCustomAttributesData(); if(x == null) // Expression is always false { } var y = type.CustomAttributes; if(y == null) // Expression is always false { } } }