mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:25:43 +00:00
🎨 Move using directives to outside-namspace
Item for #14 editorconfig: csharp_using_directive_placement=outside_namespace:error
This commit is contained in:
parent
13bd4b7fe1
commit
bbfdf39d09
@ -107,7 +107,7 @@ csharp_style_unused_value_assignment_preference=discard_variable:suggestion
|
|||||||
csharp_style_unused_value_expression_statement_preference=discard_variable:silent
|
csharp_style_unused_value_expression_statement_preference=discard_variable:silent
|
||||||
|
|
||||||
# 'using' directive preferences
|
# 'using' directive preferences
|
||||||
csharp_using_directive_placement=inside_namespace:suggestion
|
csharp_using_directive_placement=outside_namespace:error
|
||||||
|
|
||||||
#### C# Formatting Rules ####
|
#### C# Formatting Rules ####
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.Collections.Generic;
|
||||||
using System;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Text;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="byte" />.
|
/// Extension methods for <see cref="byte" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.Collections.Generic;
|
||||||
using System;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Text;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="char" />.
|
/// Extension methods for <see cref="char" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="IComparable" />.
|
/// Extension methods for <see cref="IComparable" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="DateTime" />.
|
/// Extension methods for <see cref="DateTime" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
namespace X10D
|
using System.Collections.Generic;
|
||||||
{
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Text.RegularExpressions;
|
||||||
using System.Linq;
|
using System.Web;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Web;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A set of extension methods for <see cref="Dictionary{TKey,TValue}" />.
|
/// A set of extension methods for <see cref="Dictionary{TKey,TValue}" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="double" />.
|
/// Extension methods for <see cref="double" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System.Net;
|
||||||
{
|
|
||||||
using System.Net;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="EndPoint" /> and derived types.
|
/// Extension methods for <see cref="EndPoint" /> and derived types.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
namespace X10D
|
using System.Collections.Generic;
|
||||||
{
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="IEnumerable{T}" />.
|
/// Extension methods for <see cref="IEnumerable{T}" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="short" />.
|
/// Extension methods for <see cref="short" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="int" />.
|
/// Extension methods for <see cref="int" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="long" />.
|
/// Extension methods for <see cref="long" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.Collections.Generic;
|
||||||
using System;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="IList{T}" />.
|
/// Extension methods for <see cref="IList{T}" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.Collections.Generic;
|
||||||
using System;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="Random" />.
|
/// Extension methods for <see cref="Random" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.ComponentModel;
|
||||||
using System;
|
using System.Reflection;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for various reflection types.
|
/// Extension methods for various reflection types.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="float" />.
|
/// Extension methods for <see cref="float" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.IO;
|
||||||
using System;
|
using System.Security.Cryptography;
|
||||||
using System.IO;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="Stream" />.
|
/// Extension methods for <see cref="Stream" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.Collections.Generic;
|
||||||
using System;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Text;
|
||||||
using System.Linq;
|
|
||||||
using System.Net;
|
|
||||||
using System.Security;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="string" />.
|
/// Extension methods for <see cref="string" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see langword="struct" /> types.
|
/// Extension methods for <see langword="struct" /> types.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
namespace X10D
|
using System;
|
||||||
{
|
using System.Diagnostics;
|
||||||
using System;
|
using System.Text.RegularExpressions;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a class which contains a <see cref="string" /> parser which converts into <see cref="TimeSpan" />.
|
/// Represents a class which contains a <see cref="string" /> parser which converts into <see cref="TimeSpan" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
namespace X10D
|
using System.Threading;
|
||||||
{
|
using System.Threading.Tasks;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
|
namespace X10D
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="WaitHandle" />.
|
/// Extension methods for <see cref="WaitHandle" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user