25 references to KnownPrecodeType
Microsoft.Diagnostics.DataContractReader.Contracts (25)
Contracts\PrecodeStubs_1.cs (9)
49public static KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 61return KnownPrecodeType.Stub; 65return KnownPrecodeType.PInvokeImport; 69return KnownPrecodeType.ThisPtrRetBuf; 73return KnownPrecodeType.UMEntry; 77return KnownPrecodeType.Interpreter; 81return KnownPrecodeType.DynamicHelper; 86return KnownPrecodeType.Fixup; 125MachineDescriptor) is not KnownPrecodeType.Interpreter)
Contracts\PrecodeStubs_Common.cs (16)
28public static abstract KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 43public KnownPrecodeType PrecodeType { get; } 45protected ValidPrecode(TargetPointer instrPointer, KnownPrecodeType precodeType) 56internal StubPrecode(TargetPointer instrPointer, KnownPrecodeType type = KnownPrecodeType.Stub) : base(instrPointer, type) { } 66internal InterpreterPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.Interpreter) { } 76internal PInvokeImportPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.PInvokeImport) { } 81internal FixupPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.Fixup) { } 90internal ThisPtrRetBufPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.ThisPtrRetBuf) { } 100private KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrAddress) 123if (IsAlignedInstrPointer(instrPointer) && TryGetKnownPrecodeType(instrPointer) is KnownPrecodeType precodeType) 127case KnownPrecodeType.Stub: 129case KnownPrecodeType.Fixup: 131case KnownPrecodeType.PInvokeImport: 133case KnownPrecodeType.ThisPtrRetBuf: 135case KnownPrecodeType.Interpreter: