? reader.GetFieldType(i).ToString() "System.Boolean" ? reader.GetFieldType(i) {Name = "Boolean" FullName = "System.Boolean"} Assembly: {mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089} AssemblyQualifiedName: "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Attributes: Public | SequentialLayout | Sealed | Serializable | BeforeFieldInit BaseType: {Name = "ValueType" FullName = "System.ValueType"} ContainsGenericParameters: false CustomAttributes: Count = 3 DeclaredConstructors: {System.Reflection.ConstructorInfo[1]} DeclaredEvents: {System.Reflection.EventInfo[0]} DeclaredFields: {System.Reflection.FieldInfo[7]} DeclaredMembers: {System.Reflection.MemberInfo[34]} DeclaredMethods: {System.Reflection.MethodInfo[26]} DeclaredNestedTypes: {System.Reflection.TypeInfo.d__23} DeclaredProperties: {System.Reflection.PropertyInfo[0]} DeclaringMethod: '((System.RuntimeType)(reader.GetFieldType(i))).DeclaringMethod' threw an exception of type 'System.InvalidOperationException' DeclaringType: null FullName: "System.Boolean" GUID: {c3008e12-9b16-36ec-b731-73257f25be7a} GenericParameterAttributes: '((System.RuntimeType)(reader.GetFieldType(i))).GenericParameterAttributes' threw an exception of type 'System.InvalidOperationException' GenericParameterPosition: '((System.RuntimeType)(reader.GetFieldType(i))).GenericParameterPosition' threw an exception of type 'System.InvalidOperationException' GenericTypeArguments: {System.Type[0]} GenericTypeParameters: {System.Type[0]} HasElementType: false ImplementedInterfaces: {System.Type[4]} IsAbstract: false IsAnsiClass: true IsArray: false IsAutoClass: false IsAutoLayout: false IsByRef: false IsCOMObject: false IsClass: false IsConstructedGenericType: false IsContextful: false IsEnum: false IsExplicitLayout: false IsGenericParameter: false IsGenericType: false IsGenericTypeDefinition: false IsImport: false IsInterface: false IsLayoutSequential: true IsMarshalByRef: false IsNested: false IsNestedAssembly: false IsNestedFamANDAssem: false IsNestedFamORAssem: false IsNestedFamily: false IsNestedPrivate: false IsNestedPublic: false IsNotPublic: false IsPointer: false IsPrimitive: true IsPublic: true IsSealed: true IsSecurityCritical: false IsSecuritySafeCritical: false IsSecurityTransparent: true IsSerializable: true IsSpecialName: false IsUnicodeClass: false IsValueType: true IsVisible: true MemberType: TypeInfo MetadataToken: 33554610 Module (System.Reflection.MemberInfo): {CommonLanguageRuntimeLibrary} Module: {CommonLanguageRuntimeLibrary} Name: "Boolean" Namespace: "System" ReflectedType: null StructLayoutAttribute: {System.Runtime.InteropServices.StructLayoutAttribute} TypeHandle: {System.RuntimeTypeHandle} TypeInitializer: {Void .cctor()} UnderlyingSystemType: {Name = "Boolean" FullName = "System.Boolean"} ? reader.GetFieldType(i) == typeof(System.Boolean) true