Exemplo n.º 1
0
 public ArrayElementAddress(DebuggerRuntimeImpl runtime, ArrayILValue arrayValue, uint index)
     : base(runtime, arrayValue.Type.GetElementType())
 {
     Debug.Assert(arrayValue.Type.IsArray);
     this.arrayValue = arrayValue;
     this.index      = index;
 }
Exemplo n.º 2
0
 public ValueTypeFieldAddress(DebuggerRuntimeImpl runtime, AddressILValue objValue, DmdFieldInfo field)
     : base(runtime, field.FieldType)
 {
     Debug.Assert(field.ReflectedType.IsValueType);
     this.objValue = objValue;
     this.field    = field;
 }
Exemplo n.º 3
0
 public ReferenceTypeFieldAddress(DebuggerRuntimeImpl runtime, DbgDotNetValue objValue, DmdFieldInfo field)
     : base(runtime, field.FieldType)
 {
     Debug.Assert(!field.ReflectedType.IsValueType && !objValue.Type.IsArray);
     this.objValue = objValue;
     this.field    = field;
 }
Exemplo n.º 4
0
 public InterpreterLocalsProvider(DebuggerRuntimeImpl runtime)
 {
     localsProvider     = null !;
     realLocalVariables = null !;
     localVariables     = null !;
     this.runtime       = runtime;
     extraLocals        = new Dictionary <int, DbgDotNetValue>();
 }
Exemplo n.º 5
0
 public TypeILValueImpl(DebuggerRuntimeImpl runtime, DbgDotNetValue objValue, DmdType?type = null)
 {
     this.runtime        = runtime;
     __objValue_DONT_USE = objValue ?? throw new ArgumentNullException(nameof(objValue));
     Type = type ?? objValue.Type;
 }
Exemplo n.º 6
0
 protected TypeILValueImpl(DebuggerRuntimeImpl runtime, DmdType type)
 {
     this.runtime        = runtime;
     __objValue_DONT_USE = null;
     Type = type ?? throw new ArgumentNullException(nameof(type));
 }
Exemplo n.º 7
0
 public ArrayILValue(DebuggerRuntimeImpl runtime, DbgDotNetValue arrayValue)
     : base(runtime, arrayValue)
 {
     cachedArrayLength = cachedArrayLength_uninitialized;
 }
 public BoxedValueTypeILValue(DebuggerRuntimeImpl runtime, ILValue ilValue, DbgDotNetValue value, DmdType type) : base(runtime, value, type)
 {
     this.ilValue = ilValue;
 }
Exemplo n.º 9
0
 public InterpreterLocalsProvider(DebuggerRuntimeImpl runtime)
 {
     this.runtime = runtime;
     extraLocals  = new Dictionary <int, DbgDotNetValue>();
 }
Exemplo n.º 10
0
 public RuntimeFieldHandleILValue(DebuggerRuntimeImpl runtime, DmdFieldInfo field)
     : base(runtime, field.AppDomain.GetWellKnownType(DmdWellKnownType.System_RuntimeFieldHandle))
 {
     Field = field;
 }
Exemplo n.º 11
0
 protected AddressILValue(DebuggerRuntimeImpl runtime, DmdType locationType)
 {
     this.runtime = runtime;
     Type         = locationType.MakeByRefType();
 }
Exemplo n.º 12
0
 public ArgumentAddress(DebuggerRuntimeImpl runtime, DmdType argumentType, int index)
     : base(runtime, argumentType)
 {
     this.argumentType = argumentType;
     this.index        = index;
 }
Exemplo n.º 13
0
 public LocalAddress(DebuggerRuntimeImpl runtime, DmdType localType, int index)
     : base(runtime, localType)
 {
     this.localType = localType;
     this.index     = index;
 }
Exemplo n.º 14
0
 public ConstantStringILValueImpl(DebuggerRuntimeImpl runtime, DbgDotNetValue value, string s) : base(runtime, value) => Value = s;
Exemplo n.º 15
0
 public StaticFieldAddress(DebuggerRuntimeImpl runtime, DmdFieldInfo field)
     : base(runtime, field.FieldType)
 {
     this.field = field;
 }
Exemplo n.º 16
0
 public UnboxAddressILValue(DebuggerRuntimeImpl runtime, DbgDotNetValue dnValue)
     : base(runtime, dnValue.Type)
 {
     this.dnValue = dnValue;
 }
Exemplo n.º 17
0
 public ByRefILValueImpl(DebuggerRuntimeImpl runtime, DbgDotNetValue byRefValue)
     : base(runtime, byRefValue.Type.GetElementType())
 {
     this.byRefValue = byRefValue;
 }
Exemplo n.º 18
0
 public RuntimeTypeHandleILValue(DebuggerRuntimeImpl runtime, DmdType type)
     : base(runtime, type.AppDomain.GetWellKnownType(DmdWellKnownType.System_RuntimeTypeHandle))
 {
     this.type = type;
 }
Exemplo n.º 19
0
 public PointerILValue(DebuggerRuntimeImpl runtime, DbgDotNetValue pointerValue)
     : base(runtime, pointerValue.Type.GetElementType())
 {
     this.pointerValue = pointerValue;
 }
Exemplo n.º 20
0
 public RuntimeMethodHandleILValue(DebuggerRuntimeImpl runtime, DmdMethodBase method)
     : base(runtime, method.AppDomain.GetWellKnownType(DmdWellKnownType.System_RuntimeMethodHandle))
 {
     this.method = method;
 }
Exemplo n.º 21
0
 public ArrayElementAddress(DebuggerRuntimeImpl runtime, ArrayILValue arrayValue, uint index)
     : base(runtime, arrayValue.Type !.GetElementType() !)