3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 /*=============================================================================
8 ** Class: TypeInfoExtension
10 ** <OWNER>[....]</OWNER>
13 ** Purpose: go from type to type info
16 =============================================================================*/
18 namespace System.Reflection
20 using System.Reflection;
22 public static class IntrospectionExtensions
24 public static TypeInfo GetTypeInfo(this Type type){
26 throw new ArgumentNullException("type");
28 var rcType=(IReflectableType)type;
32 return rcType.GetTypeInfo();