diff options
Diffstat (limited to 'tools/Sandcastle/Source/CommandLine')
20 files changed, 83 insertions, 431 deletions
diff --git a/tools/Sandcastle/Source/CommandLine/BooleanOption.cs b/tools/Sandcastle/Source/CommandLine/BooleanOption.cs index 93ea9fd..6ea23a1 100644 --- a/tools/Sandcastle/Source/CommandLine/BooleanOption.cs +++ b/tools/Sandcastle/Source/CommandLine/BooleanOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj b/tools/Sandcastle/Source/CommandLine/CommandLine.csproj index fc69acb..84d6af1 100644 --- a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj +++ b/tools/Sandcastle/Source/CommandLine/CommandLine.csproj @@ -70,6 +70,7 @@ <ItemGroup> <Compile Include="BooleanOption.cs" /> <Compile Include="ConsoleApplication.cs" /> + <Compile Include="GlobalSuppressions.cs" /> <Compile Include="ListOption.cs" /> <Compile Include="LogLevel.cs" /> <Compile Include="Option.cs" /> diff --git a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj.vspscc b/tools/Sandcastle/Source/CommandLine/CommandLine.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/tools/Sandcastle/Source/CommandLine/CommandLine.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs b/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs index b1b653e..17df3c7 100644 --- a/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs +++ b/tools/Sandcastle/Source/CommandLine/ConsoleApplication.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/GlobalSuppressions.cs b/tools/Sandcastle/Source/CommandLine/GlobalSuppressions.cs new file mode 100644 index 0000000..ee0c048 --- /dev/null +++ b/tools/Sandcastle/Source/CommandLine/GlobalSuppressions.cs @@ -0,0 +1,29 @@ +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click +// "In Project Suppression File". +// You do not need to add suppressions to this file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ddue", Scope = "namespace", Target = "Microsoft.Ddue.Tools.CommandLine")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1050:DeclareTypesInNamespaces", Scope = "type", Target = "OutputWriter")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#present")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#value")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XPath.XPathDocument", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.ConsoleApplication.#GetConfigurationFile()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1059:MembersShouldNotExposeCertainConcreteTypes", MessageId = "System.Xml.XPath.XPathDocument", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.ConsoleApplication.#GetConfigurationFile(System.String)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1708:IdentifiersShouldDifferByMoreThanCase", Scope = "type", Target = "Microsoft.Ddue.Tools.CommandLine.Option")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Option", Scope = "type", Target = "Microsoft.Ddue.Tools.CommandLine.Option")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "value", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#Description")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "value", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#Name")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "value", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.Option.#IsRequired")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.OptionCollection.#Add(Microsoft.Ddue.Tools.CommandLine.Option)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#", Scope = "member", Target = "Microsoft.Ddue.Tools.CommandLine.OptionCollection.#Remove(Microsoft.Ddue.Tools.CommandLine.Option)")] diff --git a/tools/Sandcastle/Source/CommandLine/ListOption.cs b/tools/Sandcastle/Source/CommandLine/ListOption.cs index bc04851..85ec160 100644 --- a/tools/Sandcastle/Source/CommandLine/ListOption.cs +++ b/tools/Sandcastle/Source/CommandLine/ListOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/LogLevel.cs b/tools/Sandcastle/Source/CommandLine/LogLevel.cs index 223796e..e1766ac 100644 --- a/tools/Sandcastle/Source/CommandLine/LogLevel.cs +++ b/tools/Sandcastle/Source/CommandLine/LogLevel.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/Makefile.org b/tools/Sandcastle/Source/CommandLine/Makefile.org deleted file mode 100644 index 66c5d2b..0000000 --- a/tools/Sandcastle/Source/CommandLine/Makefile.org +++ /dev/null @@ -1,12 +0,0 @@ -FILES = Assembly.cs OptionCollection.cs Options.cs ParseArgumentsResult.cs ParseResult.cs ConsoleApplication.cs - -CC = csc.exe - -all: TestOptions.exe Microsoft.Ddue.Tools.CommandLine.dll - -Microsoft.Ddue.Tools.CommandLine.dll: $(FILES) - $(CC) /t:library /out:Microsoft.Ddue.Tools.CommandLine.dll /keyfile:..\key.snk $(FILES) - copy Microsoft.Ddue.Tools.CommandLine.dll ..\..\ProductionTools - -TestOptions.exe: TestOptions.cs $(FILES) - $(CC) TestOptions.cs $(FILES) diff --git a/tools/Sandcastle/Source/CommandLine/Microsoft.Ddue.Tools.CommandLine.asmmeta b/tools/Sandcastle/Source/CommandLine/Microsoft.Ddue.Tools.CommandLine.asmmeta deleted file mode 100644 index 26db9b8..0000000 --- a/tools/Sandcastle/Source/CommandLine/Microsoft.Ddue.Tools.CommandLine.asmmeta +++ /dev/null @@ -1,379 +0,0 @@ -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly extern mscorlib -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89) -} -.assembly Microsoft.Ddue.Tools.CommandLine -{ - .custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = { bool(false) } - .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 EF 09 EE D7 93 0B 34 BA 88 83 E7 DB 9F 08 F5 DF A0 D9 F1 7A 97 8E 98 F3 99 03 36 B2 2A 75 D6 BB 2C 25 90 6C 4F 4E 5D 42 60 00 A9 22 00 A9 CE FE 3F 5E C4 22 BA 1E FF 47 7D C4 14 E7 52 C3 30 07 1C 66 1C 58 3F 28 48 0C 03 35 94 CE 5F A5 FC 44 94 D2 A4 42 95 E5 A3 3E AD B2 FD FF 45 13 77 FD BE 62 48 38 EF 02 BF 22 54 00 56 5D DB DA 10 D8 7E 77 F9 7F 9F 20 60 11 4B 49 3A 4D 62 FE C3 C3) - .hash algorithm 0x00008004 -} -.namespace Microsoft.Ddue.Tools.CommandLine -{ - .class public sealed BooleanOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - } - .class public abstract sealed ConsoleApplication - extends [mscorlib]System.Object - { - .method public static hidebysig - void WriteBanner() - { - ret - } - .method public static hidebysig - void WriteMessage(valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel level, string message) - { - ret - } - .method public static hidebysig - class [System.Xml]System.Xml.XPath.XPathDocument GetConfigurationFile() - { - ret - } - .method public static hidebysig - class [System.Xml]System.Xml.XPath.XPathDocument GetConfigurationFile(string file) - { - ret - } - .method public static hidebysig - string[] GetFiles(string filePattern) - { - ret - } - } - .class public ListOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description, string template) - { - ret - } - .method public virtual hidebysig specialname - instance object get_Value() - { - ret - } - .property instance object Value() - { - .get instance object Microsoft.Ddue.Tools.CommandLine.ListOption::get_Value() - } - } - .class public sealed LogLevel - extends [mscorlib]System.Enum - { - .field public rtspecialname specialname int32 value__ - .field static public literal valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel Error = int32(0x00000002) - .field static public literal valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel Info = int32(0x00000000) - .field static public literal valuetype Microsoft.Ddue.Tools.CommandLine.LogLevel Warn = int32(0x00000001) - } - .class public abstract Option - extends [mscorlib]System.Object - { - .method family hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method family hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - .method family hidebysig specialname - instance void .ctor(string name, string description, bool required) - { - ret - } - .method public hidebysig specialname - instance string get_Name() - { - ret - } - .method public hidebysig specialname - instance void set_Name(string 'value') - { - ret - } - .method public hidebysig specialname - instance string get_Description() - { - ret - } - .method public hidebysig specialname - instance void set_Description(string 'value') - { - ret - } - .method public hidebysig specialname - instance bool get_IsRequired() - { - ret - } - .method public hidebysig specialname - instance void set_IsRequired(bool 'value') - { - ret - } - .method public virtual hidebysig newslot specialname - instance bool get_IsPresent() - { - ret - } - .method public virtual hidebysig newslot specialname - instance object get_Value() - { - ret - } - .field family bool present - .field family object 'value' - .property instance string Description() - { - .get instance string Microsoft.Ddue.Tools.CommandLine.Option::get_Description() - .set instance void Microsoft.Ddue.Tools.CommandLine.Option::set_Description(string) - } - .property instance bool IsPresent() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.Option::get_IsPresent() - } - .property instance bool IsRequired() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.Option::get_IsRequired() - .set instance void Microsoft.Ddue.Tools.CommandLine.Option::set_IsRequired(bool) - } - .property instance string Name() - { - .get instance string Microsoft.Ddue.Tools.CommandLine.Option::get_Name() - .set instance void Microsoft.Ddue.Tools.CommandLine.Option::set_Name(string) - } - .property instance object Value() - { - .get instance object Microsoft.Ddue.Tools.CommandLine.Option::get_Value() - } - } - .class public sealed OptionCollection - extends [mscorlib]System.Object - implements class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>, [mscorlib]System.Collections.ICollection, class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.CommandLine.Option>, [mscorlib]System.Collections.IEnumerable - { - .custom instance void [mscorlib]System.Reflection.DefaultMemberAttribute::.ctor(string) = { string('Item') } - .method public hidebysig specialname - instance class Microsoft.Ddue.Tools.CommandLine.Option get_Item(string name) - { - ret - } - .method public final virtual hidebysig newslot specialname - instance int32 get_Count() - { - ret - } - .method public final virtual hidebysig newslot - instance void Add(class Microsoft.Ddue.Tools.CommandLine.Option option) - { - ret - } - .method public final virtual hidebysig newslot - instance bool Remove(class Microsoft.Ddue.Tools.CommandLine.Option option) - { - ret - } - .method public final virtual hidebysig newslot - instance void Clear() - { - ret - } - .method private final virtual hidebysig newslot specialname - instance bool 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.get_IsReadOnly'() - { - .override method instance bool class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::get_IsReadOnly() - ret - } - .method private final virtual hidebysig newslot - instance bool 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.Contains'(class Microsoft.Ddue.Tools.CommandLine.Option option) - { - .override method instance bool class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::Contains(!0) - ret - } - .method private final virtual hidebysig newslot - instance void 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.CopyTo'(class Microsoft.Ddue.Tools.CommandLine.Option[] 'array', int32 startIndex) - { - .override method instance void class [mscorlib]'System.Collections.Generic.ICollection`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::CopyTo(!0[], int32) - ret - } - .method private final virtual hidebysig newslot specialname - instance bool System.Collections.ICollection.get_IsSynchronized() - { - .override [mscorlib]System.Collections.ICollection::get_IsSynchronized - ret - } - .method private final virtual hidebysig newslot specialname - instance object System.Collections.ICollection.get_SyncRoot() - { - .override [mscorlib]System.Collections.ICollection::get_SyncRoot - ret - } - .method private final virtual hidebysig newslot - instance void System.Collections.ICollection.CopyTo(class [mscorlib]System.Array 'array', int32 startIndex) - { - .override [mscorlib]System.Collections.ICollection::CopyTo - ret - } - .method private final virtual hidebysig newslot - instance class [mscorlib]'System.Collections.Generic.IEnumerator`1'<class Microsoft.Ddue.Tools.CommandLine.Option> 'System.Collections.Generic.IEnumerable<Microsoft.Ddue.Tools.CommandLine.Option>.GetEnumerator'() - { - .override method instance class [mscorlib]'System.Collections.Generic.IEnumerator`1'<!0> class [mscorlib]'System.Collections.Generic.IEnumerable`1'<class Microsoft.Ddue.Tools.CommandLine.Option>::GetEnumerator() - ret - } - .method private final virtual hidebysig newslot - instance class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - .override [mscorlib]System.Collections.IEnumerable::GetEnumerator - ret - } - .method public hidebysig - instance void WriteOptionSummary(class [mscorlib]'System.IO.TextWriter' writer) - { - ret - } - .method public hidebysig - instance class Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult ParseArguments(string[] args) - { - ret - } - .method public hidebysig specialname - instance void .ctor() - { - ret - } - .property instance int32 Count() - { - .get instance int32 Microsoft.Ddue.Tools.CommandLine.OptionCollection::get_Count() - } - .property instance class Microsoft.Ddue.Tools.CommandLine.Option Item(string) - { - .get instance class Microsoft.Ddue.Tools.CommandLine.Option Microsoft.Ddue.Tools.CommandLine.OptionCollection::get_Item(string) - } - .property instance bool 'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.IsReadOnly'() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.OptionCollection::'System.Collections.Generic.ICollection<Microsoft.Ddue.Tools.CommandLine.Option>.get_IsReadOnly'() - } - .property instance bool System.Collections.ICollection.IsSynchronized() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.OptionCollection::System.Collections.ICollection.get_IsSynchronized() - } - .property instance object System.Collections.ICollection.SyncRoot() - { - .get instance object Microsoft.Ddue.Tools.CommandLine.OptionCollection::System.Collections.ICollection.get_SyncRoot() - } - } - .class public sealed ParseArgumentsResult - extends [mscorlib]System.Object - { - .method public hidebysig specialname - instance class Microsoft.Ddue.Tools.CommandLine.OptionCollection get_Options() - { - ret - } - .method public hidebysig specialname - instance class [mscorlib]'System.Collections.ObjectModel.ReadOnlyCollection`1'<string> get_UnusedArguments() - { - ret - } - .method public hidebysig specialname - instance bool get_Success() - { - ret - } - .method public hidebysig - instance void WriteParseErrors(class [mscorlib]'System.IO.TextWriter' writer) - { - ret - } - .property instance class Microsoft.Ddue.Tools.CommandLine.OptionCollection Options() - { - .get instance class Microsoft.Ddue.Tools.CommandLine.OptionCollection Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult::get_Options() - } - .property instance bool Success() - { - .get instance bool Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult::get_Success() - } - .property instance class [mscorlib]'System.Collections.ObjectModel.ReadOnlyCollection`1'<string> UnusedArguments() - { - .get instance class [mscorlib]'System.Collections.ObjectModel.ReadOnlyCollection`1'<string> Microsoft.Ddue.Tools.CommandLine.ParseArgumentsResult::get_UnusedArguments() - } - } - .class public sealed StringOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description, string template) - { - ret - } - .method public hidebysig specialname - instance string get_Template() - { - ret - } - .method public hidebysig specialname - instance void set_Template(string 'value') - { - ret - } - .property instance string Template() - { - .get instance string Microsoft.Ddue.Tools.CommandLine.StringOption::get_Template() - .set instance void Microsoft.Ddue.Tools.CommandLine.StringOption::set_Template(string) - } - } - .class public sealed SwitchOption - extends Microsoft.Ddue.Tools.CommandLine.Option - { - .method public hidebysig specialname - instance void .ctor(string name) - { - ret - } - .method public hidebysig specialname - instance void .ctor(string name, string description) - { - ret - } - } -} - diff --git a/tools/Sandcastle/Source/CommandLine/Option.cs b/tools/Sandcastle/Source/CommandLine/Option.cs index fb9ed00..6ca902d 100644 --- a/tools/Sandcastle/Source/CommandLine/Option.cs +++ b/tools/Sandcastle/Source/CommandLine/Option.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; @@ -12,6 +14,7 @@ namespace Microsoft.Ddue.Tools.CommandLine { internal bool processed; protected bool present; + [CLSCompliant(false)] protected object value; private string description; diff --git a/tools/Sandcastle/Source/CommandLine/OptionCollection.cs b/tools/Sandcastle/Source/CommandLine/OptionCollection.cs index 7e80441..882a673 100644 --- a/tools/Sandcastle/Source/CommandLine/OptionCollection.cs +++ b/tools/Sandcastle/Source/CommandLine/OptionCollection.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/OutputWriter.cs b/tools/Sandcastle/Source/CommandLine/OutputWriter.cs index f6aeeca..c98efd5 100644 --- a/tools/Sandcastle/Source/CommandLine/OutputWriter.cs +++ b/tools/Sandcastle/Source/CommandLine/OutputWriter.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; diff --git a/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs b/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs index bc7835a..fc7fab6 100644 --- a/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs +++ b/tools/Sandcastle/Source/CommandLine/ParseArgumentsResult.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/ParseResult.cs b/tools/Sandcastle/Source/CommandLine/ParseResult.cs index cfdd108..6129310 100644 --- a/tools/Sandcastle/Source/CommandLine/ParseResult.cs +++ b/tools/Sandcastle/Source/CommandLine/ParseResult.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. namespace Microsoft.Ddue.Tools.CommandLine { diff --git a/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs b/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs index 6675118..cd3d1c8 100644 --- a/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs +++ b/tools/Sandcastle/Source/CommandLine/Properties/AssemblyInfo.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System.Reflection; using System.Runtime.CompilerServices; @@ -17,6 +19,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: System.CLSCompliant(true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -34,5 +38,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.4.10522.00")] -[assembly: AssemblyFileVersion("2.4.10522.00")] +[assembly: AssemblyVersion("2.5.10626.00")] +[assembly: AssemblyFileVersion("2.5.10626.00")] diff --git a/tools/Sandcastle/Source/CommandLine/StringOption.cs b/tools/Sandcastle/Source/CommandLine/StringOption.cs index 4680a56..e9beb95 100644 --- a/tools/Sandcastle/Source/CommandLine/StringOption.cs +++ b/tools/Sandcastle/Source/CommandLine/StringOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/SwitchOption.cs b/tools/Sandcastle/Source/CommandLine/SwitchOption.cs index daf6877..394d137 100644 --- a/tools/Sandcastle/Source/CommandLine/SwitchOption.cs +++ b/tools/Sandcastle/Source/CommandLine/SwitchOption.cs @@ -1,5 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// +// Copyright © Microsoft Corporation. +// This source file is subject to the Microsoft Permissive License. +// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. +// All other rights reserved. using System; using System.IO; diff --git a/tools/Sandcastle/Source/CommandLine/makefile b/tools/Sandcastle/Source/CommandLine/makefile deleted file mode 100644 index 5acbbd2..0000000 --- a/tools/Sandcastle/Source/CommandLine/makefile +++ /dev/null @@ -1 +0,0 @@ -!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/tools/Sandcastle/Source/CommandLine/makefile.inc b/tools/Sandcastle/Source/CommandLine/makefile.inc deleted file mode 100644 index 32f7350..0000000 --- a/tools/Sandcastle/Source/CommandLine/makefile.inc +++ /dev/null @@ -1,2 +0,0 @@ -!INCLUDE $(INETROOT)\build\makefile.inc - diff --git a/tools/Sandcastle/Source/CommandLine/placefile b/tools/Sandcastle/Source/CommandLine/placefile deleted file mode 100644 index 9c28e38..0000000 --- a/tools/Sandcastle/Source/CommandLine/placefile +++ /dev/null @@ -1 +0,0 @@ -Microsoft.Ddue.Tools.CommandLine.dll Manifold |