25 references to KnownPrecodeType
Microsoft.Diagnostics.DataContractReader.Contracts (25)
Contracts\PrecodeStubs_1.cs (9)
49
public static
KnownPrecodeType
? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor)
61
return
KnownPrecodeType
.Stub;
65
return
KnownPrecodeType
.PInvokeImport;
69
return
KnownPrecodeType
.ThisPtrRetBuf;
73
return
KnownPrecodeType
.UMEntry;
77
return
KnownPrecodeType
.Interpreter;
81
return
KnownPrecodeType
.DynamicHelper;
86
return
KnownPrecodeType
.Fixup;
125
MachineDescriptor) is not
KnownPrecodeType
.Interpreter)
Contracts\PrecodeStubs_Common.cs (16)
28
public static abstract
KnownPrecodeType
? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor);
42
public
KnownPrecodeType
PrecodeType { get; }
44
protected ValidPrecode(TargetPointer instrPointer,
KnownPrecodeType
precodeType)
55
internal StubPrecode(TargetPointer instrPointer,
KnownPrecodeType
type =
KnownPrecodeType
.Stub) : base(instrPointer, type) { }
65
internal InterpreterPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.Interpreter) { }
75
internal PInvokeImportPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.PInvokeImport) { }
80
internal FixupPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.Fixup) { }
89
internal ThisPtrRetBufPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.ThisPtrRetBuf) { }
99
private
KnownPrecodeType
? TryGetKnownPrecodeType(TargetPointer instrAddress)
122
if (IsAlignedInstrPointer(instrPointer) && TryGetKnownPrecodeType(instrPointer) is
KnownPrecodeType
precodeType)
126
case
KnownPrecodeType
.Stub:
128
case
KnownPrecodeType
.Fixup:
130
case
KnownPrecodeType
.PInvokeImport:
132
case
KnownPrecodeType
.ThisPtrRetBuf:
134
case
KnownPrecodeType
.Interpreter: