Skip to content

Commit 6954541

Browse files
authored
Merge pull request dotnet#74 from dotnet/dev/stevenbrix/add_headers
fixing missing license headers
2 parents b919183 + 7f1970c commit 6954541

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+228
-179
lines changed

src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/FriendAccessAllowedAttribute.cs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// Description: Implementation of a FriendAccessAllowedAttribute attribute that is used to mark internal metadata
66
// that is allowed to be accessed from friend assemblies.
77

8-
98
using System;
109

1110
#if WINDOWS_BASE

src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SecurityCriticalDataForSet.cs

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
//
6-
//
75
// Description:
86
// This is a helper class to facilate the storage of data that's Critical for set.
97
// The data itself is not information disclosure but the value controls a critical
108
// operation.
119
//
1210
// For example a filepath variable might control what part of the file system the
1311
// code gets access to.
14-
//
15-
// History:
16-
// 01/30/05 : Microsoft Created.
17-
//
12+
1813
using System ;
1914
using System.Security ;
2015

src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/Xaml/Parser/SpecialBracketCharacters.cs

-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
//
6-
//
75
// Description: Data model for the Bracket characters specified on a Markup Extension property.
8-
//
96

107
using System;
118
using System.Collections;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/BindUriHelper.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.IO;
37
using System.Net; // HttpWebRequest

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/FrugalList.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
65
using System;
76
using System.Diagnostics;
87
using System.Collections;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/FrugalMap.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//---------------------------------------------------------------------------
2-
//
3-
// Copyright (C) Microsoft Corporation. All rights reserved.
4-
//
5-
//---------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
using System;
86
using System.Diagnostics;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/ItemList.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using MS.Internal.WindowsBase;
37

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/ItemMap.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.Collections;
37
using System.Diagnostics;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/Maps.cs

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
/***************************************************************************\
2-
*
3-
* File: Maps.cs
4-
*
5-
* Description:
6-
* Contains specialized data structures for mapping a key to data.
7-
*
8-
* Copyright (C) 2002 by Microsoft Corporation. All rights reserved.
9-
*
10-
\***************************************************************************/
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
114

125
using System;
136
using System.Collections;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/PerfService.cs

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
//---------------------------------------------------------------------------
2-
// <copyright file="PerfService.cs" company="Microsoft">
3-
// Copyright (C) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
65
// Description: Implements the Service class for perf diagnostics
7-
//---------------------------------------------------------------------------
86

97
using System;
108
using System.Text;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/Trace.cs

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
/***************************************************************************\
2-
*
3-
* File: Trace.cs
4-
*
5-
* Description:
6-
* Implements ETW tracing for Avalon Managed Code
7-
*
8-
* Copyright (C) 2001 by Microsoft Corporation. All rights reserved.
9-
*
10-
\***************************************************************************/
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
// Implements ETW tracing for Avalon Managed Code
6+
117
#if !SILVERLIGHTXAML
128

139
using System.Collections;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/TraceProvider.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
//---------------------------------------------------------------------------
2-
// File: TraceProvider
3-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
45
// A Managed wrapper for Event Tracing for Windows
56
// Based on TraceEvent.cs found in nt\base\wmi\trace.net
67
// Provides an internal Avalon API to replace Microsoft.Windows.EventTracing.dll
7-
//
8-
//---------------------------------------------------------------------------
8+
99
#if !SILVERLIGHTXAML
1010
using System;
1111
using MS.Win32;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/ExternDll.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
14

25
using System;
36
namespace MS.Win32

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/HandleCollector.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using MS.Win32 ;
37
using System.Runtime.InteropServices;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/HwndSubclass.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.Runtime.InteropServices;
37
using System.Security.Permissions;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/HwndWrapper.cs

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
//------------------------------------------------------------------------------
2-
// Microsoft Avalon
3-
// Copyright (c) Microsoft Corporation, 2004
4-
//
5-
// File: HwndWrapper.cs
6-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
75
using System;
86
using System.Security;
97
using System.Security.Permissions;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/HwndWrapperHook.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.Security;
37
using System.Security.Permissions;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/LoadLibraryHelper.cs

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
//---------------------------------------------------------------------------
2-
//
3-
// <copyright file="LoadLibraryHelper.cs" company="Microsoft">
4-
// Copyright (C) Microsoft Corporation. All rights reserved.
5-
// </copyright>
6-
//
7-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
85
// Description: Helper class for calling LoadLibrary using SEARCH_SYSTEM32 when possible
9-
//
10-
//---------------------------------------------------------------------------
116

127
namespace MS.Win32
138
{

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/ManagedWndProcTracker.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
//#define LOGGING
26

37
using System;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/MessageOnlyHwndWrapper.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
14

25
using System;
36
using System.Threading;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/NativeMethodsCLR.cs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
#pragma warning disable 649 // Disable CS0649: "field is never assigned to"
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
24

3-
//------------------------------------------------------------------------------
4-
//------------------------------------------------------------------------------
5+
#pragma warning disable 649 // Disable CS0649: "field is never assigned to"
56

67
namespace MS.Win32 {
78
using Accessibility;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/NativeMethodsOther.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
34

45
namespace MS.Win32
56
{

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/NativeMethodsSetLastError.cs

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
//---------------------------------------------------------------------------
2-
//
3-
// <copyright file="NativeMethodsSetLastError.cs" company="Microsoft">
4-
// Copyright (C) Microsoft Corporation. All rights reserved.
5-
// </copyright>
6-
//
7-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
85
// Description: P/Invokes for methods that need to call SetLastError(0)
9-
//
10-
//---------------------------------------------------------------------------
116

127
// The NativeMethodsSetLastError class differs between assemblies and could not actually be
138
// shared, so it is duplicated across namespaces to prevent name collision.

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/SafeNativeMethodsCLR.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="SafeNativeMethods.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
namespace MS.Win32
86
{

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/SafeNativeMethodsOther.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="SafeNativeMethods.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
namespace MS.Win32 {
86
using System.Runtime.InteropServices;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/SafeSystemMetrics.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
//------------------------------------------------------------------------------
2-
// Microsoft Avalon
3-
// Copyright (c) Microsoft Corporation, 2004
4-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
55
// File: SafeSystemMetrics.cs
66
// This class is copied from the system metrics class in frameworks. The
77
// reason it exists is to consolidate all system metric calls through one layer
88
// so that maintenance from a security stand point gets easier. We will add
99
// mertrics on a need basis. The caching code is removed since the original calls
1010
// that were moved here do not rely on caching. If there is a percieved perf. problem
1111
// we can work on enabling this.
12-
//------------------------------------------------------------------------------
12+
1313
using System;
1414
using System.Collections;
1515
using System.Runtime.InteropServices;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/UnsafeNativeMethodsCLR.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="UnsafeNativeMethods.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
namespace MS.Win32
86
{

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/UnsafeNativeMethodsCompiler.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="UnsafeNativeMethodsCompiler.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
using System;
86
using System.Text;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/UnsafeNativeMethodsEventTrace.cs

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="EventTraceNativeMethods.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
6-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
75
#if !SILVERLIGHTXAML
86

97
using System;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/UnsafeNativeMethodsOther.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="UnsafeNativeMethods.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
using System.Threading;
86
using System.ComponentModel;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/UnsafeNativeMethodsTextServices.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
//------------------------------------------------------------------------------
2-
// <copyright file="UnsafeNativeMethods.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
5-
//------------------------------------------------------------------------------
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
64

75
using System.Threading;
86
using System.ComponentModel;

src/Microsoft.DotNet.Wpf/src/Shared/MS/Win32/WinInet.cs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.Security;
37
using System.Runtime.InteropServices;

src/Microsoft.DotNet.Wpf/src/Shared/RefAssemblyAttrs.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// DO NOT Edit this file w/o consulting with WPF Dev Manager
2-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
35
// The C++ version of these definitions is in inc\BuildInfo.hxx.
46

57
using System;

0 commit comments

Comments
 (0)