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);
43
public
KnownPrecodeType
PrecodeType { get; }
45
protected ValidPrecode(TargetPointer instrPointer,
KnownPrecodeType
precodeType)
56
internal StubPrecode(TargetPointer instrPointer,
KnownPrecodeType
type =
KnownPrecodeType
.Stub) : base(instrPointer, type) { }
66
internal InterpreterPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.Interpreter) { }
76
internal PInvokeImportPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.PInvokeImport) { }
81
internal FixupPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.Fixup) { }
90
internal ThisPtrRetBufPrecode(TargetPointer instrPointer) : base(instrPointer,
KnownPrecodeType
.ThisPtrRetBuf) { }
100
private
KnownPrecodeType
? TryGetKnownPrecodeType(TargetPointer instrAddress)
123
if (IsAlignedInstrPointer(instrPointer) && TryGetKnownPrecodeType(instrPointer) is
KnownPrecodeType
precodeType)
127
case
KnownPrecodeType
.Stub:
129
case
KnownPrecodeType
.Fixup:
131
case
KnownPrecodeType
.PInvokeImport:
133
case
KnownPrecodeType
.ThisPtrRetBuf:
135
case
KnownPrecodeType
.Interpreter: