-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
More doc updates for source-of-truth assemblies #107810
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed half of the files, until Microsoft.Extensions.FileProviders.
Next review starts at Microsoft.Extensions.Hosting.
src/libraries/Microsoft.Extensions.Diagnostics.Abstractions/src/Metrics/InstrumentRule.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Diagnostics.Abstractions/src/Metrics/MeasurementHandlers.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Diagnostics.Abstractions/src/Metrics/MeasurementHandlers.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Diagnostics.Abstractions/src/Metrics/MeasurementHandlers.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Diagnostics.Abstractions/src/Metrics/MeasurementHandlers.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.FileProviders.Abstractions/src/IFileInfo.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.FileProviders.Abstractions/src/IFileInfo.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFileProvider.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFilesWatcher.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs
Outdated
Show resolved
Hide resolved
Tagging subscribers to this area: @dotnet/area-meta |
1 similar comment
Tagging subscribers to this area: @dotnet/area-meta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments for you to consider, otherwise it LGTM.
I'll backport this to release/9.0 as well when you merge it.
src/libraries/Microsoft.Extensions.Hosting/src/ConsoleLifetimeOptions.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Logging.Abstractions/src/LogEntry.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Logging.Abstractions/src/LoggerExtensions.cs
Show resolved
Hide resolved
/// </summary> | ||
public string? SourceName { get; set; } | ||
|
||
/// <summary> | ||
/// Name of the machine having the event log. If <c>null</c> or not specified, local machine is the default. | ||
/// Gets or sets the name of the machine with the event log. If <see langword="null" /> or not specified, local machine is the default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with the others:
/// Gets or sets the name of the machine with the event log. If <see langword="null" /> or not specified, local machine is the default. | |
/// Gets or sets the name of the machine with the event log. If <see langword="null" /> or not specified, "local machine" is the default. |
@dotnet/area-extensions-logging does this default value begin in lowercase?
src/libraries/Microsoft.Extensions.Primitives/src/StringSegment.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Primitives/src/StringTokenizer.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Primitives/src/StringTokenizer.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Primitives/src/StringValues.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/LoggerMessageGenerator.Emitter.cs
Outdated
Show resolved
Hide resolved
It would be nice to backport this to 9.0. Today's the snap for the RC2 branch but we still have time tomorrow before we start the builds. Would you mind looking at the feedback when you get a chance @gewarren? |
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
src/libraries/Microsoft.Extensions.Primitives/src/StringTokenizer.cs
Outdated
Show resolved
Hide resolved
@carlossanlop There seem to be a lot of errors. Is this okay to merge? |
@@ -426,8 +426,8 @@ private void GenLogMethod(LoggerMethod lm, string nestedIndentation) | |||
{nestedIndentation}{enabledCheckIndentation}{level}, | |||
{nestedIndentation}{enabledCheckIndentation}new global::Microsoft.Extensions.Logging.EventId({lm.EventId}, {eventName}), | |||
{nestedIndentation}{enabledCheckIndentation}"); | |||
GenHolder(lm); | |||
_builder.Append($@", | |||
GenHolder(lm); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotnet/area-extensions-logging do you know if the CI failures might be related to changes to the gen files in this PR? Some of the failures say that lines do not match, but I don't know enough to determine if we need to avoid changes in such files.
Contributes to dotnet/dotnet-api-docs#9989.