-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply all code fixes; no functional changes.
- Loading branch information
Showing
10 changed files
with
79 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>(T a, ref T b, T[] c, out IEnumerable<T> d) | ||
{ | ||
b = a; | ||
d = c; | ||
} | ||
public void GenericMethod<T>(T a, ref T b, T[] c, out IEnumerable<T> d) | ||
{ | ||
b = a; | ||
d = c; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<T> | ||
{ | ||
public sealed class GenericClass<T> | ||
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<TT>(T a, ref T b, TT[] c, out IEnumerable<TT> d) | ||
{ | ||
b = a; | ||
d = c; | ||
} | ||
public void GenericMethod<TT>(T a, ref T b, TT[] c, out IEnumerable<TT> d) | ||
{ | ||
b = a; | ||
d = c; | ||
} | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
tests/Cecil.XmlDocNames.Tests/Internal/AssemblyDefinitionExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
tests/Cecil.XmlDocNames.Tests/Internal/TypeDefinitionExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters