allthedrones / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

Enhancement: Support validation of generic type parameters #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Microsoft's Framework Design Guidelines suggest that generic type
parameters should be "T" or begin with "T". Unfortunately, Agent Smith
(v1.3.7) lacks of support for generic type parameters at all.

Code Examples:

public class Dictionary<TKey, TValue> : ...
{
}

public T ReadValueOrDefault<T>(IDataRecord record, T defaultValue)
{
    // ...
}

Please introduce this in an upcoming version.

Original issue reported on code.google.com by kradew...@saz.net on 27 Apr 2009 at 9:37

GoogleCodeExporter commented 8 years ago

Original comment by forever....@gmail.com on 27 Apr 2009 at 1:14