-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Port doc comment changes from docs repo #7152
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -53,9 +53,9 @@ public class BuildEventArgsReader : IDisposable | |||||
| typeof(BuildEventArgs).GetField("senderName", BindingFlags.Instance | BindingFlags.NonPublic); | ||||||
|
|
||||||
| /// <summary> | ||||||
| /// Initializes a new instance of BuildEventArgsReader using a BinaryReader instance | ||||||
| /// Initializes a new instance of <see cref="T:Microsoft.Build.Logging.BuildEventArgsReader"/> using a <see cref="T:System.IO.BinaryReader"/> instance. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| /// </summary> | ||||||
| /// <param name="binaryReader">The BinaryReader to read BuildEventArgs from</param> | ||||||
| /// <param name="binaryReader">The <see cref="T:System.IO.BinaryReader"/> to read <see cref="T:Microsoft.Build.Framework.BuildEventArgs"/> from.</param> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| /// <param name="fileFormatVersion">The file format version of the log file being read.</param> | ||||||
| public BuildEventArgsReader(BinaryReader binaryReader, int fileFormatVersion) | ||||||
| { | ||||||
|
|
@@ -79,8 +79,11 @@ public void Dispose() | |||||
| internal event Action<BinaryLogRecordKind, byte[]> OnBlobRead; | ||||||
|
|
||||||
| /// <summary> | ||||||
| /// Reads the next log record from the binary reader. If there are no more records, returns null. | ||||||
| /// Reads the next log record from the <see cref="T:System.IO.BinaryReader"/>. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| /// </summary> | ||||||
| /// <returns> | ||||||
| /// The next <see cref="T:Microsoft.Build.Framework.BuildEventArgs" />. If there are no more records, returns <see langword="null" />. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| /// </returns> | ||||||
| public BuildEventArgs Read() | ||||||
| { | ||||||
| BinaryLogRecordKind recordKind = (BinaryLogRecordKind)ReadInt32(); | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -30,9 +30,12 @@ public abstract class SdkResolver | |||||||||||||||||||
| /// the SDK could not be resolved. Return <code>null</code> if the resolver is not | ||||||||||||||||||||
| /// applicable for a particular <see cref="SdkReference"/>. | ||||||||||||||||||||
| /// </returns> | ||||||||||||||||||||
| /// <remarks> | ||||||||||||||||||||
| /// Note: You must use <see cref="Microsoft.Build.Framework.SdkResultFactory"/> to return a result. | ||||||||||||||||||||
| /// </remarks> | ||||||||||||||||||||
| /// <remarks><format type="text/markdown"><![CDATA[ | ||||||||||||||||||||
| /// ## Remarks | ||||||||||||||||||||
| /// > [!NOTE] | ||||||||||||||||||||
| /// > You must use the <xref:Microsoft.Build.Framework.SdkResultFactory> to return a result. | ||||||||||||||||||||
| /// ]]></format> | ||||||||||||||||||||
| /// </remarks> | ||||||||||||||||||||
|
Comment on lines
+33
to
+38
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||
| /// | ||||||||||||||||||||
| public abstract SdkResult Resolve(SdkReference sdkReference, SdkResolverContext resolverContext, | ||||||||||||||||||||
| SdkResultFactory factory); | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -39,8 +39,11 @@ public abstract class SdkResolverContext | |||||||||||||
| /// Version of MSBuild currently running. | ||||||||||||||
| /// </summary> | ||||||||||||||
| /// <remarks> | ||||||||||||||
| /// File version based on commit height from our public git repository. This is informational | ||||||||||||||
| /// and not equal to the assembly version. | ||||||||||||||
| /// <format type="text/markdown"><![CDATA[ | ||||||||||||||
| /// ## Remarks | ||||||||||||||
| /// | ||||||||||||||
| /// File version is informational and not equal to the assembly version. | ||||||||||||||
| /// ]]></format> | ||||||||||||||
|
Comment on lines
+42
to
+46
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Do we need to include info about how the file version is calculated? |
||||||||||||||
| /// </remarks> | ||||||||||||||
| public virtual Version MSBuildVersion { get; protected set; } | ||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,11 @@ namespace Microsoft.Build.Framework | |||||||||||||
| /// An abstract interface class to indicate SDK resolver success or failure. | ||||||||||||||
| /// </summary> | ||||||||||||||
| /// <remarks> | ||||||||||||||
| /// Note: Use <see cref="Microsoft.Build.Framework.SdkResultFactory"/> to create instances of this class. Do not inherit from this class. | ||||||||||||||
| /// <format type="text/markdown"><![CDATA[ | ||||||||||||||
| /// ## Remarks | ||||||||||||||
| /// > [!NOTE] | ||||||||||||||
| /// > Use <xref:Microsoft.Build.Framework.SdkResultFactory> to create instances of this class. Do not inherit from this class. | ||||||||||||||
| /// ]]></format> | ||||||||||||||
|
Comment on lines
+12
to
+16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
| /// </remarks> | ||||||||||||||
| public abstract class SdkResult | ||||||||||||||
| { | ||||||||||||||
|
|
||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,8 +13,11 @@ namespace Microsoft.Build.Tasks | |||||||||||||||
| /// Generates a hash of a given ItemGroup items. Metadata is not considered in the hash. | ||||||||||||||||
| /// </summary> | ||||||||||||||||
| /// <remarks> | ||||||||||||||||
| /// Currently uses SHA1. Implementation subject to change between MSBuild versions. Not | ||||||||||||||||
| /// intended as a cryptographic security measure, only uniqueness between build executions. | ||||||||||||||||
| /// <format type="text/markdown"><![CDATA[ | ||||||||||||||||
| /// ## Remarks | ||||||||||||||||
| /// Currently uses SHA1. The implementation is subject to change between MSBuild versions. | ||||||||||||||||
| /// This class is not intended as a cryptographic security measure, only for uniqueness between build executions. | ||||||||||||||||
| /// ]]></format> | ||||||||||||||||
|
Comment on lines
+16
to
+20
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
| /// </remarks> | ||||||||||||||||
| public class Hash : TaskExtension | ||||||||||||||||
| { | ||||||||||||||||
|
|
||||||||||||||||
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.