diff --git a/src/Build/Evaluation/Conditionals/Token.cs b/src/Build/Evaluation/Conditionals/Token.cs
index 4ff4196dc1c..daa990e5cdd 100644
--- a/src/Build/Evaluation/Conditionals/Token.cs
+++ b/src/Build/Evaluation/Conditionals/Token.cs
@@ -32,13 +32,31 @@ internal sealed class Token
///
internal enum TokenType
{
- Comma, LeftParenthesis, RightParenthesis,
- LessThan, GreaterThan, LessThanOrEqualTo, GreaterThanOrEqualTo,
- And, Or,
- EqualTo, NotEqualTo, Not,
- Property, String, Numeric, ItemList, ItemMetadata, Function,
- EndOfInput
- };
+ Comma,
+ LeftParenthesis,
+ RightParenthesis,
+
+ LessThan,
+ GreaterThan,
+ LessThanOrEqualTo,
+ GreaterThanOrEqualTo,
+
+ And,
+ Or,
+
+ EqualTo,
+ NotEqualTo,
+ Not,
+
+ Property,
+ String,
+ Numeric,
+ ItemList,
+ ItemMetadata,
+ Function,
+
+ EndOfInput,
+ }
private TokenType _tokenType;
private string _tokenString;
@@ -154,4 +172,4 @@ internal string String
}
}
}
-}
\ No newline at end of file
+}
diff --git a/src/Build/Graph/ProjectInterpretation.cs b/src/Build/Graph/ProjectInterpretation.cs
index 99362abab30..b62715052f9 100644
--- a/src/Build/Graph/ProjectInterpretation.cs
+++ b/src/Build/Graph/ProjectInterpretation.cs
@@ -40,7 +40,9 @@ private ProjectInterpretation()
internal enum ProjectType
{
- OuterBuild, InnerBuild, NonMultitargeting
+ OuterBuild,
+ InnerBuild,
+ NonMultitargeting,
}
internal readonly struct ReferenceInfo
diff --git a/src/Tasks.UnitTests/ResolveComReference_Tests.cs b/src/Tasks.UnitTests/ResolveComReference_Tests.cs
index 4e695b86a73..0e15658be92 100644
--- a/src/Tasks.UnitTests/ResolveComReference_Tests.cs
+++ b/src/Tasks.UnitTests/ResolveComReference_Tests.cs
@@ -753,7 +753,12 @@ public void AxReferenceKnowsItsRCWPiaExists_IncludeVersion()
CheckAxReferenceRCWTlbExists(RcwStyle.PreexistingPia /* pass in the PIA reference */, true /* include version in the interop name */);
}
- private enum RcwStyle { GenerateTlb, PreexistingTlb, PreexistingPia };
+ private enum RcwStyle
+ {
+ GenerateTlb,
+ PreexistingTlb,
+ PreexistingPia,
+ }
///
/// Helper method that will new up an AX and matching TLB reference, and verify that the AX reference
diff --git a/src/Tasks/BootstrapperUtil/Product.cs b/src/Tasks/BootstrapperUtil/Product.cs
index 56338f5ca04..ae90642114f 100644
--- a/src/Tasks/BootstrapperUtil/Product.cs
+++ b/src/Tasks/BootstrapperUtil/Product.cs
@@ -12,8 +12,10 @@ namespace Microsoft.Build.Tasks.Deployment.Bootstrapper
{
internal enum CopyAllFilesType
{
- CopyAllFilesFalse, CopyAllFilesTrue, CopyAllFilesIfNotHomeSite
- };
+ CopyAllFilesFalse,
+ CopyAllFilesTrue,
+ CopyAllFilesIfNotHomeSite,
+ }
///
/// This class represents a product in the found by the BootstrapperBuilder in the Path property.
diff --git a/src/Tasks/FormatVersion.cs b/src/Tasks/FormatVersion.cs
index c3a156d6a9a..d89e00eb8fa 100644
--- a/src/Tasks/FormatVersion.cs
+++ b/src/Tasks/FormatVersion.cs
@@ -17,7 +17,11 @@ namespace Microsoft.Build.Tasks
///
public sealed class FormatVersion : TaskExtension
{
- private enum _FormatType { Version, Path }
+ private enum _FormatType
+ {
+ Version,
+ Path,
+ }
private _FormatType _formatType = _FormatType.Version;
diff --git a/src/Tasks/GenerateApplicationManifest.cs b/src/Tasks/GenerateApplicationManifest.cs
index c69fe1a7155..984bcc847f9 100644
--- a/src/Tasks/GenerateApplicationManifest.cs
+++ b/src/Tasks/GenerateApplicationManifest.cs
@@ -17,7 +17,11 @@ namespace Microsoft.Build.Tasks
///
public sealed class GenerateApplicationManifest : GenerateManifestBase
{
- private enum _ManifestType { Native, ClickOnce }
+ private enum _ManifestType
+ {
+ Native,
+ ClickOnce,
+ }
private ITaskItem[] _dependencies;
private ITaskItem[] _files;
diff --git a/src/Tasks/GenerateManifestBase.cs b/src/Tasks/GenerateManifestBase.cs
index 3ad0bf8c681..14b82c05669 100644
--- a/src/Tasks/GenerateManifestBase.cs
+++ b/src/Tasks/GenerateManifestBase.cs
@@ -16,8 +16,19 @@ namespace Microsoft.Build.Tasks
///
public abstract class GenerateManifestBase : Task
{
- private enum AssemblyType { Unspecified, Managed, Native, Satellite };
- private enum DependencyType { Install, Prerequisite };
+ private enum AssemblyType
+ {
+ Unspecified,
+ Managed,
+ Native,
+ Satellite,
+ }
+
+ private enum DependencyType
+ {
+ Install,
+ Prerequisite,
+ }
private string _processorArchitecture;
private int _startTime;
diff --git a/src/Tasks/StrongNameUtils.cs b/src/Tasks/StrongNameUtils.cs
index 4abdc57311a..cb50f111a48 100644
--- a/src/Tasks/StrongNameUtils.cs
+++ b/src/Tasks/StrongNameUtils.cs
@@ -18,8 +18,11 @@ namespace Microsoft.Build.Tasks
///
internal enum StrongNameLevel
{
- None, DelaySigned, FullySigned, Unknown
- };
+ None,
+ DelaySigned,
+ FullySigned,
+ Unknown,
+ }
///
/// Strong naming utilities.