CINXE.COM

Supported Code Changes (C# and Visual Basic) - Visual Studio (Windows) | Microsoft Learn

<!DOCTYPE html><html class="hasSidebar hasPageActions hasBreadcrumb conceptual has-default-focus theme-light" lang="en-us" dir="ltr" data-authenticated="false" data-auth-status-determined="false" data-target="docs" x-ms-format-detection="none"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta property="og:title" content="Supported Code Changes (C# and Visual Basic) - Visual Studio (Windows)" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://learn.microsoft.com/en-us/visualstudio/debugger/supported-code-changes-csharp?view=vs-2022" /><meta property="og:description" content="Understand what code changes are supported when you're using the Edit and Continue feature while debugging a C# or Visual Basic project in Visual Studio." /><meta property="og:image" content="https://learn.microsoft.com/en-us/media/open-graph-image.png" /> <meta property="og:image:alt" content="Microsoft Learn" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@MicrosoftLearn" /> <meta name="color-scheme" content="light dark"><meta name="archive_url" content="/previous-versions/visualstudio" /> <meta name="audience" content="developer" /> <meta name="author" content="Mikejo5000" /> <meta name="breadcrumb_path" content="/visualstudio/_breadcrumb/toc.json" /> <meta name="default_moniker" content="vs-2022" /> <meta name="depot_name" content="VS.docs" /> <meta name="description" content="Understand what code changes are supported when you're using the Edit and Continue feature while debugging a C# or Visual Basic project in Visual Studio." /> <meta name="document_id" content="fd0b8848-c2af-28e9-28bf-761d1cdf3d6d" /> <meta name="document_version_independent_id" content="7cc1bef7-ef0c-5c62-2b5f-45910764ba80" /> <meta name="exclude_monikers" content="vs-2017" /> <meta name="feedback_help_link_type" content="ask-the-community" /> <meta name="feedback_help_link_url" content="https://developercommunity.microsoft.com/VisualStudio" /> <meta name="feedback_product_url" content="https://developercommunity.visualstudio.com/VisualStudio/suggest" /> <meta name="feedback_system" content="Standard" /> <meta name="git_commit_id" content="705d3b200e68e87d1070696cb6f483462c7be3e2" /> <meta name="gitcommit" content="https://github.com/MicrosoftDocs/visualstudio-docs-pr/blob/705d3b200e68e87d1070696cb6f483462c7be3e2/docs/debugger/supported-code-changes-csharp.md" /> <meta name="locale" content="en-us" /> <meta name="manager" content="mijacobs" /> <meta name="monikers" content="vs-2019" /> <meta name="monikers" content="vs-2022" /> <meta name="ms.author" content="mikejo" /> <meta name="ms.date" content="12/12/2023" /> <meta name="ms.service" content="visual-studio-windows" /> <meta name="ms.subservice" content="debug-diagnostics" /> <meta name="ms.topic" content="conceptual" /> <meta name="original_content_git_url" content="https://github.com/MicrosoftDocs/visualstudio-docs-pr/blob/live/docs/debugger/supported-code-changes-csharp.md" /> <meta name="page_type" content="conceptual" /> <meta name="pdf_url_template" content="https://learn.microsoft.com/pdfstore/en-us/VS.docs/{branchName}{pdfName}" /> <meta name="recommendations" content="true" /> <meta name="schema" content="Conceptual" /> <meta name="search.mshattr.devlang" content="csharp vb fsharp" /> <meta name="site_name" content="Docs" /> <meta name="toc_preview" content="true" /> <meta name="toc_rel" content="toc.json" /> <meta name="uhfHeaderId" content="MSDocsHeader-VisualStudio" /> <meta name="updated_at" content="2024-03-11 05:04 PM" /> <meta name="word_count" content="1118" /> <meta name="persistent_id" content="e90a7db8-ebcd-18f6-5f80-cb7d10ebe15f" /> <meta name="cmProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/8b896464-3b7d-4e1f-84b0-9bb45aeb5f64" data-source="generated" /> <meta name="cmProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/4628cbd9-6f47-4ae1-b371-d34636609eaf" data-source="generated" /> <meta name="cmProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/7696cda6-0510-47f6-8302-71bb5d2e28cf" data-source="generated" /> <meta name="spProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/b1d2d671-9549-46e8-918c-24349120dbf5" data-source="generated" /> <meta name="spProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/be21deb8-8c64-44b0-b71f-2dc56ca7364f" data-source="generated" /> <meta name="spProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/69c76c32-967e-4c65-b89a-74cc527db725" data-source="generated" /> <meta name="scope" content="VS IDE" /><meta name="github_feedback_content_git_url" content="https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/debugger/supported-code-changes-csharp.md" /><link href="https://learn.microsoft.com/en-us/visualstudio/debugger/supported-code-changes-csharp?view=vs-2022" rel="canonical"><title>Supported Code Changes (C# and Visual Basic) - Visual Studio (Windows) | Microsoft Learn</title><link rel="stylesheet" href="/static/assets/0.4.028726178/styles/site-ltr.css"> <script id="msdocs-script"> var msDocs = {environment: { supportLevel: 'production', accessLevel: 'online', reviewFeatures: false, systemContent: true, azurePortalHostname: 'portal.azure.com', legacyHosting: false, siteName: 'learn', },data: { timeOrigin: Date.now(), contentLocale: 'en-us', contentDir: 'ltr', userLocale: 'en-us', userDir: 'ltr', pageTemplate: 'Conceptual', brand: '', context: {}, hasBinaryRating: true, feedbackHelpLinkType:'ask-the-community', feedbackHelpLinkUrl:'https://developercommunity.microsoft.com/VisualStudio', standardFeedback: true, showFeedbackReport: false, enableTutorialFeedback: false, feedbackSystem: 'Standard', feedbackGitHubRepo: '', feedbackProductUrl: 'https://developercommunity.visualstudio.com/VisualStudio/suggest',defaultDevLang: 'csharp',extendBreadcrumb: false,isEditDisplayable: true, hideViewSource: false, hasPageActions: true, hasPrintButton: true, hasBookmark: true, hasShare: true, isPermissioned: false, isPrivateUnauthorized: false,hasRecommendations: true,contributors: [{ name: "Mikejo5000", url: "https://github.com/Mikejo5000" },{ name: "ghogen", url: "https://github.com/ghogen" },{ name: "v-regandowner", url: "https://github.com/v-regandowner" },{ name: "mohitp930", url: "https://github.com/mohitp930" },{ name: "GitHubber17", url: "https://github.com/GitHubber17" },{ name: "Saisang", url: "https://github.com/Saisang" },{ name: "pranavkm", url: "https://github.com/pranavkm" },{ name: "DamianEdwards", url: "https://github.com/DamianEdwards" },{ name: "DennisLee-DennisLee", url: "https://github.com/DennisLee-DennisLee" },{ name: "johnallers", url: "https://github.com/johnallers" },{ name: "nxtn", url: "https://github.com/nxtn" },{ name: "nschonni", url: "https://github.com/nschonni" },{ name: "gewarren", url: "https://github.com/gewarren" }],}, functions:{} }; </script><script src="https://wcpstatic.microsoft.com/mscc/lib/v2/wcp-consent.js"></script> <script src="https://js.monitor.azure.com/scripts/c/ms.jsll-4.min.js"></script><script src="/static/assets/0.4.028726178/global/deprecation.js"></script><script src="/static/assets/0.4.028726178/scripts/en-us/index-docs.js"></script></head> <body lang="en-us" dir="ltr"> <div class="header-holder has-default-focus"> <a href="#main" style="z-index: 1070" class="outline-color-text visually-hidden-until-focused position-fixed inner-focus focus-visible top-0 left-0 right-0 padding-xs text-align-center has-body-background" tabindex="1">Skip to main content</a><div hidden id="cookie-consent-holder" data-test-id="cookie-consent-container"></div> <div id="unsupported-browser" style=" background-color: white; color: black; padding: 16px; border-bottom: 1px solid grey;" hidden > <div style="max-width: 800px; margin: 0 auto;"> <p style="font-size: 24px">This browser is no longer supported.</p> <p style="font-size: 16px; margin-top: 16px;">Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.</p> <div style="margin-top: 12px;"> <a href="https://go.microsoft.com/fwlink/p/?LinkID=2092881 " style=" background-color: #0078d4; border: 1px solid #0078d4; color: white; padding: 6px 12px; border-radius: 2px; display: inline-block; ">Download Microsoft Edge</a> <a href="https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge" style=" background-color: white; padding: 6px 12px; border: 1px solid #505050; color: #171717; border-radius: 2px; display: inline-block; ">More info about Internet Explorer and Microsoft Edge</a> </div> </div> </div> <!-- liquid-tag banners global --> <!-- site header --> <header id="ms--site-header" data-test-id="site-header-wrapper" role="banner" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div id="ms--mobile-nav" class="site-header display-none-tablet padding-inline-none gap-none" data-bi-name="mobile-header" data-test-id="mobile-header"></div> <div id="ms--primary-nav" class="site-header display-none display-flex-tablet" data-bi-name="L1-header" data-test-id="primary-header"></div> <div id="ms--secondary-nav" class="site-header display-none display-flex-tablet" data-bi-name="L2-header" data-test-id="secondary-header"></div> </header><div id="content-header" class="content-header uhf-container has-padding has-default-focus border-bottom-none" data-bi-name="content-header"> <div class="content-header-controls margin-xxs margin-inline-sm-tablet"> <button type="button" class="contents-button button button-sm margin-right-xxs" data-bi-name="contents-expand" aria-haspopup="true" data-contents-button> <span class="icon"><span class="docon docon-menu" aria-hidden="true"></span></span> <span class="contents-expand-title">Table of contents</span> </button> <button type="button" class="ap-collapse-behavior ap-expanded button button-sm" data-bi-name="ap-collapse" aria-controls="action-panel"> <span class="icon"><span class="docon docon-exit-mode" aria-hidden="true"></span></span> <span>Exit focus mode</span> </button> </div> </div><div id="disclaimer-holder" class="has-overflow-hidden has-default-focus"> <!-- liquid-tag banners sectional --> </div> </div> <div class="mainContainer uhf-container has-default-focus" data-bi-name="body"> <div class="columns has-large-gaps is-gapless-mobile "><div id="left-container" class="left-container is-hidden-mobile column is-one-third-tablet is-one-quarter-desktop"> <nav id="affixed-left-container" class="margin-top-sm-tablet position-sticky display-flex flex-direction-column" aria-label="Primary"></nav> </div><!-- .primary-holder --> <section class="primary-holder column is-two-thirds-tablet is-three-quarters-desktop"> <!--div.columns --> <div class="columns is-gapless-mobile has-large-gaps "><div id="main-column" class="column is-full is-8-desktop"> <main id="main" class="" role="main" data-bi-name="content" lang="en-us" dir="ltr"><!-- article-header --> <div id="article-header" class="background-color-body margin-top-sm-tablet margin-bottom-xs display-none-print"> <div class="display-flex align-items-center "><details id="article-header-breadcrumbs-overflow-popover" class="popover" data-for="article-header-breadcrumbs"> <summary class="button button-clear button-primary button-sm inner-focus" aria-label="All breadcrumbs"> <span class="icon"> <span class="docon docon-more"></span> </span> </summary> <div id="article-header-breadcrumbs-overflow" class="popover-content padding-none"> </div> </details> <bread-crumbs id="article-header-breadcrumbs" data-test-id="article-header-breadcrumbs" class="overflow-hidden flex-grow-1 margin-right-sm margin-right-md-tablet margin-right-lg-desktop margin-left-negative-xxs padding-left-xxs"></bread-crumbs><div id="article-header-page-actions" class="opacity-none margin-left-auto display-flex flex-wrap-no-wrap align-items-stretch"><div class="language dropdown display-flex align-items-center"> <button class="dropdown-trigger button button-clear button-sm button-primary" aria-controls="language-menu" aria-expanded="false" title="Language" data-bi-name="language"> <span class="lang-title align-self-flex-start" dir="ltr">Language</span> <span class="icon" aria-hidden="true"> <span class="docon docon-chevron-down-light expanded-indicator"></span> </span> </button> <div class="dropdown-menu padding-xxs language-selector" name="language-selector" role="menu"> <ul data-bi-name="language-links" dir="ltr"><li> <a class="button button-clear button-sm button-block" data-bi-name="lang-csharp" tabindex="0" aria-selected="false"></a> </li><li> <a class="button button-clear button-sm button-block" data-bi-name="lang-vb" tabindex="0" aria-selected="false"></a> </li><li> <a class="button button-clear button-sm button-block" data-bi-name="lang-fsharp" tabindex="0" aria-selected="false"></a> </li></ul> </div> </div><a id="lang-link-tablet" class="button button-primary button-clear button-sm display-none display-inline-flex-tablet" title="Read in English" data-bi-name="language-toggle" data-read-in-link hidden> <span class="icon margin-none" aria-hidden="true" data-read-in-link-icon> <span class="docon docon-locale-globe"></span> </span> <span class="is-visually-hidden" data-read-in-link-text>Read in English</span> </a><button type="button" class="collection button button-clear button-sm button-primary display-none display-inline-flex-tablet" data-list-type="collection" data-bi-name="collection" title="Add to collection"> <span class="icon margin-none" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="collection-status is-visually-hidden">Save</span> </button><a data-contenteditbtn class="button button-clear button-sm text-decoration-none button-primary display-none display-inline-flex-tablet" aria-label="Edit" title="Edit This Document" data-bi-name="edit" href="https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/debugger/supported-code-changes-csharp.md" data-original_content_git_url="https://github.com/MicrosoftDocs/visualstudio-docs-pr/blob/live/docs/debugger/supported-code-changes-csharp.md" data-original_content_git_url_template="{repo}/blob/{branch}/docs/debugger/supported-code-changes-csharp.md" data-pr_repo="" data-pr_branch=""> <span class="icon margin-none" aria-hidden="true"> <span class="docon docon-edit-outline"></span> </span> </a> <details class="popover popover-right" id="article-header-page-actions-overflow"> <summary class="justify-content-flex-start button button-clear button-sm button-primary" aria-label="More actions" title="More actions"> <span class="icon" aria-hidden="true"> <span class="docon docon-more-vertical"></span> </span> </summary> <div class="popover-content padding-xs"><button data-page-action-item="overflow-mobile" type="button" class="justify-content-flex-start button-block button-sm has-inner-focus button button-clear display-none-tablet" data-bi-name="contents-expand" data-contents-button data-popover-close> <span class="icon"> <span class="docon docon-editor-list-bullet" aria-hidden="true"></span> </span><span class="contents-expand-title">Table of contents</span></button><a id="lang-link-overflow" class="justify-content-flex-start button-sm has-inner-focus button button-clear button-block display-none-tablet" title="Read in English" data-bi-name="language-toggle" data-page-action-item="overflow-mobile" data-check-hidden="true" data-read-in-link hidden > <span class="icon" aria-hidden="true" data-read-in-link-icon> <span class="docon docon-locale-globe"></span> </span> <span data-read-in-link-text>Read in English</span> </a><button type="button" class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet" data-list-type="collection" data-bi-name="collection" title="Save" data-page-action-item="overflow-mobile" data-check-hidden="true" data-popover-close> <span class="icon" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="collection-status">Save</span> </button> <button type="button" class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet" data-list-type="plan" data-bi-name="plan" title="Add to Plan" data-page-action-item="overflow-mobile" data-check-hidden="true" data-popover-close hidden> <span class="icon" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="plan-status">Add to Plan</span> </button><a data-contenteditbtn class="button button-clear button-block button-sm has-inner-focus justify-content-flex-start text-decoration-none display-none-tablet" aria-label="Edit" title="Edit This Document" data-bi-name="edit" href="https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/debugger/supported-code-changes-csharp.md" data-original_content_git_url="https://github.com/MicrosoftDocs/visualstudio-docs-pr/blob/live/docs/debugger/supported-code-changes-csharp.md" data-original_content_git_url_template="{repo}/blob/{branch}/docs/debugger/supported-code-changes-csharp.md" data-pr_repo="" data-pr_branch=""> <span class="icon" aria-hidden="true"> <span class="docon docon-edit-outline"></span> </span> <span>Edit</span> </a><div aria-hidden="true" class="margin-none" data-page-action-item="overflow-all"></div> <hr class="display-none-tablet margin-bottom-xxs margin-top-xxs" /> <h4 class="font-size-sm padding-left-xxs">Share via</h4> <a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start share-facebook" data-bi-name="facebook" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-facebook-share font-size-md color-primary"></span> </span> <span class="margin-left-xxs">Facebook</span> </a> <a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-twitter" data-bi-name="twitter" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-xlogo-share font-size-xxs"></span> </span> <span class="margin-left-xxs">x.com</span> </a> <a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-linkedin" data-bi-name="linkedin" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-linked-in-logo font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">LinkedIn</span> </a> <a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start margin-bottom-xxs share-email" data-bi-name="email" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-mail-message font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">Email</span> </a><hr /> <button class="button button-block button-clear button-sm justify-content-flex-start has-inner-focus margin-top-xxs" title="Print" type="button" aria-label="Print" data-bi-name="print" data-page-action-item="overflow-all" data-popover-close data-print-page data-check-hidden="true"> <span class="icon" aria-hidden="true"> <span class="docon docon-print font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">Print</span> </button> </div> </details> </div></div> </div> <!-- end article-header --><div> <button type="button" class="border contents-button button button-clear button-sm is-hidden-tablet has-inner-focus" data-bi-name="contents-expand" data-contents-button hidden> <span class="icon"> <span class="docon docon-editor-list-bullet" aria-hidden="true"></span> </span><span class="contents-expand-title">Table of contents</span></button> </div><!-- end mobile-contents button --> <div class="content "><h1 id="supported-code-changes-c-and-visual-basic">Supported code changes (C# and Visual Basic)</h1><div class="display-flex justify-content-space-between align-items-center flex-wrap-wrap page-metadata-container"> <div class="margin-right-xxs"> <ul class="metadata page-metadata" data-bi-name="page info" lang="en-us" dir="ltr"><li>Article</li><li class="visibility-hidden-visual-diff"><time class="is-invisible" data-article-date aria-label="Article review date" datetime="2023-12-14T00:04:00Z" data-article-date-source="calculated">12/14/2023</time> </li><li class="contributors-holder display-none-print"> <button aria-label="View all contributors" class="contributors-button link-button" data-bi-name="contributors" title="View all contributors">13 contributors</button> </li></ul> </div> <div id="user-feedback" class="margin-block-xxs display-none-print" data-hide-on-archived> <button id="user-feedback-button" data-test-id="conceptual-feedback-button" class="button button-sm button-clear button-primary" type="button" data-bi-name="user-feedback-button" data-user-feedback-button > <span class="icon" aria-hidden="true"> <span class="docon docon-like"></span> </span> <span>Feedback</span> </button> </div></div><nav id="center-doc-outline" class="doc-outline is-hidden-desktop display-none-print margin-bottom-sm" data-bi-name="intopic toc" aria-label="In this article"> <h2 id="ms--in-this-article" class="title is-6 margin-block-xs">In this article</h2> </nav><!-- <content> --><div data-moniker="vs-2022"> <p>The Hot Reload mechanism, previously called Edit and Continue, handles most types of code changes within method bodies. Most changes outside method bodies, and a few changes within method bodies, can't be applied during debugging, however. To apply those unsupported changes, you must stop debugging and restart with a fresh version of the code.</p> </div> <div data-moniker="vs-2019"> <p>The Edit and Continue mechanism handles most types of code changes within method bodies. Most changes outside method bodies, and a few changes within method bodies, can't be applied during debugging, however. To apply those unsupported changes, you must stop debugging and restart with a fresh version of the code.</p> </div> <h2 id="supported-changes-to-code">Supported changes to code</h2> <p>The following table shows the changes that might be made to C# and Visual Basic code during a debugging session without restarting the session.</p> <div data-moniker="vs-2022"> <table> <thead> <tr> <th>Language element or feature</th> <th>Supported edit operation</th> <th>Limitations</th> </tr> </thead> <tbody> <tr> <td>Types</td> <td>Add methods, fields, constructors, and more</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> <tr> <td>Iterators</td> <td>Add or modify</td> <td>No</td> </tr> <tr> <td>async/await expressions</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> <tr> <td>Dynamic objects</td> <td>Add or modify</td> <td>No</td> </tr> <tr> <td>lambda expressions</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> <tr> <td>LINQ expressions</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Same as lambda expressions</a></td> </tr> <tr> <td>Generics</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> </tbody> </table> </div> <div data-moniker="vs-2019"> <table> <thead> <tr> <th>Language element or feature</th> <th>Supported edit operation</th> <th>Limitations</th> </tr> </thead> <tbody> <tr> <td>Types</td> <td>Add methods, fields, constructors, and more</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> <tr> <td>Iterators</td> <td>Add or modify</td> <td>No</td> </tr> <tr> <td>async/await expressions</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> <tr> <td>Dynamic objects</td> <td>Add or modify</td> <td>No</td> </tr> <tr> <td>lambda expressions</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Yes</a></td> </tr> <tr> <td>LINQ expressions</td> <td>Add or modify</td> <td><a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Same as lambda expressions</a></td> </tr> </tbody> </table> </div> <div class="NOTE"> <p>Note</p> <p>Newer language features such as string interpolation and null-conditional operators are generally supported by Edit and Continue. For the most current information, see the <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Enc Supported Edits</a> page.</p> </div> <div data-moniker="vs-2022"> <h2 id="net-6-improvements">.NET 6+ improvements</h2> <p>Improvements in .NET 6+ and Visual Studio 2022 and later versions include support for more types of edits that go beyond what was originally possible in older versions of Visual Studio. These improvements are available to both Hot Reload and the Edit and Continue experiences.</p> <p>The .NET 6+ Hot Reload experience is powered by the <a href="edit-and-continue-visual-csharp?view=vs-2022" data-linktype="relative-path">Edit and Continue</a> mechanism and Roslyn. <a href="https://github.com/dotnet/roslyn/blob/main/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">Supported Edits</a> lists the types of edits currently supported by Roslyn and potential future enhancements.</p> </div> <h2 id="unsupported-changes-to-code">Unsupported changes to code</h2> <p>The following changes can't be applied to C# and Visual Basic code during a debugging session.</p> <ul> <li><p>Changes to the current statement or any other active statement.</p> <p>An active statement is any statement in a function on the call stack that was called to get to the current statement.</p> <p>The current statement appears on a yellow background in the source window. Other active statements appear on a shaded background and are read-only. These default colors can be changed in the <strong>Options</strong> dialog box.</p> </li> <li><p>Any unsupported changes to code by language element as outlined in the following table.</p> <div data-moniker="vs-2022"> <table> <thead> <tr> <th>Language element or feature</th> <th>Unsupported edit operation</th> </tr> </thead> <tbody> <tr> <td>All code elements</td> <td>Renaming</td> </tr> <tr> <td>Namespaces</td> <td>Add</td> </tr> <tr> <td>Namespaces, types, members</td> <td>Delete</td> </tr> <tr> <td>Interfaces</td> <td>Modify</td> </tr> <tr> <td>Types</td> <td>Add abstract or virtual member, add override (see <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">details</a>)</td> </tr> <tr> <td>Types</td> <td>Add destructor</td> </tr> <tr> <td>Members</td> <td>- Modify a member referencing an embedded interop type <br> - Modify a static member after it has already been accessed by executing code</td> </tr> <tr> <td>Members (Visual Basic)</td> <td>- Modify a member with On Error or Resume statement <br> - Modify a member containing an Aggregate, Group By, Simple Join, or Group Join LINQ query clause</td> </tr> <tr> <td>Methods</td> <td>- Modify signatures <br> - Make an abstract method become nonabstract by adding a method body <br> - Delete method body</td> </tr> <tr> <td>Attributes</td> <td>Add or modify</td> </tr> <tr> <td>Events or properties</td> <td>Modify a type parameter, base type, delegate type, or return type</td> </tr> <tr> <td>Operators or indexers</td> <td>Modify a type parameter, base type, delegate type, or return type</td> </tr> <tr> <td>catch blocks</td> <td>Modify when it contains an active statement</td> </tr> <tr> <td>try-catch-finally blocks</td> <td>Modify when it contains an active statement</td> </tr> <tr> <td>using statements</td> <td>Add</td> </tr> <tr> <td>async methods/lambdas</td> <td>Modify an async method/lambda in a project targeting .NET Framework 4 and lower (see <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">details</a>)</td> </tr> <tr> <td>Iterators</td> <td>Modify an iterator in a project targeting .NET Framework 4 and earlier (see <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">details</a>)</td> </tr> </tbody> </table> </div> <div data-moniker="vs-2019"> <table> <thead> <tr> <th>Language element or feature</th> <th>Unsupported edit operation</th> </tr> </thead> <tbody> <tr> <td>All code elements</td> <td>Renaming</td> </tr> <tr> <td>Namespaces</td> <td>Add</td> </tr> <tr> <td>Namespaces, types, members</td> <td>Delete</td> </tr> <tr> <td>Generics</td> <td>Add or modify</td> </tr> <tr> <td>Interfaces</td> <td>Modify</td> </tr> <tr> <td>Types</td> <td>Add abstract or virtual member, add override (see <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">details</a>)</td> </tr> <tr> <td>Types</td> <td>Add destructor</td> </tr> <tr> <td>Members</td> <td>- Modify a member referencing an embedded interop type <br> - Modify a static member after it has already been accessed by executing code</td> </tr> <tr> <td>Members (Visual Basic)</td> <td>- Modify a member with On Error or Resume statement <br> - Modify a member containing an Aggregate, Group By, Simple Join, or Group Join LINQ query clause</td> </tr> <tr> <td>Methods</td> <td>- Modify signatures <br> - Make an abstract method become nonabstract by adding a method body <br> - Delete method body</td> </tr> <tr> <td>Attributes</td> <td>Add or modify</td> </tr> <tr> <td>Events or properties</td> <td>Modify a type parameter, base type, delegate type, or return type</td> </tr> <tr> <td>Operators or indexers</td> <td>Modify a type parameter, base type, delegate type, or return type</td> </tr> <tr> <td>catch blocks</td> <td>Modify when it contains an active statement</td> </tr> <tr> <td>try-catch-finally blocks</td> <td>Modify when it contains an active statement</td> </tr> <tr> <td>using statements</td> <td>Add</td> </tr> <tr> <td>async methods/lambdas</td> <td>Modify an async method/lambda in a project targeting .NET Framework 4 and lower (see <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">details</a>)</td> </tr> <tr> <td>Iterators</td> <td>Modify an iterator in a project targeting .NET Framework 4 and earlier (see <a href="https://github.com/dotnet/roslyn/blob/master/docs/wiki/EnC-Supported-Edits.md" data-linktype="external">details</a>)</td> </tr> </tbody> </table> </div> </li> </ul> <h2 id="unsafe-code">Unsafe code</h2> <p>Changes to unsafe code have the same limitations as changes to safe code, with one extra restriction: Edit and Continue doesn't support changes to unsafe code that exits within a method that contains the <code>stackalloc</code> operator.</p> <h2 id="application-support">Application support</h2> <p>Supported applications include:</p> <ul> <li>UWP apps in Windows 10 or Windows 11</li> <li>x86 and x64 apps that target the .NET Framework 4.6 desktop or later versions (the .NET Framework is a desktop version only)</li> </ul> <p>For .NET 6 and later, editing is supported for the following file types:</p> <ul> <li>.cshtml</li> <li>.razor</li> </ul> <h3 id="unsupported-apps-platforms-and-operations">Unsupported apps, platforms, and operations</h3> <p>Unsupported applications or platforms include:</p> <ul> <li>F#</li> <li>.NET Native</li> <li>Silverlight 5</li> <li>Windows 8.1</li> <li>Xamarin.Forms (iOS and Android)</li> </ul> <p>For ASP.NET and ASP.NET Core, editing isn't supported for the following file types:</p> <div data-moniker="vs-2022"> <ul> <li>.aspx</li> <li>.ascx</li> </ul> </div> <div data-moniker="vs-2019"> <ul> <li>.aspx</li> <li>.ascx</li> <li>.cshtml</li> <li>.razor</li> </ul> </div> <h2 id="unsupported-scenarios">Unsupported scenarios</h2> <p>Edit and Continue isn't available in the following debugging scenarios:</p> <ul> <li><p>Mixed-mode (native/managed) debugging.</p> </li> <li><p>Debugging on Arm64 without targeting .NET 7 or later.</p> </li> <li><p>Debugging with the <strong>COR_ENABLE_PROFILING</strong> environment variable set.</p> </li> <li><p>Debugging an application using attach to process (<strong>Debug &gt; Attach to Process</strong>) instead of running the application by choosing <strong>Start</strong> from the <strong>Debug</strong> menu. If you wish to use Edit and Continue when attaching to a process, the <strong>COMPLUS_ForceENC</strong> environment variable must be set prior to launching the process (<code>set COMPLUS_ForceENC=1</code>).</p> </li> <li><p>Debugging with nondeterministic (for example, time based) assembly versions. If you wish to use Edit and Continue, consider setting the version only in Release (or CI) builds and keep the version in Debug builds constant.</p> </li> <li><p>Debugging optimized code.</p> </li> <li><p>SQL debugging.</p> </li> <li><p>Debugging a dump file.</p> </li> <li><p>Debugging an embedded runtime application.</p> </li> <li><p>Debugging an old version of your code after a new version failed to build because of build errors.</p> </li> </ul> <h2 id="related-content">Related content</h2> <ul> <li><a href="edit-and-continue-visual-csharp?view=vs-2022" data-linktype="relative-path">Edit and Continue (Visual C#)</a></li> <li><a href="how-to-use-edit-and-continue-csharp?view=vs-2022" data-linktype="relative-path">How to: Use Edit and Continue (C#)</a></li> </ul> </div><div id="ms--inline-notifications" class="margin-block-xs" data-bi-name="inline-notification"></div><div id="assertive-live-region" role="alert" aria-live="assertive" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div> <div id="polite-live-region" role="status" aria-live="polite" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div> <!-- </content> --> </main><!-- recommendations section --><!-- end recommendations section --> <!-- feedback section --><section id="site-user-feedback-footer" class="font-size-sm margin-top-md" data-test-id="site-user-feedback-footer" data-bi-name="site-feedback-section"> <hr class="hr" /> <h2 id="feedback" class="title is-3">Feedback</h2> <div class="display-flex flex-wrap-wrap align-items-center"> <p class="font-weight-semibold margin-xxs margin-left-none">Was this page helpful?</p> <div class="buttons"> <button class="thumb-rating-button like button button-primary button-sm" data-test-id="footer-rating-yes" data-binary-rating-response="rating-yes" type="button" title="This article is helpful" data-bi-name="button-rating-yes" aria-pressed="false" > <span class="icon" aria-hidden="true"> <span class="docon docon-like"></span> </span> <span>Yes</span> </button> <button class="thumb-rating-button dislike button button-primary button-sm" data-test-id="footer-rating-no" data-binary-rating-response="rating-no" type="button" title="This article is not helpful" data-bi-name="button-rating-no" aria-pressed="false" > <span class="icon" aria-hidden="true"> <span class="docon docon-dislike"></span> </span> <span>No</span> </button> </div> </div><div class="display-flex flex-wrap-wrap margin-top-xxs"><div> <a data-bi-name="provide-feedback-cta" class="has-external-link-indicator" href="https://developercommunity.visualstudio.com/VisualStudio/suggest" data-bi-name="product-feedback" > <span>Provide product feedback</span> </a><span class="margin-inline-xxs" aria-hidden="true">|</span></div><a href="https://developercommunity.microsoft.com/VisualStudio" class="has-external-link-indicator" data-bi-name="ask-the-community"> <span>Ask the community</span> </a></div> </section><!-- end feedback section --> <!-- feedback report section --><!-- end feedback report section --><aside id="ms--additional-resources-mobile" aria-label="Additional resources" class="display-none-desktop display-none-print" > <hr class="hr" hidden /> <h2 id="ms--additional-resources-mobile-heading" class="title is-3" hidden>Additional resources</h2> <section id="right-rail-recommendations-mobile" data-bi-name="recommendations" hidden></section> <section id="right-rail-training-mobile" data-bi-name="learning-resources-card" hidden></section> <section id="right-rail-events-mobile" data-bi-name="events-card" hidden></section> <section id="right-rail-qna-mobile" data-bi-name="qna-link-card" hidden></section> </aside><div class="border-top is-visible-interactive has-default-focus margin-top-sm "><footer id="footer-interactive" data-bi-name="footer" class="footer-layout"><div class="display-flex gap-xs flex-wrap-wrap is-full-height padding-right-lg-desktop"><a data-mscc-ic="false" class="locale-selector-link button button-sm button-clear flex-shrink-0" href="#" data-bi-name="select-locale"> <span class="icon" aria-hidden="true"> <span class="docon docon-world"></span> </span> <span class="local-selector-link-text"></span></a><div class="ccpa-privacy-link" data-ccpa-privacy-link hidden> <a href="https://aka.ms/yourcaliforniaprivacychoices" class="button button-sm button-clear flex-shrink-0" data-mscc-ic="false" data-bi-name="your-privacy-choices" > <svg role="img" aria-label="California Consumer Privacy Act (CCPA) Opt-Out Icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" height="16" width="43" focusable="false" > <title>California Consumer Privacy Act (CCPA) Opt-Out Icon</title> <path d="M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"></path> <path d="M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#06f"></path> <path d="M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z" style="fill:#fff"></path> <path d="M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z" style="fill:#06f"></path> </svg> <span>Your Privacy Choices</span> </a> </div> <div class="flex-shrink-0"> <div class="dropdown has-caret-up"> <button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu-interactive" aria-expanded="false" title="Theme" data-bi-name="theme"> <span class="icon"> <span class="docon docon-sun" aria-hidden="true"></span> </span> <span>Theme</span> <span class="icon expanded-indicator" aria-hidden="true"> <span class="docon docon-chevron-down-light"></span> </span> </button> <div class="dropdown-menu" id="theme-menu-interactive" role="menu"> <ul class="theme-selector padding-xxs" role="none"> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="light"> <span class="theme-light margin-right-xxs"> <span class="theme-selector-icon border display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Light</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="dark"> <span class="theme-dark margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Dark</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="high-contrast"> <span class="theme-high-contrast margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>High contrast</span> </button> </li> </ul> </div> </div> </div> </div> <ul class="links" data-bi-name="footerlinks"> <li class="manage-cookies-holder" hidden></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://www.microsoft.com/legal/intellectualproperty/Trademarks/" data-bi-name="trademarks">Trademarks</a></li><li>&copy; Microsoft 2024</li> </ul> </footer></div></div><div id="ms--additional-resources" class="right-container column is-4-desktop display-none display-block-desktop" data-bi-name="pageactions" role="complementary" aria-label="Additional resources" > <div id="affixed-right-container" class="margin-top-sm-tablet" data-bi-name="right-column"> <h2 id="ms--additional-resources-heading" class="title is-6 margin-top-md" hidden>Additional resources</h2> <section id="right-rail-events" data-bi-name="events-card" hidden></section> <section id="right-rail-training" data-bi-name="learning-resources-card" hidden></section> <section id="right-rail-recommendations" data-bi-name="recommendations" hidden></section> <nav id="side-doc-outline" class="doc-outline" data-bi-name="intopic toc" aria-label="In this article"> <h3>In this article</h3> </nav> <section id="right-rail-qna" class="margin-top-xxs" data-bi-name="qna-link-card" hidden></section> </div> </div></div> <!--end of div.columns --> </section> <!--end of .primary-holder --> <!-- interactive container --> <aside id="interactive-container" class="interactive-container is-visible-interactive column has-body-background-dark "> </aside> <!-- end of interactive container --> </div> </div> <!--end of .mainContainer --> <section class="border-top has-default-focus is-hidden-interactive margin-top-sm "><footer id="footer" data-bi-name="footer" class="footer-layout uhf-container has-padding" role="contentinfo"><div class="display-flex gap-xs flex-wrap-wrap is-full-height padding-right-lg-desktop"><a data-mscc-ic="false" class="locale-selector-link button button-sm button-clear flex-shrink-0" href="#" data-bi-name="select-locale"> <span class="icon" aria-hidden="true"> <span class="docon docon-world"></span> </span> <span class="local-selector-link-text"></span></a><div class="ccpa-privacy-link" data-ccpa-privacy-link hidden> <a href="https://aka.ms/yourcaliforniaprivacychoices" class="button button-sm button-clear flex-shrink-0" data-mscc-ic="false" data-bi-name="your-privacy-choices" > <svg role="img" aria-label="California Consumer Privacy Act (CCPA) Opt-Out Icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" height="16" width="43" focusable="false" > <title>California Consumer Privacy Act (CCPA) Opt-Out Icon</title> <path d="M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"></path> <path d="M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#06f"></path> <path d="M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z" style="fill:#fff"></path> <path d="M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z" style="fill:#06f"></path> </svg> <span>Your Privacy Choices</span> </a> </div> <div class="flex-shrink-0"> <div class="dropdown has-caret-up"> <button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu" aria-expanded="false" title="Theme" data-bi-name="theme"> <span class="icon"> <span class="docon docon-sun" aria-hidden="true"></span> </span> <span>Theme</span> <span class="icon expanded-indicator" aria-hidden="true"> <span class="docon docon-chevron-down-light"></span> </span> </button> <div class="dropdown-menu" id="theme-menu" role="menu"> <ul class="theme-selector padding-xxs" role="none"> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="light"> <span class="theme-light margin-right-xxs"> <span class="theme-selector-icon border display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Light</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="dark"> <span class="theme-dark margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Dark</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="high-contrast"> <span class="theme-high-contrast margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>High contrast</span> </button> </li> </ul> </div> </div> </div> </div> <ul class="links" data-bi-name="footerlinks"> <li class="manage-cookies-holder" hidden></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://www.microsoft.com/legal/intellectualproperty/Trademarks/" data-bi-name="trademarks">Trademarks</a></li><li>&copy; Microsoft 2024</li> </ul> </footer> </section> <div id="action-panel" role="region" aria-label="Action Panel" class="action-panel has-default-focus" tabindex="-1"></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10