~charlie.poole/nunitv2/equality-handlers

« back to all changes in this revision

Viewing changes to src/NUnitCore/core/TypeHelper.cs

  • Committer: Charlie Poole
  • Date: 2011-03-29 21:54:46 UTC
  • mfrom: (3257.4.15 standalone-editor)
  • Revision ID: charlie@nunit.org-20110329215446-pu1r6okg4www4zat
Remove integrated project editor and substitute new standalone editor

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
    {
16
16
        public static string GetDisplayName(Type type)
17
17
        {
18
 
#if NET_2_0
 
18
#if CLR_2_0
19
19
            if (type.IsGenericParameter)
20
20
                return type.Name;
21
21
 
160
160
                    type == typeof(sbyte);
161
161
        }
162
162
 
163
 
#if NET_2_0
 
163
#if CLR_2_0
164
164
        public static Type MakeGenericType(Type type, Type[] typeArgs)
165
165
        {
166
166
            // TODO: Add error handling