@@ -2196,19 +2196,19 @@ public override NtResult<object> QueryObject(ProcessInformationClass info_class,
21962196 switch ( info_class )
21972197 {
21982198 case ProcessInformationClass . ProcessBasicInformation :
2199- return Query < ProcessBasicInformation > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2199+ return Query < ProcessBasicInformation > ( info_class , default , throw_on_error ) ;
22002200 case ProcessInformationClass . ProcessIoCounters :
2201- return Query < IoCounters > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2201+ return Query < IoCounters > ( info_class , default , throw_on_error ) ;
22022202 case ProcessInformationClass . ProcessTimes :
2203- return Query < KernelUserTimes > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2203+ return Query < KernelUserTimes > ( info_class , default , throw_on_error ) ;
22042204 case ProcessInformationClass . ProcessQuotaLimits :
2205- return Query < QuotaLimitsEx > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2205+ return Query < QuotaLimitsEx > ( info_class , default , throw_on_error ) ;
22062206 case ProcessInformationClass . ProcessVmCounters :
2207- return Query < VmCountersEx > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2207+ return Query < VmCountersEx > ( info_class , default , throw_on_error ) ;
22082208 case ProcessInformationClass . ProcessCycleTime :
2209- return Query < ProcessCycleTimeInformation > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2209+ return Query < ProcessCycleTimeInformation > ( info_class , default , throw_on_error ) ;
22102210 case ProcessInformationClass . ProcessProtectionInformation :
2211- return Query < PsProtection > ( info_class , default , throw_on_error ) . Cast < object > ( ) ;
2211+ return Query < PsProtection > ( info_class , default , throw_on_error ) ;
22122212 }
22132213 return base . QueryObject ( info_class , throw_on_error ) ;
22142214 }
0 commit comments