Fix inconsistent copyright for C# files in Mono's corelib (#38664)
authorFan Yang <52458914+fanyang-mono@users.noreply.github.com>
Wed, 8 Jul 2020 15:26:36 +0000 (11:26 -0400)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2020 15:26:36 +0000 (11:26 -0400)
* Fix inconsistent copyright for C# files in Mono's corelib

* Update src/mono/netcore/System.Private.CoreLib/src/Mono/RuntimeMarshal.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Use 2-line version of copyright

Co-authored-by: Stephen Toub <stoub@microsoft.com>
46 files changed:
src/mono/netcore/System.Private.CoreLib/src/Mono/RuntimeMarshal.cs
src/mono/netcore/System.Private.CoreLib/src/Mono/RuntimeStructs.cs
src/mono/netcore/System.Private.CoreLib/src/Mono/SafeGPtrArrayHandle.cs
src/mono/netcore/System.Private.CoreLib/src/Mono/SafeStringMarshal.cs
src/mono/netcore/System.Private.CoreLib/src/System/Delegate.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/IO/MonoIOError.cs
src/mono/netcore/System.Private.CoreLib/src/System/MulticastDelegate.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/CustomAttributeData.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorOnTypeBuilderInst.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/DerivedTypes.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILInfo.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.notsupported.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/EventBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/EventOnTypeBuilderInst.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/FieldOnTypeBuilderInst.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/GenericTypeParameterBuilder.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/LocalBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/MethodOnTypeBuilderInst.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/MonoArrayMethod.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/ParameterBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/PropertyBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/PropertyOnTypeBuilderInst.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilderInstantiation.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/UnmanagedMarshal.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeEventInfo.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
src/mono/netcore/System.Private.CoreLib/src/System/RuntimeArgumentHandle.cs
src/mono/netcore/System.Private.CoreLib/src/System/RuntimeTypeHandle.cs
src/mono/netcore/System.Private.CoreLib/src/System/TypeIdentifier.cs
src/mono/netcore/System.Private.CoreLib/src/System/TypeSpec.cs

index 1ed70e8..31be108 100644 (file)
@@ -1,3 +1,6 @@
+// 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.Runtime.InteropServices;
 using System.Runtime.CompilerServices;
index 281be6d..1421987 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Mono runtime native structs surfaced to managed code.
 //
@@ -5,8 +7,6 @@
 //   Aleksey Kliger <aleksey@xamarin.com>
 //   Rodrigo Kumpera <kumpera@xamarin.com>
 //
-// Copyright 2016 Dot net foundation.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 //
 
 using System;
index a0c394d..7053ecb 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Safe handle class for Mono.RuntimeGPtrArrayHandle
 //
@@ -5,8 +7,6 @@
 //   Aleksey Kliger <aleksey@xamarin.com>
 //   Rodrigo Kumpera <kumpera@xamarin.com>
 //
-// Copyright 2016 Dot net foundation.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 //
 
 using System;
index a3152e4..c07d0aa 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Safe wrapper for a string and its UTF8 encoding
 //
@@ -5,8 +7,6 @@
 //   Aleksey Kliger <aleksey@xamarin.com>
 //   Rodrigo Kumpera <kumpera@xamarin.com>
 //
-// Copyright 2016 Dot net foundation.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 //
 
 using System;
index 7e99b00..af5a594 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Authors:
 //   Miguel de Icaza (miguel@ximian.com)
index 0bf59a9..5e62d63 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.IO.MonoIOError.cs: Win32 error codes. Yuck.
 //
index 595952e..301a113 100644 (file)
@@ -1,6 +1,5 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
 
 using System.Reflection;
 using System.Runtime.Serialization;
index 575d79f..3c9d4cc 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // (c) 2002,2003 Ximian, Inc. (http://www.ximian.com)
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
index 6905416..cf3c561 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Author:
 //   Zoltan Varga (vargaz@gmail.com)
index 9c428ba..3ae5512 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/AssemblyBuilder.cs
 //
index 25c2320..d43f3d2 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit.ConstructorBuilder.cs
 //
index 5fdcb79..3a421fc 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/ConstructorOnTypeBuilderInst.cs
 //
index b3d6a6f..67d585a 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 9985285..6a72c17 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit.DerivedTypes.cs
 //
index dce110f..90af1f8 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/DynamicILInfo.cs
 //
index 47177fd..5dd2763 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit.DynamicMethod.cs
 //
index ed9960a..66a9cf4 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 22c5790..983bcc1 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index d7a71d3..d9f49ac 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/EventOnTypeBuilderInst.cs
 //
index 69b990d..928c054 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 4e1cdb6..1a894f2 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/FieldOnTypeBuilderInst.cs
 //
index 0884b0e..74d3dac 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit.GenericTypeParameterBuilder
 //
index 87dcd8e..a07f487 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index ec65222..788eb7f 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 97c301d..c0fc5d8 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/MethodBuilder.cs
 //
index c20df2c..47fbae4 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/MethodOnTypeBuilderInst.cs
 //
index 384e1d1..1be005b 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 588820f..ddb5691 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection/MonoMethod.cs
 // The class used to represent methods from the mono runtime.
index 4d83e6a..68f9eef 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index ae98a50..a645a4d 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index a3b0212..067fff0 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit/PropertyOnTypeBuilderInst.cs
 //
index c0786c3..1347517 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index acd0789..35731ec 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit.TypeBuilder.cs
 //
index 2f78472..167347a 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Reflection.Emit.TypeBuilderInstantiation
 //
index 3478422..fd1343f 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 517af80..50814ab 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2010 Novell, Inc (http://www.novell.com)
 //
index 4a792da..e655270 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 // Copyright (C) 2004, 2009 Novell, Inc (http://www.novell.com)
index 62919bf..5056d83 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
index 14f784c..6a72a6e 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
index 0ce9f4c..65f4f72 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2010 Novell, Inc (http://www.novell.com)
 //
index a00faee..0db7b88 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
index df4ddf9..a52b45a 100644 (file)
@@ -1,6 +1,5 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
-//
 
 namespace System
 {
index 9f59c10..71e1a02 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Authors:
 //   Miguel de Icaza (miguel@ximian.com)
index 625f203..a4bc5ac 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // Copyright (C) 2015 Xamarin, Inc (http://www.xamarin.com)
 //
index e370adf..18e58af 100644 (file)
@@ -1,3 +1,5 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
 //
 // System.Type.cs
 //