From c03bb0cc69f3f5b970b3bb9ad3d558029164a051 Mon Sep 17 00:00:00 2001 From: Morgan Creekmore Date: Tue, 23 Feb 2021 12:43:45 -0600 Subject: [PATCH 1/3] Correct ICorProfilerInfo9 available since .NET Core 2.1 --- .../profiling/icorprofilerinfo9-getcodeinfo4-method.md | 2 +- .../profiling/icorprofilerinfo9-getiltonativemapping3-method.md | 2 +- .../icorprofilerinfo9-getnativecodestartaddresses-method.md | 2 +- .../unmanaged-api/profiling/icorprofilerinfo9-interface.md | 2 +- includes/net-core-21-md.md | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 includes/net-core-21-md.md diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getcodeinfo4-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getcodeinfo4-method.md index af8f2b062d2c6..2fec68545b724 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getcodeinfo4-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getcodeinfo4-method.md @@ -65,7 +65,7 @@ Alternatively, you can first call `GetCodeInfo4` with a zero-length `codeInfos` **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-22-md.md)] +**.NET Versions:** [!INCLUDE[net_core_21](../../../../includes/net-core-21-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getiltonativemapping3-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getiltonativemapping3-method.md index e256e00075672..37b72f23980b8 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getiltonativemapping3-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getiltonativemapping3-method.md @@ -56,7 +56,7 @@ When tiered compilation is enabled, a method may have more than one native code **Library:** CorGuids.lib -**.NET Framework Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-22-md.md)] +**.NET Framework Versions:** [!INCLUDE[net_core_21](../../../../includes/net-core-21-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getnativecodestartaddresses-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getnativecodestartaddresses-method.md index d98e58868e6ff..783453a9c9359 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getnativecodestartaddresses-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-getnativecodestartaddresses-method.md @@ -61,7 +61,7 @@ When tiered compilation is enabled, a function may have more than one native cod **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-22-md.md)] +**.NET Versions:** [!INCLUDE[net_core_21](../../../../includes/net-core-21-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-interface.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-interface.md index cd1f0fd6f505e..4acb4a76d993d 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-interface.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo9-interface.md @@ -21,7 +21,7 @@ A subclass of [ICorProfilerInfo8](icorprofilerinfo8-interface.md) that provides **Platforms:** See [.NET Core supported operating systems](../../../core/install/windows.md?pivots=os-windows). **Header:** CorProf.idl, CorProf.h -**.NET Versions:** [!INCLUDE[net_core](../../../../includes/net-core-22-md.md)] +**.NET Versions:** [!INCLUDE[net_core](../../../../includes/net-core-21-md.md)] ## See also diff --git a/includes/net-core-21-md.md b/includes/net-core-21-md.md new file mode 100644 index 0000000000000..5bc1c6691b735 --- /dev/null +++ b/includes/net-core-21-md.md @@ -0,0 +1 @@ +Available since .NET Core 2.1 From 47b5e4cdd16c7dafc23ea326b2c3fdf88c78d641 Mon Sep 17 00:00:00 2001 From: Morgan Creekmore Date: Tue, 23 Feb 2021 12:48:24 -0600 Subject: [PATCH 2/3] Correct that COR_PRF_REJIT_FLAGS was available in .NET Core 3.0 (ICorProfilerInfo10) --- .../unmanaged-api/profiling/cor-prf-rejit-flags-enumeration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/unmanaged-api/profiling/cor-prf-rejit-flags-enumeration.md b/docs/framework/unmanaged-api/profiling/cor-prf-rejit-flags-enumeration.md index 61fb46700e33e..96ff6912c45bc 100644 --- a/docs/framework/unmanaged-api/profiling/cor-prf-rejit-flags-enumeration.md +++ b/docs/framework/unmanaged-api/profiling/cor-prf-rejit-flags-enumeration.md @@ -46,7 +46,7 @@ typedef enum **Library:** CorGuids.lib - **.NET Framework Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-22-md.md)] + **.NET Framework Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also From ad93ee166faabdea489ee541c10fe42488a12cb0 Mon Sep 17 00:00:00 2001 From: Morgan Creekmore Date: Tue, 23 Feb 2021 12:48:57 -0600 Subject: [PATCH 3/3] Cleanup .NET Core 2.2 include --- .../icorprofilerinfo10-enumerateobjectreferences-method.md | 2 +- .../icorprofilerinfo10-getlohobjectsizethreshold-method.md | 2 +- .../unmanaged-api/profiling/icorprofilerinfo10-interface.md | 2 +- .../profiling/icorprofilerinfo10-isfrozenobject-method.md | 2 +- .../icorprofilerinfo10-requestrejitwithinliners-method.md | 2 +- .../profiling/icorprofilerinfo10-resumeruntime-method.md | 2 +- .../profiling/icorprofilerinfo10-suspendruntime-method.md | 2 +- includes/net-core-22-md.md | 1 - 8 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 includes/net-core-22-md.md diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-enumerateobjectreferences-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-enumerateobjectreferences-method.md index 92cf67600c0d1..2da59b8ff3494 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-enumerateobjectreferences-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-enumerateobjectreferences-method.md @@ -51,7 +51,7 @@ The `EnumerateObjectReferences` method is similar to [ObjectReferences](icorprof **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-getlohobjectsizethreshold-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-getlohobjectsizethreshold-method.md index bdf1ecdb6ec99..21c2c6ccf7b37 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-getlohobjectsizethreshold-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-getlohobjectsizethreshold-method.md @@ -41,7 +41,7 @@ Objects larger than the large object heap threshold will be allocated on the lar **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-interface.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-interface.md index 5b0b8f5ffb370..9b3858148ad35 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-interface.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-interface.md @@ -24,7 +24,7 @@ A subclass of [ICorProfilerInfo9](icorprofilerinfo9-interface.md) that provides **Platforms:** See [.NET Core supported operating systems](../../../core/install/windows.md?pivots=os-windows). **Header:** CorProf.idl, CorProf.h -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-isfrozenobject-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-isfrozenobject-method.md index 299175358e456..5741769053be6 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-isfrozenobject-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-isfrozenobject-method.md @@ -42,7 +42,7 @@ HRESULT IsFrozenObject( [in] ObjectID objectId, **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-requestrejitwithinliners-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-requestrejitwithinliners-method.md index 0cbdb97f6f813..30381d8dce4a2 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-requestrejitwithinliners-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-requestrejitwithinliners-method.md @@ -56,7 +56,7 @@ HRESULT RequestReJITWithInliners( [in] DWORD dwRejit **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-resumeruntime-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-resumeruntime-method.md index 34e4e4021d8c9..6027990fffd46 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-resumeruntime-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-resumeruntime-method.md @@ -31,7 +31,7 @@ HRESULT ResumeRuntime(); **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-suspendruntime-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-suspendruntime-method.md index 8f2302d002674..d216a8f810b30 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-suspendruntime-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo10-suspendruntime-method.md @@ -31,7 +31,7 @@ HRESULT SuspendRuntime(); **Library:** CorGuids.lib -**.NET Versions:** [!INCLUDE[net_core_22](../../../../includes/net-core-30-md.md)] +**.NET Versions:** [!INCLUDE[net_core_30](../../../../includes/net-core-30-md.md)] ## See also diff --git a/includes/net-core-22-md.md b/includes/net-core-22-md.md deleted file mode 100644 index da949eb5c22b3..0000000000000 --- a/includes/net-core-22-md.md +++ /dev/null @@ -1 +0,0 @@ -Available since .NET Core 2.2