Exemple #1
0
        } // end _ValidateFieldInfoAndGetName()

        internal DbgFieldInfo(UserModeDebugger debugger,
                              DbgTypeInfo owningType,
                              ClrMemDiag.Debugger.FieldInfo fieldInfo,
                              ulong modBase)   // TODO BUGBUG? There is no module base field in 'f'... is it not possible for a field to be of a type from some other module?
            : this(debugger,
                   owningType,
                   _ValidateFieldInfoAndGetName(fieldInfo),
                   fieldInfo.FieldOffset,
                   (fieldInfo.PointerFlag != ClrMemDiag.Debugger.PointerFlag.None) &&
                   (fieldInfo.PointerFlag != ClrMemDiag.Debugger.PointerFlag.Pointer64),
                   fieldInfo.PointerFlag.HasFlag(ClrMemDiag.Debugger.PointerFlag.Pointer64),
                   fieldInfo.IsArray,
                   //fieldInfo.IsStruct,
                   fieldInfo.IsConstant,
                   fieldInfo.IsStatic,
                   fieldInfo.Size,
                   DbgTypeInfo.GetNamedTypeInfo(debugger, modBase, fieldInfo.TypeId))
        {
            // nothing
        } // end constructor
Exemple #2
0
        } // end _ValidateFieldInfoAndGetName()

        internal DbgFieldInfo(DbgEngDebugger debugger,
                              DbgTypeInfo owningType,
                              Microsoft.Diagnostics.Runtime.Interop.FieldInfo fieldInfo,
                              ulong modBase,
                              DbgUModeProcess process)   // TODO BUGBUG? There is no module base field in 'f'... is it not possible for a field to be of a type from some other module?
            : this(debugger,
                   owningType,
                   _ValidateFieldInfoAndGetName(fieldInfo),
                   fieldInfo.FieldOffset,
                   (fieldInfo.PointerFlag != Microsoft.Diagnostics.Runtime.Interop.PointerFlag.None) &&
                   (fieldInfo.PointerFlag != Microsoft.Diagnostics.Runtime.Interop.PointerFlag.Pointer64),
                   fieldInfo.PointerFlag.HasFlag(Microsoft.Diagnostics.Runtime.Interop.PointerFlag.Pointer64),
                   fieldInfo.IsArray,
                   //fieldInfo.IsStruct,
                   fieldInfo.IsConstant,
                   fieldInfo.IsStatic,
                   fieldInfo.Size,
                   DbgTypeInfo.GetNamedTypeInfo(debugger,
                                                modBase,
                                                fieldInfo.TypeId,
                                                process))
        {
            // nothing
        } // end constructor