Skip to content

Commit 5f07479

Browse files
committed
.
1 parent 1a4311f commit 5f07479

File tree

330 files changed

+113
-811
lines changed

Some content is hidden

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

330 files changed

+113
-811
lines changed

src/ApiBuilderTests/Splitter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ public static void Run()
287287
var lines = ProcessFile(sourceCode, definedSymbols);
288288
lines = RemoveEmptyConditionalBlocks(lines);
289289
lines = RemoveEmptyLines(lines);
290-
290+
lines.Insert(0,"#pragma warning disable");
291+
lines.Insert(0,"// <auto-generated />");
291292
File.WriteAllText(outputPath, string.Join("\r\n", lines));
292293
}
293294
}

src/Polyfill/ArgumentExceptions/ArgumentExceptionPolyfill.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
41
namespace Polyfills;
52

63
using System;

src/Polyfill/ArgumentExceptions/ArgumentNullExceptionPolyfill.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
41
namespace Polyfills;
52

63
using System;

src/Polyfill/ArgumentExceptions/ArgumentOutOfRangeExceptionPolyfill.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
3-
#pragma warning disable
41

52
namespace Polyfills;
63

src/Polyfill/CallerArgumentExpressionAttribute.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
41
#if !NETCOREAPP3_0_OR_GREATER
52

63
namespace System.Runtime.CompilerServices;

src/Polyfill/CollectionBuilderAttribute.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
4-
#if FeatureMemory
1+
#if FeatureMemory
52
#if !NET8_0_OR_GREATER
63

74
namespace System.Runtime.CompilerServices;

src/Polyfill/CompilerFeatureRequiredAttribute.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
41
#if !NET7_0_OR_GREATER
52

63
namespace System.Runtime.CompilerServices;

src/Polyfill/ConstantExpectedAttribute.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
4-
#if !NET7_0_OR_GREATER
1+
#if !NET7_0_OR_GREATER
52

63
#nullable enable
74
namespace System.Diagnostics.CodeAnalysis;

src/Polyfill/ConvertPolyfill.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
41
#if !NET9_0_OR_GREATER
52

63
namespace Polyfills;

src/Polyfill/DateTimeOffsetPolyfill.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// <auto-generated />
2-
#pragma warning disable
3-
41
#nullable enable
52

63
#if !NET8_0_OR_GREATER

0 commit comments

Comments
 (0)