Priority
Show-stopper
Type
Bug 
State
Fixed 
Assignee
Dmitry Lomov 
Subsystem
Code Analysis 
Affected versions
Fixed in
Fixed in build
Next build 
Fixed in build
252
  • Submitted by   Eugene Pasynkov
    3 years ago (06 Aug 2006 18:12)
  • Updated by Eugene Pasynkov
    3 years ago (09 Sep 2006 13:33)
  • Jira: RSRP-25988
    (history, comments)

RSRP-25988

Compilable code is counted as 'red'

0
class MyCollection : CollectionBase, IMyCollection
{
#region IMyCollection Members

int IMyCollection.Count
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}

#endregion
}

internal interface IMyCollection
{
int Count
{
get;set;
}
}

class MyCollection
{
public void GenericMethod<T>(T param) where T:MyCollection
{
Debug.Write(param.Count);
}
}


Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments