Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion StyleCop.Analyzers/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<ItemGroup>
<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003" PrivateAssets="all" />
<PackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.46" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.66" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.205" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="3.7.0-6.20427.1" PrivateAssets="all" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Status.Generator
public enum CodeFixStatus
{
/// <summary>
/// This value indicates, that a code fix is implemented
/// This value indicates, that a code fix is implemented.
/// </summary>
Implemented,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ namespace StyleCop.Analyzers.Test.MaintainabilityRules
public enum SA1402SettingsConfiguration
{
/// <summary>
/// Provide no custom settings
/// Provide no custom settings.
/// </summary>
KeepDefaultConfiguration,

/// <summary>
/// Provide custom settings that configure the tested type as being a top level type
/// Provide custom settings that configure the tested type as being a top-level type.
/// </summary>
ConfigureAsTopLevelType,

/// <summary>
/// Provide custom settings that configure the tested type as not being a top level type
/// Provide custom settings that configure the tested type as not being a top-level type.
/// </summary>
ConfigureAsNonTopLevelType,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ internal MemberOrderHelper(MemberDeclarationSyntax member, ImmutableArray<Orderi
private enum ModifierFlags
{
/// <summary>
/// No modifiers
/// No modifiers.
/// </summary>
None = 0,

/// <summary>
/// Readonly modifier
/// <see langword="readonly"/> modifier.
/// </summary>
Readonly = 1,

/// <summary>
/// Static modifier
/// <see langword="static"/> modifier.
/// </summary>
Static = 1 << 2,

/// <summary>
/// Const modifier
/// <see langword="const"/> modifier.
/// </summary>
Const = 1 << 3,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ internal static class ModifierOrderHelper
internal enum ModifierType
{
/// <summary>
/// Represents default value
/// Represents default value.
/// </summary>
None,

/// <summary>
/// Represents any of access modifiers i.e public, protected, internal, private
/// Represents any of access modifiers, i.e <see langword="public"/>, <see langword="protected"/>, <see langword="internal"/>, <see langword="private"/>.
/// </summary>
Access,

/// <summary>
/// Represents static modifier
/// Represents <see langword="static"/> modifier.
/// </summary>
Static,

/// <summary>
/// Represents other modifiers i.e partial, virtual, abstract, override, extern, unsafe, new, async, const, sealed, readonly, volatile, fixed, ref
/// Represents other modifiers, i.e <see langword="partial"/>, <see langword="virtual"/>, <see langword="abstract"/>, <see langword="override"/>, <see langword="extern"/>, <see langword="unsafe"/>, <see langword="new"/>, <see langword="async"/>, <see langword="const"/>, <see langword="sealed"/>, <see langword="readonly"/>, <see langword="volatile"/>, <see langword="fixed"/>, <see langword="ref"/>.
/// </summary>
Other,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace StyleCop.Analyzers.Settings.ObjectModel
internal enum FileNamingConvention
{
/// <summary>
/// Files are named using the StyleCop convention (e.g. TypeName{T1,T2})
/// Files are named using the StyleCop convention (e.g. <c>TypeName{T1,T2}</c>).
/// </summary>
StyleCop,

/// <summary>
/// Files are named using the metadata convention (e.g. TypeName`2)
/// Files are named using the metadata convention (e.g. <c>TypeName`2</c>).
/// </summary>
Metadata,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ namespace StyleCop.Analyzers.Settings.ObjectModel
internal enum TopLevelType
{
/// <summary>
/// Classes are considered top-level types
/// Classes are considered top-level types.
/// </summary>
Class,

/// <summary>
/// Interfaces are considered top-level types
/// Interfaces are considered top-level types.
/// </summary>
Interface,

/// <summary>
/// Structs are considered top-level types
/// Structs are considered top-level types.
/// </summary>
Struct,

/// <summary>
/// Delegates are considered top-level types
/// Delegates are considered top-level types.
/// </summary>
Delegate,

/// <summary>
/// Enums are considered top-level types
/// Enums are considered top-level types.
/// </summary>
Enum,
}
Expand Down
3 changes: 3 additions & 0 deletions StyleCop.Analyzers/stylecop.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
},
"layoutRules": {
"newlineAtEndOfFile": "require"
},
"namingRules": {
"tupleElementNameCasing": "camelCase"
}
}
}