From: Andrew Au Date: Mon, 24 Jun 2019 19:14:41 +0000 (-0700) Subject: Standardize license header for all C# files (#361) X-Git-Tag: submit/tizen/20190813.035844~4^2^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a37afe8d86522d03bbdb89ca7afb2d29c4841219;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Standardize license header for all C# files (#361) --- diff --git a/src/Microsoft.Diagnostics.Repl/Command/Attributes.cs b/src/Microsoft.Diagnostics.Repl/Command/Attributes.cs index b902cd3ce..2264e6241 100644 --- a/src/Microsoft.Diagnostics.Repl/Command/Attributes.cs +++ b/src/Microsoft.Diagnostics.Repl/Command/Attributes.cs @@ -1,8 +1,7 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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; namespace Microsoft.Diagnostics.Repl diff --git a/src/Microsoft.Diagnostics.Repl/Command/CommandBase.cs b/src/Microsoft.Diagnostics.Repl/Command/CommandBase.cs index 73d458067..cf6238cec 100644 --- a/src/Microsoft.Diagnostics.Repl/Command/CommandBase.cs +++ b/src/Microsoft.Diagnostics.Repl/Command/CommandBase.cs @@ -1,8 +1,7 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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.CommandLine; using System.CommandLine.Invocation; diff --git a/src/Microsoft.Diagnostics.Repl/Command/CommandProcessor.cs b/src/Microsoft.Diagnostics.Repl/Command/CommandProcessor.cs index c36655c11..4efec289e 100644 --- a/src/Microsoft.Diagnostics.Repl/Command/CommandProcessor.cs +++ b/src/Microsoft.Diagnostics.Repl/Command/CommandProcessor.cs @@ -1,8 +1,6 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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/src/Microsoft.Diagnostics.Repl/Console/CharToLineConverter.cs b/src/Microsoft.Diagnostics.Repl/Console/CharToLineConverter.cs index ea3f3898e..323b27bbd 100644 --- a/src/Microsoft.Diagnostics.Repl/Console/CharToLineConverter.cs +++ b/src/Microsoft.Diagnostics.Repl/Console/CharToLineConverter.cs @@ -1,8 +1,6 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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.Text; diff --git a/src/Microsoft.Diagnostics.Repl/Console/ConsoleProvider.cs b/src/Microsoft.Diagnostics.Repl/Console/ConsoleProvider.cs index 5cabdfe2c..71958b917 100644 --- a/src/Microsoft.Diagnostics.Repl/Console/ConsoleProvider.cs +++ b/src/Microsoft.Diagnostics.Repl/Console/ConsoleProvider.cs @@ -1,8 +1,7 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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; using System.CommandLine; diff --git a/src/Microsoft.Diagnostics.Repl/Console/OutputType.cs b/src/Microsoft.Diagnostics.Repl/Console/OutputType.cs index 26b65aad2..53fb714f8 100644 --- a/src/Microsoft.Diagnostics.Repl/Console/OutputType.cs +++ b/src/Microsoft.Diagnostics.Repl/Console/OutputType.cs @@ -1,8 +1,6 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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.Diagnostics.Repl { diff --git a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcClient.cs b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcClient.cs index 7139d1b37..7897f0539 100644 --- a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcClient.cs +++ b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcClient.cs @@ -1,4 +1,8 @@ -using System; +// 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; using System.IO; using System.IO.Pipes; diff --git a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcCommands.cs b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcCommands.cs index 5aff4eda0..eea08e478 100644 --- a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcCommands.cs +++ b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcCommands.cs @@ -1,4 +1,8 @@ -using System; +// 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; using System.Text; diff --git a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcHeader.cs b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcHeader.cs index 14269febe..641c0e95d 100644 --- a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcHeader.cs +++ b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcHeader.cs @@ -1,4 +1,8 @@ -using System; +// 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; using System.Diagnostics; using System.IO; diff --git a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcMessage.cs b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcMessage.cs index ad299929a..dc73a5a22 100644 --- a/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcMessage.cs +++ b/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcMessage.cs @@ -1,4 +1,8 @@ -using System; +// 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; using System.IO; using System.Text; diff --git a/src/Tools/Common/CommandLineException.cs b/src/Tools/Common/CommandLineException.cs index 51bd2a10b..03b07766e 100644 --- a/src/Tools/Common/CommandLineException.cs +++ b/src/Tools/Common/CommandLineException.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. + using System; using System.Runtime.Serialization; diff --git a/src/Tools/Common/ConsoleCancellation.cs b/src/Tools/Common/ConsoleCancellation.cs index 34e9c2bdf..28fecac7e 100644 --- a/src/Tools/Common/ConsoleCancellation.cs +++ b/src/Tools/Common/ConsoleCancellation.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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.Threading; using System.Threading.Tasks; diff --git a/src/Tools/Common/DebugUtil.cs b/src/Tools/Common/DebugUtil.cs index 41ef4b321..d3dcc6dfa 100644 --- a/src/Tools/Common/DebugUtil.cs +++ b/src/Tools/Common/DebugUtil.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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.Diagnostics; diff --git a/src/Tools/dotnet-analyze/AnalysisSession.cs b/src/Tools/dotnet-analyze/AnalysisSession.cs index 174a032b2..243e28709 100644 --- a/src/Tools/dotnet-analyze/AnalysisSession.cs +++ b/src/Tools/dotnet-analyze/AnalysisSession.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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 Microsoft.Diagnostics.Tracing.Etlx; diff --git a/src/Tools/dotnet-analyze/AsyncHangAnalyzer.cs b/src/Tools/dotnet-analyze/AsyncHangAnalyzer.cs index 22f973c05..381dd7ba2 100644 --- a/src/Tools/dotnet-analyze/AsyncHangAnalyzer.cs +++ b/src/Tools/dotnet-analyze/AsyncHangAnalyzer.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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.Threading.Tasks; using McMaster.Extensions.CommandLineUtils; diff --git a/src/Tools/dotnet-analyze/ClrMdExtensions.cs b/src/Tools/dotnet-analyze/ClrMdExtensions.cs index 9ae63920e..3458e289f 100644 --- a/src/Tools/dotnet-analyze/ClrMdExtensions.cs +++ b/src/Tools/dotnet-analyze/ClrMdExtensions.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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 Microsoft.Diagnostics.Runtime; diff --git a/src/Tools/dotnet-analyze/CommandProcessor.cs b/src/Tools/dotnet-analyze/CommandProcessor.cs index 69fb222b2..d4324f87b 100644 --- a/src/Tools/dotnet-analyze/CommandProcessor.cs +++ b/src/Tools/dotnet-analyze/CommandProcessor.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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/Tools/dotnet-analyze/Commands/DumpCommandBase.cs b/src/Tools/dotnet-analyze/Commands/DumpCommandBase.cs index 73e950878..7f03d8274 100644 --- a/src/Tools/dotnet-analyze/Commands/DumpCommandBase.cs +++ b/src/Tools/dotnet-analyze/Commands/DumpCommandBase.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. + using System.Collections.Generic; using System.Threading.Tasks; using McMaster.Extensions.CommandLineUtils; diff --git a/src/Tools/dotnet-analyze/Commands/DumpHeapCommand.cs b/src/Tools/dotnet-analyze/Commands/DumpHeapCommand.cs index 774485264..31ae92df7 100644 --- a/src/Tools/dotnet-analyze/Commands/DumpHeapCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/DumpHeapCommand.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. + using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Tools/dotnet-analyze/Commands/DumpStackCommand.cs b/src/Tools/dotnet-analyze/Commands/DumpStackCommand.cs index 4fc5163d5..fad0b3dc3 100644 --- a/src/Tools/dotnet-analyze/Commands/DumpStackCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/DumpStackCommand.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. + using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Tools/dotnet-analyze/Commands/EventStackCommand.cs b/src/Tools/dotnet-analyze/Commands/EventStackCommand.cs index 1f4e0ee86..ff097f970 100644 --- a/src/Tools/dotnet-analyze/Commands/EventStackCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/EventStackCommand.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. + using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Tools/dotnet-analyze/Commands/IAnalysisCommand.cs b/src/Tools/dotnet-analyze/Commands/IAnalysisCommand.cs index edd056169..8aec791f3 100644 --- a/src/Tools/dotnet-analyze/Commands/IAnalysisCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/IAnalysisCommand.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. + using System.Collections.Generic; using System.Threading.Tasks; using McMaster.Extensions.CommandLineUtils; diff --git a/src/Tools/dotnet-analyze/Commands/InfoCommand.cs b/src/Tools/dotnet-analyze/Commands/InfoCommand.cs index 144a82e44..00a162645 100644 --- a/src/Tools/dotnet-analyze/Commands/InfoCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/InfoCommand.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. + using System.Collections.Generic; using System.Threading.Tasks; using McMaster.Extensions.CommandLineUtils; diff --git a/src/Tools/dotnet-analyze/Commands/LogsCommand.cs b/src/Tools/dotnet-analyze/Commands/LogsCommand.cs index de2651875..38ec88cfc 100644 --- a/src/Tools/dotnet-analyze/Commands/LogsCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/LogsCommand.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. + using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Tools/dotnet-analyze/Commands/RequestsCommand.cs b/src/Tools/dotnet-analyze/Commands/RequestsCommand.cs index ed0a1a135..36af2a003 100644 --- a/src/Tools/dotnet-analyze/Commands/RequestsCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/RequestsCommand.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. + using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Tools/dotnet-analyze/Commands/ThreadsCommand.cs b/src/Tools/dotnet-analyze/Commands/ThreadsCommand.cs index d05ae0dd7..5aa642865 100644 --- a/src/Tools/dotnet-analyze/Commands/ThreadsCommand.cs +++ b/src/Tools/dotnet-analyze/Commands/ThreadsCommand.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. + using System.Collections.Generic; using System.Threading.Tasks; using McMaster.Extensions.CommandLineUtils; diff --git a/src/Tools/dotnet-analyze/Commands/TraceCommandBase.cs b/src/Tools/dotnet-analyze/Commands/TraceCommandBase.cs index 6b62cf066..9729550c2 100644 --- a/src/Tools/dotnet-analyze/Commands/TraceCommandBase.cs +++ b/src/Tools/dotnet-analyze/Commands/TraceCommandBase.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. + using System.Collections.Generic; using System.Threading.Tasks; using McMaster.Extensions.CommandLineUtils; diff --git a/src/Tools/dotnet-analyze/LogMessage.cs b/src/Tools/dotnet-analyze/LogMessage.cs index c0c0bf5f0..09050666f 100644 --- a/src/Tools/dotnet-analyze/LogMessage.cs +++ b/src/Tools/dotnet-analyze/LogMessage.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. + using System; using System.Collections.Generic; using Microsoft.Diagnostics.Tracing; diff --git a/src/Tools/dotnet-analyze/MemoryDump.cs b/src/Tools/dotnet-analyze/MemoryDump.cs index e94b023b5..17dccd669 100644 --- a/src/Tools/dotnet-analyze/MemoryDump.cs +++ b/src/Tools/dotnet-analyze/MemoryDump.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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/Tools/dotnet-analyze/Program.cs b/src/Tools/dotnet-analyze/Program.cs index f851b74f2..8415fa200 100644 --- a/src/Tools/dotnet-analyze/Program.cs +++ b/src/Tools/dotnet-analyze/Program.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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/Tools/dotnet-dump/AnalyzeContext.cs b/src/Tools/dotnet-dump/AnalyzeContext.cs index 3f75566d2..fae01c05b 100644 --- a/src/Tools/dotnet-dump/AnalyzeContext.cs +++ b/src/Tools/dotnet-dump/AnalyzeContext.cs @@ -1,8 +1,7 @@ -// -------------------------------------------------------------------- -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// -------------------------------------------------------------------- +// 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 Microsoft.Diagnostics.Runtime; using Microsoft.SymbolStore; using Microsoft.SymbolStore.KeyGenerators; diff --git a/src/Tools/dotnet-dump/Analyzer.cs b/src/Tools/dotnet-dump/Analyzer.cs index 7682840f1..f92d79edd 100644 --- a/src/Tools/dotnet-dump/Analyzer.cs +++ b/src/Tools/dotnet-dump/Analyzer.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. + using Microsoft.Diagnostics.Repl; using Microsoft.Diagnostics.Runtime; using SOS; diff --git a/src/Tools/dotnet-dump/Commands/ClrModulesCommand.cs b/src/Tools/dotnet-dump/Commands/ClrModulesCommand.cs index c46df3cec..9c2a32287 100644 --- a/src/Tools/dotnet-dump/Commands/ClrModulesCommand.cs +++ b/src/Tools/dotnet-dump/Commands/ClrModulesCommand.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 Microsoft.Diagnostics.Repl; using Microsoft.Diagnostics.Runtime; diff --git a/src/Tools/dotnet-dump/Commands/ExitCommand.cs b/src/Tools/dotnet-dump/Commands/ExitCommand.cs index a35e6b130..a7dcaa592 100644 --- a/src/Tools/dotnet-dump/Commands/ExitCommand.cs +++ b/src/Tools/dotnet-dump/Commands/ExitCommand.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 Microsoft.Diagnostics.Repl; using System.CommandLine; diff --git a/src/Tools/dotnet-dump/Commands/HelpCommand.cs b/src/Tools/dotnet-dump/Commands/HelpCommand.cs index 7aa371c52..2a1289090 100644 --- a/src/Tools/dotnet-dump/Commands/HelpCommand.cs +++ b/src/Tools/dotnet-dump/Commands/HelpCommand.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. + using Microsoft.Diagnostics.Repl; using System.CommandLine; diff --git a/src/Tools/dotnet-dump/Commands/ModulesCommand.cs b/src/Tools/dotnet-dump/Commands/ModulesCommand.cs index 6b0417558..2bbb4f2fd 100644 --- a/src/Tools/dotnet-dump/Commands/ModulesCommand.cs +++ b/src/Tools/dotnet-dump/Commands/ModulesCommand.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 Microsoft.Diagnostics.Repl; using Microsoft.Diagnostics.Runtime; diff --git a/src/Tools/dotnet-dump/Commands/SOSCommand.cs b/src/Tools/dotnet-dump/Commands/SOSCommand.cs index aff87be78..40cf8b45c 100644 --- a/src/Tools/dotnet-dump/Commands/SOSCommand.cs +++ b/src/Tools/dotnet-dump/Commands/SOSCommand.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. + using Microsoft.Diagnostics.Repl; using System; using System.CommandLine; diff --git a/src/Tools/dotnet-dump/Commands/SOSCommandForWindows.cs b/src/Tools/dotnet-dump/Commands/SOSCommandForWindows.cs index af38b15cb..560693d3c 100644 --- a/src/Tools/dotnet-dump/Commands/SOSCommandForWindows.cs +++ b/src/Tools/dotnet-dump/Commands/SOSCommandForWindows.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. + using Microsoft.Diagnostics.Repl; using System.CommandLine; diff --git a/src/Tools/dotnet-dump/Commands/SetThreadCommand.cs b/src/Tools/dotnet-dump/Commands/SetThreadCommand.cs index e3c4604f1..c08dd307c 100644 --- a/src/Tools/dotnet-dump/Commands/SetThreadCommand.cs +++ b/src/Tools/dotnet-dump/Commands/SetThreadCommand.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 Microsoft.Diagnostics.Repl; using System; diff --git a/src/Tools/dotnet-dump/Dumper.Linux.cs b/src/Tools/dotnet-dump/Dumper.Linux.cs index 2a3e3d189..beb521f88 100644 --- a/src/Tools/dotnet-dump/Dumper.Linux.cs +++ b/src/Tools/dotnet-dump/Dumper.Linux.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. + using System; using System.Linq; using System.Diagnostics; diff --git a/src/Tools/dotnet-dump/Dumper.Windows.cs b/src/Tools/dotnet-dump/Dumper.Windows.cs index 62e22f416..53e39d959 100644 --- a/src/Tools/dotnet-dump/Dumper.Windows.cs +++ b/src/Tools/dotnet-dump/Dumper.Windows.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. + using System; using System.Diagnostics; using System.IO; diff --git a/src/Tools/dotnet-dump/Dumper.cs b/src/Tools/dotnet-dump/Dumper.cs index 5a0f09de9..db3fa3943 100644 --- a/src/Tools/dotnet-dump/Dumper.cs +++ b/src/Tools/dotnet-dump/Dumper.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. + using Microsoft.Diagnostics.Tools.RuntimeClient; using System; using System.CommandLine; diff --git a/src/Tools/dotnet-dump/Program.cs b/src/Tools/dotnet-dump/Program.cs index 9a6b6bdb8..957c987bc 100644 --- a/src/Tools/dotnet-dump/Program.cs +++ b/src/Tools/dotnet-dump/Program.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. + using System.CommandLine; using System.CommandLine.Builder; using System.CommandLine.Invocation; diff --git a/src/Tools/dotnet-sos/Program.cs b/src/Tools/dotnet-sos/Program.cs index 27dbd50c5..5baac4367 100644 --- a/src/Tools/dotnet-sos/Program.cs +++ b/src/Tools/dotnet-sos/Program.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// 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 SOS; using System; diff --git a/src/Tools/dotnet-trace/CommandLine/Commands/ErrorCode.cs b/src/Tools/dotnet-trace/CommandLine/Commands/ErrorCode.cs index 9987ca884..de806c695 100644 --- a/src/Tools/dotnet-trace/CommandLine/Commands/ErrorCode.cs +++ b/src/Tools/dotnet-trace/CommandLine/Commands/ErrorCode.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.Diagnostics.Tools.Trace { internal static class ErrorCodes diff --git a/src/Tools/dotnet-trace/Profile.cs b/src/Tools/dotnet-trace/Profile.cs index fcafa27b6..4f8e2c088 100644 --- a/src/Tools/dotnet-trace/Profile.cs +++ b/src/Tools/dotnet-trace/Profile.cs @@ -1,4 +1,8 @@ -using Microsoft.Diagnostics.Tools.RuntimeClient; +// 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 Microsoft.Diagnostics.Tools.RuntimeClient; using System.Collections.Generic; using System.Linq;