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
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ dotnet_style_prefer_auto_properties = true:error
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:warning
dotnet_style_prefer_simplified_boolean_expressions = true:error
dotnet_style_prefer_conditional_expression_over_assignment = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = true:warning
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_operator_placement_when_wrapping = beginning_of_line
Expand Down Expand Up @@ -1608,3 +1608,6 @@ dotnet_diagnostic.SA1652.severity = warning

dotnet_diagnostic.SX1101.severity = error


# IDE0045: Convert to conditional expression
dotnet_diagnostic.IDE0045.severity = suggestion
2 changes: 2 additions & 0 deletions src/Ubiquity.NET.Llvm/IGlobalHandleOwner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace Ubiquity.NET.Llvm
{
[SuppressMessage( "StyleCop.CSharp.DocumentationRules", "SA1649:File name should match first type name", Justification = "Closely related interfaces" )]
[SuppressMessage( "StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Internal Interface" )]
internal interface IHandleWrapper<THandle>
{
/// <summary>Gets the handle for this wrapper</summary>
Expand All @@ -19,6 +20,7 @@ internal interface IHandleWrapper<THandle>
internal THandle Handle { get; }
}

[SuppressMessage( "StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Internal Interface" )]
internal interface IGlobalHandleOwner<THandle>
: IDisposable
where THandle : GlobalHandleBase
Expand Down
2 changes: 1 addition & 1 deletion stylecop.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"companyName": "Ubiquity.NET Contributors",
"headerDecoration": "-----------------------------------------------------------------------",
"documentExposedElements": true,
"documentInterfaces": false,
"documentInterfaces": true,
"documentInternalElements": false,
"documentPrivateElements": false,
"documentPrivateFields": false,
Expand Down
Loading