Skip to content

Commit 27ba922

Browse files
authored
Make LINQ classes partial (#1756)
1 parent 2c3d5d2 commit 27ba922

File tree

105 files changed

+105
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+105
-105
lines changed

gen/DocumentFormat.OpenXml.Generator.Models/Generators/Linq/LinqGeneratorExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private static void GenerateClass(
124124
output.WriteLine(@" /// </summary>");
125125

126126
// Begin the class declaration.
127-
output.WriteLine($" public static class {className}");
127+
output.WriteLine($" public static partial class {className}");
128128
output.WriteLine(@" {");
129129

130130
// Emit the XNamespace field and determine the RHS prefix of the field declaration.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.A.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" namespace.
1010
/// </summary>
11-
public static class A
11+
public static partial class A
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the a prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.A14.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" namespace.
1010
/// </summary>
11-
public static class A14
11+
public static partial class A14
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the a14 prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.A15.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:a15="http://schemas.microsoft.com/office/drawing/2012/main" namespace.
1010
/// </summary>
11-
public static class A15
11+
public static partial class A15
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the a15 prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.A16.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:a16="http://schemas.microsoft.com/office/drawing/2014/main" namespace.
1010
/// </summary>
11-
public static class A16
11+
public static partial class A16
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the a16 prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.A1611.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:a1611="http://schemas.microsoft.com/office/drawing/2016/11/main" namespace.
1010
/// </summary>
11-
public static class A1611
11+
public static partial class A1611
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the a1611 prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.AC.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:ac="http://schemas.openxmlformats.org/officeDocument/2006/characteristics" namespace.
1010
/// </summary>
11-
public static class AC
11+
public static partial class AC
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the ac prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.ACLSH.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:aclsh="http://schemas.microsoft.com/office/drawing/2020/classificationShape" namespace.
1010
/// </summary>
11-
public static class ACLSH
11+
public static partial class ACLSH
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the aclsh prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.ADEC.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:adec="http://schemas.microsoft.com/office/drawing/2017/decorative" namespace.
1010
/// </summary>
11-
public static class ADEC
11+
public static partial class ADEC
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the adec prefix.

generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.AHYP.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace DocumentFormat.OpenXml.Linq
88
/// <summary>
99
/// Declares XNamespace and XName fields for the xmlns:ahyp="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" namespace.
1010
/// </summary>
11-
public static class AHYP
11+
public static partial class AHYP
1212
{
1313
/// <summary>
1414
/// Defines the XML namespace associated with the ahyp prefix.

0 commit comments

Comments
 (0)