René's URL Explorer Experiment


Title: Compiler Options - code generation options - C# reference | Microsoft Learn

Open Graph Title: Compiler Options - code generation options - C# reference

Description: C# Compiler Options to control code generation. The options affect the code generated by the compiler for a given compilation.

Open Graph Description: C# Compiler Options to control code generation. The options affect the code generated by the compiler for a given compilation.

Opengraph URL: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation

X: @MicrosoftLearn

direct link

Domain: learn.microsoft.com

color-schemelight dark
twitter:cardsummary
og:typewebsite
og:image:altCompiler Options - code generation options - C# reference | Microsoft Learn
og:imagehttps://learn.microsoft.com/dotnet/media/logo_csharp.png
platform_idd06420e6-2db4-5bdc-bef5-c38d370e70a0
scope.NET
localeen-us
uhfHeaderIdMSDocsHeader-DotNetCSharp
page_typeconceptual
apiPlatformdotnet
authorBillWagner
breadcrumb_path/dotnet/breadcrumb/toc.json
feedback_systemOpenSource
feedback_product_urlhttps://aka.ms/feedback/report?space=61
ms.authorwiwagn
ms.devlangcsharp
ms.servicedotnet-csharp
ms.topiclanguage-reference
show_latextrue
ms.subservicelang-reference
ms.update-cycle1095-days
ms.date2021-03-12T00:00:00Z
document_id35131307-8d1c-2800-e84a-6179d740982f
document_version_independent_id7599b464-9928-88bc-fec1-704ce691b344
updated_at2026-06-14T16:54:00Z
original_content_git_urlhttps://github.com/dotnet/docs/blob/live/docs/csharp/language-reference/compiler-options/code-generation.md
gitcommithttps://github.com/dotnet/docs/blob/82ad3e72f0bf180cc5045c4d345129951d466b6f/docs/csharp/language-reference/compiler-options/code-generation.md
git_commit_id82ad3e72f0bf180cc5045c4d345129951d466b6f
site_nameDocs
depot_nameVS.core-docs
schemaConceptual
toc_rel../toc.json
pdf_url_templatehttps://learn.microsoft.com/pdfstore/en-us/VS.core-docs/{branchName}{pdfName}
search.mshattr.devlangcsharp
word_count1069
asset_idcsharp/language-reference/compiler-options/code-generation
item_typeContent
source_pathdocs/csharp/language-reference/compiler-options/code-generation.md
previous_tlsh_hashFA6171E1941DA322FF815D06284ABFD942F48D8D6AB42ED4053576B6880D2DBA875548EBE722E24D7B31538301D3B66F63DB9B3EC12CA365642A407C814D6213F70D3FB2F6
github_feedback_content_git_urlhttps://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-options/code-generation.md
markdown_urlhttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation?accept=text/markdown
cmProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/bcbcbad5-4208-4783-8035-8481272c98b8
spProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/43b2e5aa-8a6d-4de2-a252-692232e5edc8

Links:

Skip to main content https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation#main
Skip to Ask Learn chat experience https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation
Download Microsoft Edge https://go.microsoft.com/fwlink/p/?LinkID=2092881
More info about Internet Explorer and Microsoft Edge https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge
Read in English https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation
Edit https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-options/code-generation.md
signing inhttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation
Compiler optionshttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/#how-to-set-options
PdbFilehttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/advanced#pdbfile
Portable PDBhttps://github.com/dotnet/designs/blob/main/accepted/2020/diagnostics/portable-pdb.md
Portable PDBhttps://github.com/dotnet/designs/blob/main/accepted/2020/diagnostics/portable-pdb.md
Portable PDBhttps://github.com/dotnet/designs/blob/main/accepted/2020/diagnostics/portable-pdb.md
DebuggableAttributehttps://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggableattribute
DebuggableAttributehttps://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggableattribute
Making an Image Easier to Debughttps://learn.microsoft.com/en-us/dotnet/framework/debug-trace-profile/making-an-image-easier-to-debug
breaking change documentationhttps://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/debugsymbols
Debughttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation#debugtype
Module.ModuleVersionIdhttps://learn.microsoft.com/en-us/dotnet/api/system.reflection.module.moduleversionid
Source Linkhttps://github.com/dotnet/sourcelink
Reference assemblieshttps://learn.microsoft.com/en-us/dotnet/standard/assembly/reference-assemblies
ProduceReferenceAssemblyhttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/output#producereferenceassembly
our contributor guidehttps://learn.microsoft.com/contribute/content/dotnet/dotnet-contribute
Open a documentation issue https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation
Provide product feedback https://aka.ms/feedback/report?space=61
en-ushttps://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation
Your Privacy Choiceshttps://aka.ms/yourcaliforniaprivacychoices
AI Disclaimerhttps://learn.microsoft.com/en-us/principles-for-ai-generated-content
Previous Versionshttps://learn.microsoft.com/en-us/previous-versions/
Bloghttps://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog
Contributehttps://learn.microsoft.com/en-us/contribute
Privacyhttps://go.microsoft.com/fwlink/?LinkId=521839
Consumer Health Privacyhttps://go.microsoft.com/fwlink/?linkid=2259814
Terms of Usehttps://learn.microsoft.com/en-us/legal/termsofuse
Trademarkshttps://www.microsoft.com/legal/intellectualproperty/Trademarks/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.