Skip to content
Open
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
9 changes: 3 additions & 6 deletions src/Exceptional/Exceptional.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,12 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations">
<Version>2019.1.3</Version>
</PackageReference>
<PackageReference Include="JetBrains.Lifetimes">
<Version>2019.3.0</Version>
<Version>2020.1.0</Version>
</PackageReference>
<PackageReference Include="JetBrains.RdFramework">
<Version>2019.3.0</Version>
<Version>2020.2.3</Version>
</PackageReference>
<PackageReference Include="JetBrains.ReSharper.SDK" Version="2019.3.0">
<PackageReference Include="JetBrains.ReSharper.SDK" Version="2020.2.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
10 changes: 5 additions & 5 deletions src/Exceptional/Highlightings/CatchAllClauseHighlighting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(CatchAllClauseHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.CatchAllClause",
"Exceptional.CatchAllClause",
Severity.SUGGESTION
)]


namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.CatchAllClause",
"Exceptional.CatchAllClause",
Severity.SUGGESTION
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class CatchAllClauseHighlighting : HighlightingBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@

using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(EventExceptionNotDocumentedHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.EventExceptionNotDocumented",
"Exceptional.EventExceptionNotDocumented",
Severity.SUGGESTION
)]


namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(EventExceptionNotDocumentedHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.EventExceptionNotDocumented",
"Exceptional.EventExceptionNotDocumented",
Severity.SUGGESTION
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class EventExceptionNotDocumentedHighlighting : ExceptionNotDocumentedHighlighting
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
using JetBrains.ReSharper.Feature.Services.Daemon;


[assembly: RegisterConfigurableSeverity(ExceptionNotDocumentedHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotDocumented",
"Exceptional.ExceptionNotDocumented",
Severity.WARNING
)]


namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(ExceptionNotDocumentedHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotDocumented",
"Exceptional.ExceptionNotDocumented",
Severity.WARNING
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class ExceptionNotDocumentedHighlighting : ExceptionNotDocumentedOptionalHighlighting
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
using ReSharper.Exceptional.Models;
using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(ExceptionNotDocumentedOptionalHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotDocumentedOptional",
"Exceptional.ExceptionNotDocumentedOptional",
Severity.HINT
)]



namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(ExceptionNotDocumentedOptionalHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotDocumentedOptional",
"Exceptional.ExceptionNotDocumentedOptional",
Severity.HINT
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class ExceptionNotDocumentedOptionalHighlighting : HighlightingBase
{
Expand Down
10 changes: 5 additions & 5 deletions src/Exceptional/Highlightings/ExceptionNotThrownHighlighting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
using ReSharper.Exceptional.Models;
using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(ExceptionNotThrownHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotThrown",
"Exceptional.ExceptionNotThrown",
Severity.WARNING
)]

namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(ExceptionNotThrownHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotThrown",
"Exceptional.ExceptionNotThrown",
Severity.WARNING
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class ExceptionNotThrownHighlighting : ExceptionNotThrownOptionalHighlighting
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
using ReSharper.Exceptional.Models;
using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(ExceptionNotThrownOptionalHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotThrownOptional",
"Exceptional.ExceptionNotThrownOptional",
Severity.HINT
)]

namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(ExceptionNotThrownOptionalHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ExceptionNotThrownOptional",
"Exceptional.ExceptionNotThrownOptional",
Severity.HINT
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class ExceptionNotThrownOptionalHighlighting : HighlightingBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
using ReSharper.Exceptional.Models.ExceptionsOrigins;
using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(ThrowFromCatchWithNoInnerExceptionHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ThrowFromCatchWithNoInnerException",
"Exceptional.ThrowFromCatchWithNoInnerException",
Severity.WARNING
)]

namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(ThrowFromCatchWithNoInnerExceptionHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ThrowFromCatchWithNoInnerException",
"Exceptional.ThrowFromCatchWithNoInnerException",
Severity.WARNING
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class ThrowFromCatchWithNoInnerExceptionHighlighting : HighlightingBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using System;
using JetBrains.ReSharper.Psi.CSharp;
using ReSharper.Exceptional;
using ReSharper.Exceptional.Highlightings;
using JetBrains.ReSharper.Feature.Services.Daemon;

[assembly: RegisterConfigurableSeverity(ThrowingSystemExceptionHighlighting.Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ThrowingSystemException",
"Exceptional.ThrowingSystemException",
Severity.SUGGESTION
)]
using JetBrains.ReSharper.Psi.CSharp;

namespace ReSharper.Exceptional.Highlightings
{
[RegisterConfigurableSeverity(Id, Constants.CompoundName, HighlightingGroupIds.BestPractice,
"Exceptional.ThrowingSystemException",
"Exceptional.ThrowingSystemException",
Severity.SUGGESTION
)]
[ConfigurableSeverityHighlighting(Id, CSharpLanguage.Name)]
public class ThrowingSystemExceptionHighlighting : HighlightingBase
{
Expand Down