Fix license in two code documents (#56755)
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Sat, 7 Aug 2021 16:40:12 +0000 (19:40 +0300)
committerGitHub <noreply@github.com>
Sat, 7 Aug 2021 16:40:12 +0000 (11:40 -0500)
src/libraries/Microsoft.Extensions.Configuration/tests/ConfigurationManagerTest.cs
src/mono/sample/wasm/browser-bench/Person.cs

index 6e7a491..89da788 100644 (file)
@@ -1,5 +1,5 @@
-// 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.
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 
 using System;
 using System.Collections.Generic;
@@ -845,7 +845,7 @@ namespace Microsoft.Extensions.Configuration.Test
             var token2 = config.GetReloadToken();
             var hasChanged3 = token2.HasChanged;
 
-            // 
+            //
             // Assert
             Assert.False(hasChanged1);
             Assert.True(hasChanged2);
index fe7a7eb..2be0eba 100644 (file)
@@ -1,5 +1,5 @@
-// 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.
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 
 using System;
 using System.Collections.Generic;
@@ -35,4 +35,4 @@ namespace Sample
             };
         }
     }
-}
\ No newline at end of file
+}