From a03ee4ba9c5e71a361d86a6ef7923c44a0dc5f39 Mon Sep 17 00:00:00 2001 From: MichalPavlik Date: Wed, 28 Aug 2024 12:59:37 +0200 Subject: [PATCH] Fixed cross references and some invalid tags (#10568) * Fixed cross references and some invalid tags * Removing internal note from public documentation --- src/Build/BackEnd/Shared/BuildResult.cs | 4 +--- src/Build/Definition/Project.cs | 3 +-- src/Build/Evaluation/Context/EvaluationContext.cs | 2 +- src/Tasks/MSBuildInternalMessage.cs | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Build/BackEnd/Shared/BuildResult.cs b/src/Build/BackEnd/Shared/BuildResult.cs index 776179d0f0..537998947d 100644 --- a/src/Build/BackEnd/Shared/BuildResult.cs +++ b/src/Build/BackEnd/Shared/BuildResult.cs @@ -32,9 +32,7 @@ namespace Microsoft.Build.Execution /// /// Contains the current results for all of the targets which have produced results for a particular configuration. /// - /// /// When modifying serialization/deserialization, bump the version and support previous versions in order to keep backwards compatible. - /// public class BuildResult : BuildResultBase, INodePacket, IBuildResults { /// @@ -421,7 +419,7 @@ namespace Microsoft.Build.Execution /// See for examples of the available flags. /// /// - /// Is optional, this property exists starting 1. + /// Is optional, this property exists starting version 1. /// public BuildRequestDataFlags? BuildRequestDataFlags => (_version > 0) ? _buildRequestDataFlags : null; diff --git a/src/Build/Definition/Project.cs b/src/Build/Definition/Project.cs index d7d90b3a93..031ce7a01a 100644 --- a/src/Build/Definition/Project.cs +++ b/src/Build/Definition/Project.cs @@ -829,7 +829,7 @@ namespace Microsoft.Build.Evaluation /// their previously stored value to find out, and if so perhaps decide to update their own state. /// Note that the number may not increase monotonically. /// - /// This number corresponds to the and can be used to connect + /// This number corresponds to the and can be used to connect /// evaluation logging events back to the Project instance. /// public int LastEvaluationId => implementation.LastEvaluationId; @@ -1981,7 +1981,6 @@ namespace Microsoft.Build.Evaluation /// - /// - /// - - /// - /// - /// - /// - diff --git a/src/Build/Evaluation/Context/EvaluationContext.cs b/src/Build/Evaluation/Context/EvaluationContext.cs index c413077533..56003b2a1d 100644 --- a/src/Build/Evaluation/Context/EvaluationContext.cs +++ b/src/Build/Evaluation/Context/EvaluationContext.cs @@ -85,7 +85,7 @@ namespace Microsoft.Build.Evaluation.Context /// Factory for /// /// The to use. - /// The to use. + /// The to use. /// This parameter is compatible only with . /// The method throws if a file system is used with or . /// The reasoning is that these values guarantee not reusing file system caches between evaluations, diff --git a/src/Tasks/MSBuildInternalMessage.cs b/src/Tasks/MSBuildInternalMessage.cs index 0595e28617..9e54fa38c3 100644 --- a/src/Tasks/MSBuildInternalMessage.cs +++ b/src/Tasks/MSBuildInternalMessage.cs @@ -42,7 +42,7 @@ namespace Microsoft.Build.Tasks public string[] FormatArguments { get; set; } = []; /// - /// . + /// Severity of the message. /// [Required] public string Severity { set; get; } = string.Empty;