dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
738 stars 1.57k forks source link

.NET Core/.NET Docs for Debug.Write() and related Methods Reference .NET Framework-only Listeners Collection #6956

Open zacharylayne opened 3 years ago

zacharylayne commented 3 years ago

Documentation for several methods begin with Writes information about the debug to the trace listeners in the [Listeners](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debug.listeners?view=net-6.0#System_Diagnostics_Debug_Listeners) collection.

or something similar.

This property does not appear available outside of .NET Framework.

See here for example:

https://github.com/dotnet/dotnet-api-docs/blob/b134dfc2df834c76e42f1a2038964a5813ccd146/xml/System.Diagnostics/Debug.xml#L1394

ghost commented 3 years ago

Tagging subscribers to this area: @tommcdon, @krwq See info in area-owners.md if you want to be subscribed.

Issue Details
Documentation for several methods begin with `Writes information about the debug to the trace listeners in the [Listeners](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debug.listeners?view=net-6.0#System_Diagnostics_Debug_Listeners) collection.` or something similar. This property does not appear available outside of .NET Framework. See here for example: _https://github.com/dotnet/dotnet-api-docs/blob/b134dfc2df834c76e42f1a2038964a5813ccd146/xml/System.Diagnostics/Debug.xml#L1394_
Author: zacharylayne
Assignees: -
Labels: `:watch: Not Triaged`, `Pri3`, `area-System.Diagnostics`
Milestone: -
ite-klass commented 1 month ago

I stumbled over this too.

Given that it is not part of net8, is it supposed to be removed? Is there only the default behavior? What is that? Or are there plans for changes regarding the Debug interface and its targets?