Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #109 from akoeplinger/license-header
Browse files Browse the repository at this point in the history
Add license headers to .cs files
  • Loading branch information
weshaggard committed Nov 28, 2016
2 parents fdd312a + 6a92089 commit ec132d7
Show file tree
Hide file tree
Showing 125 changed files with 500 additions and 24 deletions.
6 changes: 5 additions & 1 deletion extensions/accesscontrols/accesscontrols.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -1019,4 +1023,4 @@ public partial class PipeSecurity : System.Security.AccessControl.NativeObjectSe
public void SetAccessRule(System.IO.Pipes.PipeAccessRule rule) { }
public void SetAuditRule(System.IO.Pipes.PipeAuditRule rule) { }
}
}
}
6 changes: 5 additions & 1 deletion extensions/cas/cas.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
public sealed partial class AppDomain : System.MarshalByRefObject
Expand Down Expand Up @@ -1840,4 +1844,4 @@ public enum AspNetHostingPermissionLevel
None = 100,
Unrestricted = 600,
}
}
}
6 changes: 5 additions & 1 deletion extensions/codedom/codedom.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -1401,4 +1405,4 @@ public partial class SchemaImporterExtensionCollection : System.Collections.Coll
public void Remove(string name) { }
public void Remove(System.Xml.Serialization.Advanced.SchemaImporterExtension extension) { }
}
}
}
6 changes: 5 additions & 1 deletion extensions/crypto/crypto.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -223,4 +227,4 @@ public sealed partial class SHA512CryptoServiceProvider : System.Security.Crypto
protected override byte[] HashFinal() { throw null; }
public override void Initialize() { }
}
}
}
6 changes: 5 additions & 1 deletion extensions/eventing/eventing.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -434,4 +438,4 @@ public enum StandardEventTask
{
None = 0,
}
}
}
4 changes: 4 additions & 0 deletions extensions/eventlog/eventlog.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down
6 changes: 5 additions & 1 deletion extensions/interop/interop.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -941,4 +945,4 @@ public sealed partial class WriteOnlyArrayAttribute : System.Attribute
{
public WriteOnlyArrayAttribute() { }
}
}
}
6 changes: 5 additions & 1 deletion extensions/misc/misc.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -55,4 +59,4 @@ public sealed partial class ValueSerializerAttribute : System.Attribute
public System.Type ValueSerializerType { get { throw null; } }
public string ValueSerializerTypeName { get { throw null; } }
}
}
}
6 changes: 5 additions & 1 deletion extensions/mswin32/mswin32.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -159,4 +163,4 @@ public sealed partial class SystemSounds
public static System.Media.SystemSound Hand { get { throw null; } }
public static System.Media.SystemSound Question { get { throw null; } }
}
}
}
6 changes: 5 additions & 1 deletion extensions/perfcounters/perfcounters.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -310,4 +314,4 @@ public enum CounterType
SampleCounter = 4260864,
SampleFraction = 549585920,
}
}
}
6 changes: 5 additions & 1 deletion extensions/reflection.emit/reflection.emit.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
public sealed partial class AppDomain : System.MarshalByRefObject, System.Security.IEvidenceFactory
Expand Down Expand Up @@ -911,4 +915,4 @@ public partial class RegexCompilationInfo
public System.Text.RegularExpressions.RegexOptions Options { get { throw null; } set { } }
public string Pattern { get { throw null; } set { } }
}
}
}
4 changes: 4 additions & 0 deletions extensions/registry/registry.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down
6 changes: 5 additions & 1 deletion extensions/remoting/remoting.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
public sealed partial class Activator
Expand Down Expand Up @@ -1726,4 +1730,4 @@ public enum TrustStatus
UnknownIdentity = 1,
Untrusted = 0,
}
}
}
6 changes: 5 additions & 1 deletion extensions/serialport/serialport.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -171,4 +175,4 @@ public enum StopBits
OnePointFive = 3,
Two = 2,
}
}
}
4 changes: 4 additions & 0 deletions extensions/tracelisteners/tracelisteners.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down
6 changes: 5 additions & 1 deletion extensions/windowsidentity/windowsidentity.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -248,4 +252,4 @@ public partial class WindowsPrincipal : System.Security.Claims.ClaimsPrincipal
public virtual bool IsInRole(System.Security.Principal.WindowsBuiltInRole role) { throw null; }
public override bool IsInRole(string role) { throw null; }
}
}
}
6 changes: 5 additions & 1 deletion extensions/wmi/wmi.cs
@@ -1,3 +1,7 @@
// 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.

/*
APIs removed/broken by this factoring:
Expand Down Expand Up @@ -133,4 +137,4 @@ public sealed partial class WmiConfigurationAttribute : System.Attribute
public string Scope { get { throw null; } }
public string SecurityRestriction { get { throw null; } set { } }
}
}
}
4 changes: 4 additions & 0 deletions netstandard/ref/System.Core.cs
@@ -1,3 +1,7 @@
// 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.

namespace Microsoft.Win32.SafeHandles
{
public sealed partial class SafeMemoryMappedFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Expand Down
6 changes: 5 additions & 1 deletion netstandard/ref/System.Data.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Data
{
public enum AcceptRejectRule
Expand Down Expand Up @@ -3255,4 +3259,4 @@ public enum StorageState
Stream = 1,
UnmanagedBuffer = 2,
}
}
}
6 changes: 5 additions & 1 deletion netstandard/ref/System.Drawing.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Drawing
{
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
Expand Down Expand Up @@ -520,4 +524,4 @@ public partial struct SizeF
public System.Drawing.Size ToSize() { throw null; }
public override string ToString() { throw null; }
}
}
}
4 changes: 4 additions & 0 deletions netstandard/ref/System.IO.Compression.FileSystem.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.IO.Compression
{
public static partial class ZipFile
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.IO.Compression.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.IO.Compression
{
public partial class ZipArchive : System.IDisposable
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.Net.Http.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Net.Http
{
public partial class ByteArrayContent : System.Net.Http.HttpContent
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.Numerics.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Numerics
{
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.Runtime.Serialization.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Runtime.Serialization
{
[System.AttributeUsageAttribute((System.AttributeTargets)(12), Inherited=false, AllowMultiple=false)]
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.Web.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Web
{
public sealed partial class HttpUtility
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.Xml.Linq.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Xml.Linq
{
public static partial class Extensions
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.Xml.cs
@@ -1,3 +1,7 @@
// 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.

namespace System.Xml
{
public enum ConformanceLevel
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/System.cs
@@ -1,3 +1,7 @@
// 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.

namespace Microsoft.Win32.SafeHandles
{
public sealed partial class SafeProcessHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Expand Down
4 changes: 4 additions & 0 deletions netstandard/ref/license-header.txt
@@ -0,0 +1,4 @@
// 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.

6 changes: 5 additions & 1 deletion netstandard/ref/mscorlib.appdomain.cs
@@ -1,3 +1,7 @@
// 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.


namespace System
{
Expand Down Expand Up @@ -195,4 +199,4 @@ public partial class CannotUnloadAppDomainException : System.SystemException
public CannotUnloadAppDomainException(string message) { }
public CannotUnloadAppDomainException(string message, System.Exception innerException) { }
}
}
}
4 changes: 4 additions & 0 deletions netstandard/ref/mscorlib.cs
@@ -1,3 +1,7 @@
// 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.

namespace Microsoft.Win32.SafeHandles
{
public abstract partial class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle
Expand Down
4 changes: 4 additions & 0 deletions platforms/net461/System.ComponentModel.Composition.cs
@@ -1,3 +1,7 @@
// 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.

namespace System
{
public partial class Lazy<T, TMetadata> : System.Lazy<T>
Expand Down
4 changes: 4 additions & 0 deletions platforms/net461/System.Core.cs
@@ -1,3 +1,7 @@
// 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.

namespace Microsoft.Win32.SafeHandles
{
public sealed partial class SafeMemoryMappedFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Expand Down
4 changes: 4 additions & 0 deletions platforms/net461/System.Data.cs
@@ -1,3 +1,7 @@
// 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.

namespace Microsoft.SqlServer.Server
{
public enum DataAccessKind
Expand Down

0 comments on commit ec132d7

Please sign in to comment.