Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2020-07-08 16:23:11 +0300
committerGitHub <noreply@github.com>2020-07-08 16:23:11 +0300
commit6072e4d3a7a2a1493f514cdf4be75a3d56580e84 (patch)
tree56dfb8a93d2c7ed655eb2d3f125205413d4c8f28 /src/tests/reflection
parentedbb5c89690919968e6aca79334a4fb849d586bc (diff)
Update license headers (#38793)
Diffstat (limited to 'src/tests/reflection')
-rw-r--r--src/tests/reflection/ActivateStructDefCtor/ActivateStructDefCtor.il1
-rw-r--r--src/tests/reflection/DefaultInterfaceMethods/Emit.cs1
-rw-r--r--src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapConsumer.cs1
-rw-r--r--src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapProvider.il1
-rw-r--r--src/tests/reflection/DefaultInterfaceMethods/InvokeConsumer.cs1
-rw-r--r--src/tests/reflection/DefaultInterfaceMethods/InvokeProvider.il1
-rw-r--r--src/tests/reflection/GenericAttribute/GenericAttributeMetadata.cs3
-rw-r--r--src/tests/reflection/Modifiers/modifiers.cs1
-rw-r--r--src/tests/reflection/Modifiers/modifiersdata.il1
-rw-r--r--src/tests/reflection/SetValue/TrySetReadonlyStaticField.cs1
-rw-r--r--src/tests/reflection/SetValue/TrySetReadonlyStaticField2.cs1
-rw-r--r--src/tests/reflection/StaticInterfaceMembers/consumer.cs3
-rw-r--r--src/tests/reflection/StaticInterfaceMembers/provider.il1
-rw-r--r--src/tests/reflection/Tier1Collectible/Tier1Collectible.cs1
-rw-r--r--src/tests/reflection/ldtoken/byrefs.il1
-rw-r--r--src/tests/reflection/ldtoken/ldtokenmember.il1
-rw-r--r--src/tests/reflection/ldtoken/modifiers.il1
-rw-r--r--src/tests/reflection/regression/dev10bugs/dev10_629953.cs1
-rw-r--r--src/tests/reflection/regression/github_25697/25697.cs1
-rw-r--r--src/tests/reflection/regression/hfa/hfaParam.cs1
-rw-r--r--src/tests/reflection/regression/reflectionrepromasterforsl/helper.cs3
21 files changed, 3 insertions, 24 deletions
diff --git a/src/tests/reflection/ActivateStructDefCtor/ActivateStructDefCtor.il b/src/tests/reflection/ActivateStructDefCtor/ActivateStructDefCtor.il
index 99349c42bf4..e80c0357271 100644
--- a/src/tests/reflection/ActivateStructDefCtor/ActivateStructDefCtor.il
+++ b/src/tests/reflection/ActivateStructDefCtor/ActivateStructDefCtor.il
@@ -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.
.assembly extern System.Runtime { auto }
diff --git a/src/tests/reflection/DefaultInterfaceMethods/Emit.cs b/src/tests/reflection/DefaultInterfaceMethods/Emit.cs
index 4cd872ad64b..029c941fcc1 100644
--- a/src/tests/reflection/DefaultInterfaceMethods/Emit.cs
+++ b/src/tests/reflection/DefaultInterfaceMethods/Emit.cs
@@ -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;
using System.Collections.Generic;
diff --git a/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapConsumer.cs b/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapConsumer.cs
index 845cf490055..e7fbcaeb7dc 100644
--- a/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapConsumer.cs
+++ b/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapConsumer.cs
@@ -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;
using System.Reflection;
diff --git a/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapProvider.il b/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapProvider.il
index 9ad1a7db4fd..b9fedaace22 100644
--- a/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapProvider.il
+++ b/src/tests/reflection/DefaultInterfaceMethods/GetInterfaceMapProvider.il
@@ -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.
.assembly extern mscorlib { }
diff --git a/src/tests/reflection/DefaultInterfaceMethods/InvokeConsumer.cs b/src/tests/reflection/DefaultInterfaceMethods/InvokeConsumer.cs
index 247b830b24b..c74906775cb 100644
--- a/src/tests/reflection/DefaultInterfaceMethods/InvokeConsumer.cs
+++ b/src/tests/reflection/DefaultInterfaceMethods/InvokeConsumer.cs
@@ -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;
diff --git a/src/tests/reflection/DefaultInterfaceMethods/InvokeProvider.il b/src/tests/reflection/DefaultInterfaceMethods/InvokeProvider.il
index 4c430895711..df38551252f 100644
--- a/src/tests/reflection/DefaultInterfaceMethods/InvokeProvider.il
+++ b/src/tests/reflection/DefaultInterfaceMethods/InvokeProvider.il
@@ -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.
.assembly extern mscorlib { }
diff --git a/src/tests/reflection/GenericAttribute/GenericAttributeMetadata.cs b/src/tests/reflection/GenericAttribute/GenericAttributeMetadata.cs
index 1c6ce4207bd..d0ef6353f4a 100644
--- a/src/tests/reflection/GenericAttribute/GenericAttributeMetadata.cs
+++ b/src/tests/reflection/GenericAttribute/GenericAttributeMetadata.cs
@@ -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.
//
@@ -75,4 +74,4 @@ public class Class
[MultiAttribute<bool>()]
[MultiAttribute<bool>(true)]
public int Property { get; set; }
-} \ No newline at end of file
+}
diff --git a/src/tests/reflection/Modifiers/modifiers.cs b/src/tests/reflection/Modifiers/modifiers.cs
index 7f6fde57061..a899ede4f31 100644
--- a/src/tests/reflection/Modifiers/modifiers.cs
+++ b/src/tests/reflection/Modifiers/modifiers.cs
@@ -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;
using System.Reflection;
diff --git a/src/tests/reflection/Modifiers/modifiersdata.il b/src/tests/reflection/Modifiers/modifiersdata.il
index 33fd935d320..0eea09145fa 100644
--- a/src/tests/reflection/Modifiers/modifiersdata.il
+++ b/src/tests/reflection/Modifiers/modifiersdata.il
@@ -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.
.assembly extern mscorlib { }
.assembly modifiersdata { }
diff --git a/src/tests/reflection/SetValue/TrySetReadonlyStaticField.cs b/src/tests/reflection/SetValue/TrySetReadonlyStaticField.cs
index 7a5d726f37c..e3edc917202 100644
--- a/src/tests/reflection/SetValue/TrySetReadonlyStaticField.cs
+++ b/src/tests/reflection/SetValue/TrySetReadonlyStaticField.cs
@@ -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;
using System.Reflection;
diff --git a/src/tests/reflection/SetValue/TrySetReadonlyStaticField2.cs b/src/tests/reflection/SetValue/TrySetReadonlyStaticField2.cs
index 80b9b497b31..9d81de670e5 100644
--- a/src/tests/reflection/SetValue/TrySetReadonlyStaticField2.cs
+++ b/src/tests/reflection/SetValue/TrySetReadonlyStaticField2.cs
@@ -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;
using System.Reflection;
diff --git a/src/tests/reflection/StaticInterfaceMembers/consumer.cs b/src/tests/reflection/StaticInterfaceMembers/consumer.cs
index c5e8f20736a..7775c4c0586 100644
--- a/src/tests/reflection/StaticInterfaceMembers/consumer.cs
+++ b/src/tests/reflection/StaticInterfaceMembers/consumer.cs
@@ -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;
using System.Reflection;
@@ -32,4 +31,4 @@ class Program
return 100;
}
-} \ No newline at end of file
+}
diff --git a/src/tests/reflection/StaticInterfaceMembers/provider.il b/src/tests/reflection/StaticInterfaceMembers/provider.il
index 8ce9d85ed89..13c0128be8f 100644
--- a/src/tests/reflection/StaticInterfaceMembers/provider.il
+++ b/src/tests/reflection/StaticInterfaceMembers/provider.il
@@ -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.
.assembly provider { }
diff --git a/src/tests/reflection/Tier1Collectible/Tier1Collectible.cs b/src/tests/reflection/Tier1Collectible/Tier1Collectible.cs
index 14bbe57c88d..3214f396d9f 100644
--- a/src/tests/reflection/Tier1Collectible/Tier1Collectible.cs
+++ b/src/tests/reflection/Tier1Collectible/Tier1Collectible.cs
@@ -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;
using System.Reflection;
diff --git a/src/tests/reflection/ldtoken/byrefs.il b/src/tests/reflection/ldtoken/byrefs.il
index d0009b3624e..94f43d9df68 100644
--- a/src/tests/reflection/ldtoken/byrefs.il
+++ b/src/tests/reflection/ldtoken/byrefs.il
@@ -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.
//
// This test makes sure that ByRef types are properly unified by the reflection stack
diff --git a/src/tests/reflection/ldtoken/ldtokenmember.il b/src/tests/reflection/ldtoken/ldtokenmember.il
index f67d73c8c66..3d9f38e5442 100644
--- a/src/tests/reflection/ldtoken/ldtokenmember.il
+++ b/src/tests/reflection/ldtoken/ldtokenmember.il
@@ -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.
.assembly extern mscorlib
{
diff --git a/src/tests/reflection/ldtoken/modifiers.il b/src/tests/reflection/ldtoken/modifiers.il
index a0026dbbd8c..5b0ea00e458 100644
--- a/src/tests/reflection/ldtoken/modifiers.il
+++ b/src/tests/reflection/ldtoken/modifiers.il
@@ -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.
.assembly extern System.Runtime { auto }
.assembly modifiers { }
diff --git a/src/tests/reflection/regression/dev10bugs/dev10_629953.cs b/src/tests/reflection/regression/dev10bugs/dev10_629953.cs
index b236b27863f..9a7706727cc 100644
--- a/src/tests/reflection/regression/dev10bugs/dev10_629953.cs
+++ b/src/tests/reflection/regression/dev10bugs/dev10_629953.cs
@@ -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.
// Regression case for:
// CoreCLR => Dev10 #629953 - SL4: User Breaking Change: Enum.IsDefined no longer throws an ArgumentException in invalid cases
// Desktop => Dev10 #766944 - Breaking change follow up: Enum.IsDefined no longer throws an ArgumentException in invalid cases (This bug should be fixed, if 629953 is fixed for Silverlight)
diff --git a/src/tests/reflection/regression/github_25697/25697.cs b/src/tests/reflection/regression/github_25697/25697.cs
index 36284608499..440047d3a50 100644
--- a/src/tests/reflection/regression/github_25697/25697.cs
+++ b/src/tests/reflection/regression/github_25697/25697.cs
@@ -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;
using System.Reflection;
diff --git a/src/tests/reflection/regression/hfa/hfaParam.cs b/src/tests/reflection/regression/hfa/hfaParam.cs
index 2368a03145a..13d177dcf67 100644
--- a/src/tests/reflection/regression/hfa/hfaParam.cs
+++ b/src/tests/reflection/regression/hfa/hfaParam.cs
@@ -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;
diff --git a/src/tests/reflection/regression/reflectionrepromasterforsl/helper.cs b/src/tests/reflection/regression/reflectionrepromasterforsl/helper.cs
index a55940f7056..ea2bd09c71a 100644
--- a/src/tests/reflection/regression/reflectionrepromasterforsl/helper.cs
+++ b/src/tests/reflection/regression/reflectionrepromasterforsl/helper.cs
@@ -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;
using System.Security;
@@ -29,4 +28,4 @@ public class Helper
{
Console.WriteLine("FAIL: Helper.InternalSecurityCriticalMethod is called!");
}
-} \ No newline at end of file
+}