Reformat Code

If Reformat Code is called with the option "Optimize 'using' directives: Yes
(Embrace in region)"

the following original code

using System.Runtime.InteropServices; // The System.Runtime.InteropServices
namespace provides a wide variety of members that support COM interop and
platform invoke services.
using System.Security; // The System.Security namespace provides the
underlying structure of the common language runtime security system,
including base classes for permissions.
using System.Text; // The System.Text namespace contains classes
representing ASCII, Unicode, UTF-7, and UTF-8 character encodings; abstract
base classes for converting blocks of characters to and from blocks of
bytes; and a helper class that manipulates and formats String objects
without creating intermediate instances of String.
using Syntony.Fundamental.Core.Native; // The
Syntony.Fundamental.Core.Native namespace provides implemantation of native
structures, functions and methods.

looks

#region Using directives
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
// The System.Runtime.InteropServices namespace provides a wide variety
of members that support COM interop and platform invoke services.
// The System.Security namespace provides the underlying structure of
the common language runtime security system, including base classes for
permissions.
// The System.Text namespace contains classes representing ASCII,
Unicode, UTF-7, and UTF-8 character encodings; abstract base classes for
converting blocks of characters to and from blocks of bytes; and a helper
class that manipulates and formats String objects without creating
intermediate instances of String.
// The Syntony.Fundamental.Core.Native namespace provides implemantation of
native structures, functions and methods.
#endregion

Please support comments for those lines! Thx
Josef



Please sign in to leave a comment.