From e14db2d0d6be6f2db3daa83595c9f21b25962ce3 Mon Sep 17 00:00:00 2001 From: David Mason Date: Fri, 15 Feb 2019 16:04:25 -0800 Subject: [PATCH 1/2] update ApplyMetadata doc --- .../profiling/icorprofilerinfo7-applymetadata-method.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md index 4254450c02926..b1984117ab11d 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md @@ -46,7 +46,13 @@ HRESULT ApplyMetaData( - `MemberSpec` records, which you create by calling the [IMetaDataEmit2::DefineMethodSpec](../../../../docs/framework/unmanaged-api/metadata/imetadataemit2-definemethodspec-method.md) method. - `UserString` records, which you create by calling the [IMetaDataEmit::DefineUserString](../../../../docs/framework/unmanaged-api/metadata/imetadataemit-defineuserstring-method.md) method. - + +Starting with .NET Core 3.0, `ApplyMetaData` also supports the following types: + +- `TypeDef` records, which you create by calling the [IMetaDataEmit::DefineTypeDef](../../../../docs/framework/unmanaged-api/metadata/imetadataemit-definetypedef-method.md) method. + +- `MethodDef` records, which you create by calling the [IMetaDataEmit::DefineMethod](../../../../docs/framework/unmanaged-api/metadata/imetadataemit-definemethod-method.md) method. However, adding virtual methods to an existing type is not supported. Virtual methods must be added before the [ModuleLoadFinished](../../../../docs/framework/unmanaged-api/profiling/icorprofilercallback-moduleloadfinished-method.md) callback. + ## Requirements **Platforms:** See [System Requirements](../../../../docs/framework/get-started/system-requirements.md). From 077e3916acd94a29b9e7a0037d820d59c61068e1 Mon Sep 17 00:00:00 2001 From: Maira Wenzel Date: Fri, 15 Feb 2019 17:31:53 -0800 Subject: [PATCH 2/2] update date --- .../profiling/icorprofilerinfo7-applymetadata-method.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md b/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md index b1984117ab11d..3dd7b0c091961 100644 --- a/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md +++ b/docs/framework/unmanaged-api/profiling/icorprofilerinfo7-applymetadata-method.md @@ -1,6 +1,6 @@ --- title: "ICorProfilerInfo7::ApplyMetaData Method" -ms.date: "03/30/2017" +ms.date: "02/15/2019" dev_langs: - "cpp" api_name: