-
Notifications
You must be signed in to change notification settings - Fork 6k
Move unmanaged APIs for Metadata to /core folder #46991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 20 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
5ea5af8
Initial plan
Copilot 47b51fc
Move metadata and hosting APIs from framework to core folder
Copilot cf91c30
Fix cross-references to moved metadata and hosting APIs
Copilot 9e84548
Fix linting issues and finalize API move
Copilot 4dc6065
Fix invalid link warnings in moved API documentation
Copilot 98c008d
Fix invalid link warnings in all 723 moved API documentation files
Copilot a635021
Fix invalid file links in moved unmanaged API documentation
Copilot 987c709
human edits
gewarren ad67a4c
more human edits
gewarren 2430742
more human edits
gewarren aa85d44
more human edits
gewarren b0895af
undo separate changes
gewarren 6bc9ea2
undo strong naming changes
gewarren b9f0e6f
resets for hosting
gewarren 80b88fa
reset index and toc for hosting
gewarren 0c4dcc1
reset hosting files
gewarren 7ee39f0
fix invalid links
gewarren e596d05
add redirects
gewarren d3201b5
final touchups
gewarren 98f9cee
fix build warnings
gewarren 22bfa4f
undo non-imetadata moves
gewarren 93d7f89
undo move of imetadata* apis
gewarren 005a38b
update TOCs, add imetadata interfaces index
gewarren a4207de
fix build errors
gewarren 84ef0bb
fix more build errors
gewarren 886363b
move more enums to .net core
gewarren e22cf15
build fixes
gewarren 98dde3f
more organization
gewarren 373c038
add redirects
gewarren 6b6c441
more fixes
gewarren e6ab459
more fixes
gewarren 79a1fc3
more fixes
gewarren 814fe4f
more fixes
gewarren 5e874b4
fix typo
gewarren 045111a
reset unrelated files
gewarren 3b7b7d0
respond to feedback
gewarren 505c80a
fix build warnings
gewarren File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- | ||
| description: "Learn more about unmanaged APIs for .NET" | ||
| title: .NET unmanaged API reference | ||
| ms.date: 09/19/2023 | ||
| --- | ||
| # .NET unmanaged API reference | ||
|
|
||
| This section includes information on unmanaged APIs that can be used by managed-code-related applications, such as runtime hosts, compilers, disassemblers, obfuscators, debuggers, and profilers. | ||
|
|
||
| These articles describe APIs that were introduced in .NET Core 2.0 and later versions, or APIs that can be used with both .NET Framework and .NET. | ||
|
|
||
| For .NET Framework-specific unmanaged APIs, see [.NET Framework unmanaged API reference](../../framework/unmanaged-api/index.md). | ||
|
|
||
| ## In this section | ||
|
|
||
| [Debugging](./debugging/index.md)\ | ||
| Describes the debugging API, which enables a debugger to debug code that runs in the common language runtime (CLR) environment. | ||
|
|
||
| [Metadata](./metadata/index.md)\ | ||
| Describes the metadata API, which enables a client such as a compiler to generate or access a component's metadata without the types being loaded by the CLR. | ||
|
|
||
| [Profiling](./profiling/index.md)\ | ||
| Describes the profiling API, which enables a profiler to monitor a program's execution by the CLR. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
docs/core/unmanaged-api/metadata/ceesectionattr-enumeration.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| --- | ||
| description: "Learn more about: CeeSectionAttr Enumeration" | ||
| title: "CeeSectionAttr Enumeration" | ||
| ms.date: "03/30/2017" | ||
| api_name: | ||
| - "CeeSectionAttr" | ||
| api_location: | ||
| - "mscoree.dll" | ||
| api_type: | ||
| - "COM" | ||
| f1_keywords: | ||
| - "CeeSectionAttr" | ||
| helpviewer_keywords: | ||
| - "CeeSectionAttr enumeration [.NET Framework metadata]" | ||
| topic_type: | ||
| - "apiref" | ||
| --- | ||
| # CeeSectionAttr Enumeration | ||
|
|
||
| Provides values that specify attributes of a section for use by the [ICeeGen](iceegen-interface.md) interface. | ||
|
|
||
| ## Syntax | ||
|
|
||
| ```cpp | ||
| typedef enum { | ||
| sdNone = 0, | ||
| sdReadOnly = IMAGE_SCN_CNT_INITIALIZED_DATA | | ||
| IMAGE_SCN_MEM_READ, | ||
| sdReadWrite = sdReadOnly | IMAGE_SCN_MEM_WRITE, | ||
| sdExecute = IMAGE_SCN_MEM_READ | IMAGE_SCN_CNT_CODE | | ||
| IMAGE_SCN_MEM_EXECUTE | ||
| } CeeSectionAttr; | ||
| ``` | ||
|
|
||
| ## Members | ||
|
|
||
| |Member|Description| | ||
| |------------|-----------------| | ||
| |`sdNone`|Section has no attributes.| | ||
| |`sdReadOnly`|Section contains initialized data that can be only read, not updated.| | ||
| |`sdReadWrite`|Section contains initialized data that can be read or updated.| | ||
| |`sdExecute`|Section contains executable code that is allowed to be read and executed.| | ||
|
|
||
| ## Requirements | ||
|
|
||
| **Platforms:** See [System Requirements](../../../framework/get-started/system-requirements.md). | ||
|
|
||
| **Header:** Cor.h | ||
|
|
||
| **Library:** Included as a resource in MsCorEE.dll | ||
|
|
||
| **.NET versions:** Available since .NET Framework 1.0 | ||
|
|
||
| ## See also | ||
|
|
||
| - [Metadata Enumerations](metadata-enumerations.md) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.