Skip to content

Merge main into live - #13063

Merged
gewarren merged 2 commits into
livefrom
main
Sep 10, 2026
Merged

Merge main into live#13063
gewarren merged 2 commits into
livefrom
main

Conversation

@dotnet-policy-service

@dotnet-policy-service dotnet-policy-service Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Please don't squash-merge this PR.


Internal previews

Toggle expand/collapse
File Preview link
snippets/csharp/System.Diagnostics/EventLog/Overview/source.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/Source/source.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_4.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_5.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/WriteEntry/source.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/WriteEntry/source1.cs Learn preview
snippets/csharp/System.Diagnostics/EventLog/WriteEntry/source2.cs Learn preview
snippets/csharp/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.cs Learn preview
snippets/csharp/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.cs Learn preview
snippets/csharp/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.cs Learn preview
snippets/csharp/System.Diagnostics/EventLogEntryType/Overview/eventlogentrytype_6.cs Learn preview
snippets/csharp/System.Diagnostics/EventLogTraceListener/Overview/source.cs Learn preview
snippets/csharp/System.Diagnostics/EventSourceCreationData/Overview/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/Comments/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/CompanyName/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/FileBuildPart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/FileDescription/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/FileMajorPart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/FileMinorPart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/FileName/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/FilePrivatePart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/InternalName/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/IsDebug/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/IsPatched/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/IsPreRelease/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/IsPrivateBuild/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/IsSpecialBuild/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/LegalCopyright/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/LegalTrademarks/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/OriginalFilename/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/Overview/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/PrivateBuild/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ProductBuildPart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ProductMajorPart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ProductMinorPart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ProductName/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ProductPrivatePart/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ProductVersion/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/SpecialBuild/source.cs Learn preview
snippets/csharp/System.Diagnostics/FileVersionInfo/ToString/source.cs Learn preview
snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs Learn preview
snippets/csharp/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.cs Learn preview
snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs Learn preview
snippets/csharp/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitermcontains.cs Learn preview
snippets/csharp/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.cs Learn preview
snippets/csharp/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.cs Learn preview
snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs Learn preview
snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatDelete.cs Learn preview
snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs Learn preview

Note

This table shows the first 50 preview links (sorted alphabetically by file path) found in the OPS build report. For the full list, select OpenPublishing.Build Details within checks.

Build report

gewarren and others added 2 commits September 9, 2026 14:32
* Modernize next System.Diagnostics snippets

Update the second batch of 60 System.Diagnostics C# samples to current syntax and consolidate their net10.0 snippet projects while preserving the documented APIs and runtime behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 81f0fa5e-3bcf-4d3b-b652-f7dc76e7ae03

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* respond to feedback

* Refactor string formatting to use interpolated strings

* fix compile errors

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot-Session: 81f0fa5e-3bcf-4d3b-b652-f7dc76e7ae03
@gewarren
gewarren merged commit 25de26e into live Sep 10, 2026
227 of 229 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant