From 92e5412c155c7b086ed6f35f88f6e34ce812adfb Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Thu, 7 Oct 2021 10:09:40 +0200 Subject: [PATCH] Remove erroneous .NET Foundation copyrights --- EFCore.PG.sln.DotSettings | 5 +---- .../Storage/Internal/PeriodIntervalMapping.cs | 3 --- .../NpgsqlMultirangeDbFunctionsExtensions.cs | 3 --- .../Storage/ValueConversion/INpgsqlArrayConverter.cs | 3 --- src/Shared/Check.cs | 3 --- src/Shared/NonCapturingLazyInitializer.cs | 3 --- src/Shared/SharedTypeExtensions.cs | 3 --- test/EFCore.PG.FunctionalTests/BatchingTest.cs | 5 +---- .../Query/FieldsOnlyLoadNpgsqlTest.cs | 3 --- .../Query/ManyToManyFieldsLoadNpgsqlTest.cs | 3 --- .../Query/OwnedEntityQueryNpgsqlTest.cs | 3 --- .../Query/SharedTypeQueryNpgsqlTest.cs | 3 --- .../SaveChangesInterceptionNpgsqlTest.cs | 3 --- test/EFCore.PG.Tests/NpgsqlDbContextOptionsExtensionsTest.cs | 3 --- test/EFCore.PG.Tests/Storage/LegacyNpgsqlTypeMappingTest.cs | 3 --- 15 files changed, 2 insertions(+), 47 deletions(-) diff --git a/EFCore.PG.sln.DotSettings b/EFCore.PG.sln.DotSettings index 02164eace..11acce2f9 100644 --- a/EFCore.PG.sln.DotSettings +++ b/EFCore.PG.sln.DotSettings @@ -113,9 +113,6 @@ True - Copyright (c) .NET Foundation. All rights reserved. -Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - True True True @@ -254,4 +251,4 @@ Licensed under the Apache License, Version 2.0. See License.txt in the project r True - \ No newline at end of file + diff --git a/src/EFCore.PG.NodaTime/Storage/Internal/PeriodIntervalMapping.cs b/src/EFCore.PG.NodaTime/Storage/Internal/PeriodIntervalMapping.cs index f6f3302a7..92c62030e 100644 --- a/src/EFCore.PG.NodaTime/Storage/Internal/PeriodIntervalMapping.cs +++ b/src/EFCore.PG.NodaTime/Storage/Internal/PeriodIntervalMapping.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFrameworkCore.Storage; diff --git a/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlMultirangeDbFunctionsExtensions.cs b/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlMultirangeDbFunctionsExtensions.cs index 3a7f26a88..4e2660b9e 100644 --- a/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlMultirangeDbFunctionsExtensions.cs +++ b/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlMultirangeDbFunctionsExtensions.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - // ReSharper disable once CheckNamespace using System; diff --git a/src/EFCore.PG/Storage/ValueConversion/INpgsqlArrayConverter.cs b/src/EFCore.PG/Storage/ValueConversion/INpgsqlArrayConverter.cs index 4844e27a1..a7baa7ca5 100644 --- a/src/EFCore.PG/Storage/ValueConversion/INpgsqlArrayConverter.cs +++ b/src/EFCore.PG/Storage/ValueConversion/INpgsqlArrayConverter.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion diff --git a/src/Shared/Check.cs b/src/Shared/Check.cs index b477bb966..30ca155ac 100644 --- a/src/Shared/Check.cs +++ b/src/Shared/Check.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Shared/NonCapturingLazyInitializer.cs b/src/Shared/NonCapturingLazyInitializer.cs index bf4e8b98c..493767f5a 100644 --- a/src/Shared/NonCapturingLazyInitializer.cs +++ b/src/Shared/NonCapturingLazyInitializer.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System; using System.Diagnostics.CodeAnalysis; using System.Threading; diff --git a/src/Shared/SharedTypeExtensions.cs b/src/Shared/SharedTypeExtensions.cs index 606a086b2..da0c33123 100644 --- a/src/Shared/SharedTypeExtensions.cs +++ b/src/Shared/SharedTypeExtensions.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/test/EFCore.PG.FunctionalTests/BatchingTest.cs b/test/EFCore.PG.FunctionalTests/BatchingTest.cs index c5bb4e715..6395de6f1 100644 --- a/test/EFCore.PG.FunctionalTests/BatchingTest.cs +++ b/test/EFCore.PG.FunctionalTests/BatchingTest.cs @@ -1,7 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; +using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; diff --git a/test/EFCore.PG.FunctionalTests/Query/FieldsOnlyLoadNpgsqlTest.cs b/test/EFCore.PG.FunctionalTests/Query/FieldsOnlyLoadNpgsqlTest.cs index 4288f6e94..b747550f4 100644 --- a/test/EFCore.PG.FunctionalTests/Query/FieldsOnlyLoadNpgsqlTest.cs +++ b/test/EFCore.PG.FunctionalTests/Query/FieldsOnlyLoadNpgsqlTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.TestUtilities; using Npgsql.EntityFrameworkCore.PostgreSQL.TestUtilities; diff --git a/test/EFCore.PG.FunctionalTests/Query/ManyToManyFieldsLoadNpgsqlTest.cs b/test/EFCore.PG.FunctionalTests/Query/ManyToManyFieldsLoadNpgsqlTest.cs index 1b3c1d448..f320a211a 100644 --- a/test/EFCore.PG.FunctionalTests/Query/ManyToManyFieldsLoadNpgsqlTest.cs +++ b/test/EFCore.PG.FunctionalTests/Query/ManyToManyFieldsLoadNpgsqlTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.TestModels.ManyToManyFieldsModel; diff --git a/test/EFCore.PG.FunctionalTests/Query/OwnedEntityQueryNpgsqlTest.cs b/test/EFCore.PG.FunctionalTests/Query/OwnedEntityQueryNpgsqlTest.cs index 2cd8401ec..26efe3acc 100644 --- a/test/EFCore.PG.FunctionalTests/Query/OwnedEntityQueryNpgsqlTest.cs +++ b/test/EFCore.PG.FunctionalTests/Query/OwnedEntityQueryNpgsqlTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using Microsoft.EntityFrameworkCore.Query; using Microsoft.EntityFrameworkCore.TestUtilities; using Npgsql.EntityFrameworkCore.PostgreSQL.TestUtilities; diff --git a/test/EFCore.PG.FunctionalTests/Query/SharedTypeQueryNpgsqlTest.cs b/test/EFCore.PG.FunctionalTests/Query/SharedTypeQueryNpgsqlTest.cs index 744eca7dd..32679b0f5 100644 --- a/test/EFCore.PG.FunctionalTests/Query/SharedTypeQueryNpgsqlTest.cs +++ b/test/EFCore.PG.FunctionalTests/Query/SharedTypeQueryNpgsqlTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Query; using Microsoft.EntityFrameworkCore.TestUtilities; diff --git a/test/EFCore.PG.FunctionalTests/SaveChangesInterceptionNpgsqlTest.cs b/test/EFCore.PG.FunctionalTests/SaveChangesInterceptionNpgsqlTest.cs index 22c5a6556..0e6fc2e84 100644 --- a/test/EFCore.PG.FunctionalTests/SaveChangesInterceptionNpgsqlTest.cs +++ b/test/EFCore.PG.FunctionalTests/SaveChangesInterceptionNpgsqlTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; diff --git a/test/EFCore.PG.Tests/NpgsqlDbContextOptionsExtensionsTest.cs b/test/EFCore.PG.Tests/NpgsqlDbContextOptionsExtensionsTest.cs index 48e2e6f31..d543af1df 100644 --- a/test/EFCore.PG.Tests/NpgsqlDbContextOptionsExtensionsTest.cs +++ b/test/EFCore.PG.Tests/NpgsqlDbContextOptionsExtensionsTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/test/EFCore.PG.Tests/Storage/LegacyNpgsqlTypeMappingTest.cs b/test/EFCore.PG.Tests/Storage/LegacyNpgsqlTypeMappingTest.cs index fc2aa7b07..614b867e5 100644 --- a/test/EFCore.PG.Tests/Storage/LegacyNpgsqlTypeMappingTest.cs +++ b/test/EFCore.PG.Tests/Storage/LegacyNpgsqlTypeMappingTest.cs @@ -1,6 +1,3 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - #if DEBUG using System;