Skip to content
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

Change commentextensionlist ext element to 2006/main namespace #1754

Merged
merged 11 commits into from
Jul 24, 2024

Conversation

tomjebo
Copy link
Collaborator

@tomjebo tomjebo commented Jul 22, 2024

Copy link

github-actions bot commented Jul 22, 2024

Test Results

    70 files  ±0      70 suites  ±0   59m 39s ⏱️ + 4m 49s
 2 028 tests ±0   2 025 ✅ ±0   3 💤 ±0  0 ❌ ±0 
32 262 runs  ±0  32 226 ✅ ±0  36 💤 ±0  0 ❌ ±0 

Results for commit 1c619a1. ± Comparison against base commit 27ba922.

♻️ This comment has been updated with latest results.

/// <item><description>corresponds to the following strongly-typed classes: CommentPropertiesExtension.</description></item>
/// </list>
/// </remarks>
public static readonly XName ext = p188 + "ext";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public partial class ....
{
[Obsolete("This is invalid for the namespace - use .... instead")]
public static readonly XName ext = p188 + "ext";
}

@@ -1188,95 +1192,6 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
public override OpenXmlElement CloneNode(bool deep) => CloneImp<Comment>(deep);
}

Copy link
Member

@twsouthwick twsouthwick Jul 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

namespace ....;
{
[Obsolete("use ... instead", error: true)]
   public partial class CommentPropertiesExtension: DocumentFormat.OpenXml.Presentation.CommentPropertiesExtension
  {
  ... [ constructors ]
  }
}

@tomjebo tomjebo requested a review from twsouthwick July 24, 2024 00:02
twsouthwick
twsouthwick previously approved these changes Jul 24, 2024
Copy link
Member

@twsouthwick twsouthwick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the tests are passing and the additional attribute is added

@mikeebowen mikeebowen self-requested a review July 24, 2024 17:13
@tomjebo tomjebo enabled auto-merge (squash) July 24, 2024 17:13
@tomjebo tomjebo merged commit cd814ec into dotnet:main Jul 24, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Found OpenXmlUnknownElement instead of CommentPropertiesExtension
3 participants