diff --git a/src/Cecil.XmlDocNames/MemberReferenceExtensions.cs b/src/Cecil.XmlDocNames/MemberReferenceExtensions.cs index 62464fd..f7e99bd 100644 --- a/src/Cecil.XmlDocNames/MemberReferenceExtensions.cs +++ b/src/Cecil.XmlDocNames/MemberReferenceExtensions.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System; using System.Text; diff --git a/src/Cecil.XmlDocNames/StringBuilderExtensions-Cecil.cs b/src/Cecil.XmlDocNames/StringBuilderExtensions-Cecil.cs index 69bbc6b..62bfa89 100644 --- a/src/Cecil.XmlDocNames/StringBuilderExtensions-Cecil.cs +++ b/src/Cecil.XmlDocNames/StringBuilderExtensions-Cecil.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System; using System.Linq; diff --git a/src/Cecil.XmlDocNames/StringBuilderExtensions-common.cs b/src/Cecil.XmlDocNames/StringBuilderExtensions-common.cs index f0d005c..d6eec6b 100644 --- a/src/Cecil.XmlDocNames/StringBuilderExtensions-common.cs +++ b/src/Cecil.XmlDocNames/StringBuilderExtensions-common.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System; using System.Collections.Generic; diff --git a/src/Cecil.XmlDocNames/StringBuilderExtensions.cs b/src/Cecil.XmlDocNames/StringBuilderExtensions.cs index 7bd4e50..9dd0312 100644 --- a/src/Cecil.XmlDocNames/StringBuilderExtensions.cs +++ b/src/Cecil.XmlDocNames/StringBuilderExtensions.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System.Text; using JetBrains.Annotations; diff --git a/testFixtures/ExampleAssembly/ExampleClass.cs b/testFixtures/ExampleAssembly/ExampleClass.cs index 3849406..d269f9c 100644 --- a/testFixtures/ExampleAssembly/ExampleClass.cs +++ b/testFixtures/ExampleAssembly/ExampleClass.cs @@ -1,29 +1,35 @@ -using System; +// --------------------------------------------------------------------------------------- +// Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. +// Licensed under the MIT license. +// See the LICENSE file in the project root for full license information. +// +// Part of this file may be third-party code, distributed under a compatible license. +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- + +using System; using System.Collections.Generic; -namespace ExampleAssembly +namespace ExampleAssembly; + +public sealed class ExampleClass { - public sealed class ExampleClass - { - public int Field; + public int Field; - public ExampleClass() - { - Field = default; - } + public ExampleClass() + { + Field = default; + } - public int Property { get; set; } + public int Property { get; set; } -#pragma warning disable CS0067 // Event is never used - accessed only via reflection - public event EventHandler? Event; -#pragma warning restore CS0067 + public event EventHandler? Event; - public void Method(int a, ref string b, byte[] c) => b = a + c.ToString(); + public void Method(int a, ref string b, byte[] c) => b = a + c.ToString(); - public void GenericMethod(T a, ref T b, T[] c, out IEnumerable d) - { - b = a; - d = c; - } + public void GenericMethod(T a, ref T b, T[] c, out IEnumerable d) + { + b = a; + d = c; } -} \ No newline at end of file +} diff --git a/testFixtures/ExampleAssembly/GenericClass`1.cs b/testFixtures/ExampleAssembly/GenericClass`1.cs index 9da2acb..15293b1 100644 --- a/testFixtures/ExampleAssembly/GenericClass`1.cs +++ b/testFixtures/ExampleAssembly/GenericClass`1.cs @@ -1,19 +1,27 @@ -using System.Collections.Generic; +// --------------------------------------------------------------------------------------- +// Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. +// Licensed under the MIT license. +// See the LICENSE file in the project root for full license information. +// +// Part of this file may be third-party code, distributed under a compatible license. +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- -namespace ExampleAssembly +using System.Collections.Generic; + +namespace ExampleAssembly; + +public sealed class GenericClass { - public sealed class GenericClass + public GenericClass() { - public GenericClass() - { - } + } - public void Method(int a, ref string b, byte[] c) => b = a + c.ToString(); + public void Method(int a, ref string b, byte[] c) => b = a + c.ToString(); - public void GenericMethod(T a, ref T b, TT[] c, out IEnumerable d) - { - b = a; - d = c; - } + public void GenericMethod(T a, ref T b, TT[] c, out IEnumerable d) + { + b = a; + d = c; } -} \ No newline at end of file +} diff --git a/tests/Cecil.XmlDocNames.Tests/Internal/AssemblyDefinitionExtensions.cs b/tests/Cecil.XmlDocNames.Tests/Internal/AssemblyDefinitionExtensions.cs index 7d86034..6cec847 100644 --- a/tests/Cecil.XmlDocNames.Tests/Internal/AssemblyDefinitionExtensions.cs +++ b/tests/Cecil.XmlDocNames.Tests/Internal/AssemblyDefinitionExtensions.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System; using System.Linq; diff --git a/tests/Cecil.XmlDocNames.Tests/Internal/TestUtility.cs b/tests/Cecil.XmlDocNames.Tests/Internal/TestUtility.cs index 42e4065..42c7a9c 100644 --- a/tests/Cecil.XmlDocNames.Tests/Internal/TestUtility.cs +++ b/tests/Cecil.XmlDocNames.Tests/Internal/TestUtility.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System.IO; using System.Reflection; diff --git a/tests/Cecil.XmlDocNames.Tests/Internal/TypeDefinitionExtensions.cs b/tests/Cecil.XmlDocNames.Tests/Internal/TypeDefinitionExtensions.cs index c6ba039..aeffbcf 100644 --- a/tests/Cecil.XmlDocNames.Tests/Internal/TypeDefinitionExtensions.cs +++ b/tests/Cecil.XmlDocNames.Tests/Internal/TypeDefinitionExtensions.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System; using System.Linq; diff --git a/tests/Cecil.XmlDocNames.Tests/StringBuilderExtensionsTest.cs b/tests/Cecil.XmlDocNames.Tests/StringBuilderExtensionsTest.cs index 81fb735..d40530b 100644 --- a/tests/Cecil.XmlDocNames.Tests/StringBuilderExtensionsTest.cs +++ b/tests/Cecil.XmlDocNames.Tests/StringBuilderExtensionsTest.cs @@ -1,11 +1,11 @@ -// ----------------------------------------------------------------------------------- +// --------------------------------------------------------------------------------------- // Copyright (C) Riccardo De Agostini and Tenacom. All rights reserved. // Licensed under the MIT license. -// See LICENSE file in the project root for full license information. +// See the LICENSE file in the project root for full license information. // // Part of this file may be third-party code, distributed under a compatible license. -// See THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. -// ----------------------------------------------------------------------------------- +// See the THIRD-PARTY-NOTICES file in the project root for third-party copyright notices. +// --------------------------------------------------------------------------------------- using System; using System.Text;