diff options
author | Sean Gillespie <sean.william.g@gmail.com> | 2016-02-26 22:37:01 -0800 |
---|---|---|
committer | Sean Gillespie <sean.william.g@gmail.com> | 2016-02-26 22:37:01 -0800 |
commit | 3ac97ffe15312ead86cb90220c0f945820abfa2e (patch) | |
tree | 0c5d585575a1d772b00bdb698a110c671c2e4f63 /tests/src/Loader/classloader | |
parent | 4dcc5e5e307e98811f599c5bdb245e7d13795c82 (diff) | |
download | coreclr-3ac97ffe15312ead86cb90220c0f945820abfa2e.tar.gz coreclr-3ac97ffe15312ead86cb90220c0f945820abfa2e.tar.bz2 coreclr-3ac97ffe15312ead86cb90220c0f945820abfa2e.zip |
Fix license header for test files
Diffstat (limited to 'tests/src/Loader/classloader')
34 files changed, 102 insertions, 0 deletions
diff --git a/tests/src/Loader/classloader/explicitlayout/misc/derivedexplicitclass.cs b/tests/src/Loader/classloader/explicitlayout/misc/derivedexplicitclass.cs index af5b77c9a7..2e3de6ad4f 100644 --- a/tests/src/Loader/classloader/explicitlayout/misc/derivedexplicitclass.cs +++ b/tests/src/Loader/classloader/explicitlayout/misc/derivedexplicitclass.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case1.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case1.cs index aacfbe63b6..fb89e63e62 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case1.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case1.cs @@ -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. +// See the LICENSE file in the project root for more information. // struct // int // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case11.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case11.cs index 22624b8a74..56b12e3956 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case11.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case11.cs @@ -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. +// See the LICENSE file in the project root for more information. // here, the overlapping int only partial overlaps with an objref in the nested struct. // // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case12.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case12.cs index 8d12dc4892..70ef096103 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case12.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case12.cs @@ -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. +// See the LICENSE file in the project root for more information. // super simple case. forget wrapper structs, just overlap an int and an objref! using System; using System.Runtime.InteropServices; diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case14.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case14.cs index c8411800f3..bfe33867cb 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case14.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case14.cs @@ -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. +// See the LICENSE file in the project root for more information. // struct // enum // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case15.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case15.cs index e08c3ed462..575515bff7 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case15.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case15.cs @@ -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. +// See the LICENSE file in the project root for more information. // struct // int // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case2.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case2.cs index 5d7bad7ac5..94e0ee6169 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case2.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case2.cs @@ -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. +// See the LICENSE file in the project root for more information. // Same as case1, but exercises a different error path by going ahead and trying to use // the invalid type. That code path should never be reached, however, because the bug fix // is "fail-fast". diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case3.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case3.cs index 67f4b1b439..27b38840c7 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case3.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case3.cs @@ -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. +// See the LICENSE file in the project root for more information. // struct // int // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case4.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case4.cs index aaae087b52..2d3fbc901b 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case4.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case4.cs @@ -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. +// See the LICENSE file in the project root for more information. // like case1, except that the union type is a class rather than a struct. // // class diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case5.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case5.cs index 33881e0cd0..bb7e2369b6 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case5.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case5.cs @@ -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. +// See the LICENSE file in the project root for more information. // like case1, except that the order of the overlapping fields is // struct/int, instead of int/struct. // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case6.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case6.cs index 53580c5497..c634a564db 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case6.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case6.cs @@ -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. +// See the LICENSE file in the project root for more information. // like case4, except that the order of overlapping fields is reversed. // it is struct/int instead of int/struct. // diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case7.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case7.cs index c465da451d..c7439bbe18 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case7.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case7.cs @@ -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. +// See the LICENSE file in the project root for more information. // like case1 except that we have multiple instances of structs // overlapping with the int. // struct diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case8.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case8.cs index 90e6d3ece2..4e4f08fa7c 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case8.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case8.cs @@ -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. +// See the LICENSE file in the project root for more information. // like case4, except that there are multiple structs overlapping with the int. // // class diff --git a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case9.cs b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case9.cs index de93a315c3..abae5f168a 100644 --- a/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case9.cs +++ b/tests/src/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case9.cs @@ -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. +// See the LICENSE file in the project root for more information. // like case1, except that the overlapping doesn't occur in the first // "slot" of the union. // struct diff --git a/tests/src/Loader/classloader/generics/regressions/vsw237932/repro237932.cs b/tests/src/Loader/classloader/generics/regressions/vsw237932/repro237932.cs index 7b76edc7b7..9b1ac5f295 100644 --- a/tests/src/Loader/classloader/generics/regressions/vsw237932/repro237932.cs +++ b/tests/src/Loader/classloader/generics/regressions/vsw237932/repro237932.cs @@ -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. +// See the LICENSE file in the project root for more information. // This is regression test for VSWhidbey 237932 // The issue here was that the ThreadStatic field was previously shared for all C1<objref> types // and so when we created C1<System.OverflowException> and C1<System.InvalidCastException> the ThreadStatic diff --git a/tests/src/Loader/classloader/generics/regressions/vsw514968/vsw514968.cs b/tests/src/Loader/classloader/generics/regressions/vsw514968/vsw514968.cs index acb7900ab7..8acfeb920e 100644 --- a/tests/src/Loader/classloader/generics/regressions/vsw514968/vsw514968.cs +++ b/tests/src/Loader/classloader/generics/regressions/vsw514968/vsw514968.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; public class C { } diff --git a/tests/src/Loader/classloader/generics/regressions/vsw524571/staticsproblem5.cs b/tests/src/Loader/classloader/generics/regressions/vsw524571/staticsproblem5.cs index 541e45dfd5..d0bdf7a9c5 100644 --- a/tests/src/Loader/classloader/generics/regressions/vsw524571/staticsproblem5.cs +++ b/tests/src/Loader/classloader/generics/regressions/vsw524571/staticsproblem5.cs @@ -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. +// See the LICENSE file in the project root for more information. // the subtype here that contains a Canonical type is Node<NodeStruct<NodeSys<a[]>>> diff --git a/tests/src/Loader/classloader/methodoverriding/regressions/549411/exploit.cs b/tests/src/Loader/classloader/methodoverriding/regressions/549411/exploit.cs index a0fc3ee7c7..706f7ac364 100644 --- a/tests/src/Loader/classloader/methodoverriding/regressions/549411/exploit.cs +++ b/tests/src/Loader/classloader/methodoverriding/regressions/549411/exploit.cs @@ -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. +// See the LICENSE file in the project root for more information. // this is regression test for VSWhidbey 549411 // The exception was not correctly caught, and so cleanup did not happen in the right way. // we make sure exception is caught exactly once diff --git a/tests/src/Loader/classloader/methodoverriding/regressions/577403/vsw577403.cs b/tests/src/Loader/classloader/methodoverriding/regressions/577403/vsw577403.cs index 6f740e4ff0..547c12c430 100644 --- a/tests/src/Loader/classloader/methodoverriding/regressions/577403/vsw577403.cs +++ b/tests/src/Loader/classloader/methodoverriding/regressions/577403/vsw577403.cs @@ -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. +// See the LICENSE file in the project root for more information. /* This is regression test for VSW 577403 diff --git a/tests/src/Loader/classloader/methodoverriding/regressions/593884/vsw593884.cs b/tests/src/Loader/classloader/methodoverriding/regressions/593884/vsw593884.cs index bc2ebd43c7..dcc80d70ad 100644 --- a/tests/src/Loader/classloader/methodoverriding/regressions/593884/vsw593884.cs +++ b/tests/src/Loader/classloader/methodoverriding/regressions/593884/vsw593884.cs @@ -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. +// See the LICENSE file in the project root for more information. /* This is regression test for VSW 593884 diff --git a/tests/src/Loader/classloader/nesting/coreclr/vsw491577.cs b/tests/src/Loader/classloader/nesting/coreclr/vsw491577.cs index cf3ae8579e..1e51142557 100644 --- a/tests/src/Loader/classloader/nesting/coreclr/vsw491577.cs +++ b/tests/src/Loader/classloader/nesting/coreclr/vsw491577.cs @@ -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. +// See the LICENSE file in the project root for more information. // this is regression test for VSW 491577 // we have nested types (up to depth 73). // Loading the 73rd type resulted in AV diff --git a/tests/src/Loader/classloader/regressions/101904/test.cs b/tests/src/Loader/classloader/regressions/101904/test.cs index c49eb60227..9df18f01d7 100644 --- a/tests/src/Loader/classloader/regressions/101904/test.cs +++ b/tests/src/Loader/classloader/regressions/101904/test.cs @@ -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. +// See the LICENSE file in the project root for more information. // This test should be run with verification on: e.g. caspol -m -cg 1.1 Everything // In this test, we have MyType implementing IFoo<T> twice, first indirectly through MyBaseType // as IFoo<string>, and second directly as IFoo<int>. diff --git a/tests/src/Loader/classloader/regressions/123413/ilib.cs b/tests/src/Loader/classloader/regressions/123413/ilib.cs index b1d11cd4c3..fc190df453 100644 --- a/tests/src/Loader/classloader/regressions/123413/ilib.cs +++ b/tests/src/Loader/classloader/regressions/123413/ilib.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; public interface Int<A,B> diff --git a/tests/src/Loader/classloader/regressions/123413/lib.cs b/tests/src/Loader/classloader/regressions/123413/lib.cs index fc91153ea5..9673f09c07 100644 --- a/tests/src/Loader/classloader/regressions/123413/lib.cs +++ b/tests/src/Loader/classloader/regressions/123413/lib.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; public class Base<A,B> diff --git a/tests/src/Loader/classloader/regressions/123413/testint.cs b/tests/src/Loader/classloader/regressions/123413/testint.cs index 686ebe74a5..eae2706666 100644 --- a/tests/src/Loader/classloader/regressions/123413/testint.cs +++ b/tests/src/Loader/classloader/regressions/123413/testint.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; // This test is basically a clone of a regression test diff --git a/tests/src/Loader/classloader/regressions/144257/vsw144257.cs b/tests/src/Loader/classloader/regressions/144257/vsw144257.cs index 7a27a3c887..5c31275107 100644 --- a/tests/src/Loader/classloader/regressions/144257/vsw144257.cs +++ b/tests/src/Loader/classloader/regressions/144257/vsw144257.cs @@ -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. +// See the LICENSE file in the project root for more information. // this is regression test for VSW1 144257 // Loading type C resulted in TypeLoadException diff --git a/tests/src/Loader/classloader/regressions/245191/nullenum1000.cs b/tests/src/Loader/classloader/regressions/245191/nullenum1000.cs index 8848b0db9e..1301df482a 100644 --- a/tests/src/Loader/classloader/regressions/245191/nullenum1000.cs +++ b/tests/src/Loader/classloader/regressions/245191/nullenum1000.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; using System.Collections; diff --git a/tests/src/Loader/classloader/regressions/359519/test359519.cs b/tests/src/Loader/classloader/regressions/359519/test359519.cs index 5a981ea694..4f7f7ae7ca 100644 --- a/tests/src/Loader/classloader/regressions/359519/test359519.cs +++ b/tests/src/Loader/classloader/regressions/359519/test359519.cs @@ -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. +// See the LICENSE file in the project root for more information. // this is a regression test for VSWhidbey 359519 // a struct Root, has a static field that appears earlier in the metadata than a valuetype instance field. diff --git a/tests/src/Loader/classloader/regressions/405223/vsw405223.cs b/tests/src/Loader/classloader/regressions/405223/vsw405223.cs index 8226b12a7c..7e188314bb 100644 --- a/tests/src/Loader/classloader/regressions/405223/vsw405223.cs +++ b/tests/src/Loader/classloader/regressions/405223/vsw405223.cs @@ -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. +// See the LICENSE file in the project root for more information. // Regression test for VSW 405223 // We shouldn't be able to cast from short[] to char[] or from char[] to short[] // since that is the behavior in Everett and we should be consistent in Whidbey. diff --git a/tests/src/Loader/classloader/regressions/434481/b434481_genericrecurinit.cs b/tests/src/Loader/classloader/regressions/434481/b434481_genericrecurinit.cs index 73993ab3a0..b3bf94afd1 100644 --- a/tests/src/Loader/classloader/regressions/434481/b434481_genericrecurinit.cs +++ b/tests/src/Loader/classloader/regressions/434481/b434481_genericrecurinit.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; internal class Program diff --git a/tests/src/Loader/classloader/regressions/dev10_851479/dev10_851479.cs b/tests/src/Loader/classloader/regressions/dev10_851479/dev10_851479.cs index 757505bd58..999fe618f0 100644 --- a/tests/src/Loader/classloader/regressions/dev10_851479/dev10_851479.cs +++ b/tests/src/Loader/classloader/regressions/dev10_851479/dev10_851479.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; /// <summary> diff --git a/tests/src/Loader/classloader/regressions/dev10_889822/dev10_889822.cs b/tests/src/Loader/classloader/regressions/dev10_889822/dev10_889822.cs index 372db0e06d..7269ca8361 100644 --- a/tests/src/Loader/classloader/regressions/dev10_889822/dev10_889822.cs +++ b/tests/src/Loader/classloader/regressions/dev10_889822/dev10_889822.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; using System.IO; diff --git a/tests/src/Loader/classloader/regressions/vsw111021/main.cs b/tests/src/Loader/classloader/regressions/vsw111021/main.cs index 9029c0dcde..fd1c3414a5 100644 --- a/tests/src/Loader/classloader/regressions/vsw111021/main.cs +++ b/tests/src/Loader/classloader/regressions/vsw111021/main.cs @@ -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. +// See the LICENSE file in the project root for more information. using System; public class CMain{ public static int Count = 0; diff --git a/tests/src/Loader/classloader/regressions/vsw307137/vsw307137.cs b/tests/src/Loader/classloader/regressions/vsw307137/vsw307137.cs index 16e997a2bb..c20c23eeda 100644 --- a/tests/src/Loader/classloader/regressions/vsw307137/vsw307137.cs +++ b/tests/src/Loader/classloader/regressions/vsw307137/vsw307137.cs @@ -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. +// See the LICENSE file in the project root for more information. // this is regression test for VSW 307137 /* |