-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* changing pipeline for better caching * records
- Loading branch information
1 parent
b6d13d2
commit 56591ec
Showing
69 changed files
with
5,220 additions
and
5,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
using Microsoft.CodeAnalysis; | ||
|
||
namespace Strongly.Diagnostics | ||
namespace Strongly.Diagnostics; | ||
|
||
static class InvalidBackingTypeDiagnostic | ||
{ | ||
static class InvalidBackingTypeDiagnostic | ||
{ | ||
internal const string Id = "STI4"; | ||
internal const string Message = "The StronglyType value provided is not a valid combination of flags"; | ||
internal const string Title = "Invalid backing type"; | ||
internal const string Id = "STG4"; | ||
|
||
internal const string Message = | ||
"The StronglyType value provided is not a valid combination of flags"; | ||
|
||
internal const string Title = "Invalid backing type"; | ||
|
||
public static Diagnostic Create(SyntaxNode currentNode) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
currentNode.GetLocation()); | ||
} | ||
public static Diagnostic Create(Location? location) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, | ||
defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
location ?? Location.None); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
using Microsoft.CodeAnalysis; | ||
|
||
namespace Strongly.Diagnostics | ||
namespace Strongly.Diagnostics; | ||
|
||
static class InvalidConverterDiagnostic | ||
{ | ||
static class InvalidConverterDiagnostic | ||
{ | ||
internal const string Id = "STI3"; | ||
internal const string Message = "The StronglyConverter value provided is not a valid combination of flags"; | ||
internal const string Title = "Invalid converter"; | ||
internal const string Id = "STG3"; | ||
|
||
internal const string Message = | ||
"The StronglyConverter value provided is not a valid combination of flags"; | ||
|
||
internal const string Title = "Invalid converter"; | ||
|
||
public static Diagnostic Create(SyntaxNode currentNode) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
currentNode.GetLocation()); | ||
} | ||
public static Diagnostic Create(Location? location) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, | ||
defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
location ?? Location.None); | ||
} |
27 changes: 15 additions & 12 deletions
27
src/Strongly/Diagnostics/InvalidImplementationsDiagnostic.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
using Microsoft.CodeAnalysis; | ||
|
||
namespace Strongly.Diagnostics | ||
namespace Strongly.Diagnostics; | ||
|
||
static class InvalidImplementationsDiagnostic | ||
{ | ||
static class InvalidImplementationsDiagnostic | ||
{ | ||
internal const string Id = "STI5"; | ||
internal const string Message = "The StronglyImplementations value provided is not a valid combination of flags"; | ||
internal const string Title = "Invalid implementations value"; | ||
internal const string Id = "STG5"; | ||
|
||
internal const string Message = | ||
"The StronglyImplementations value provided is not a valid combination of flags"; | ||
|
||
internal const string Title = "Invalid implementations value"; | ||
|
||
public static Diagnostic Create(SyntaxNode currentNode) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
currentNode.GetLocation()); | ||
} | ||
public static Diagnostic Create(Location? currentNode) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, | ||
defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
currentNode ?? Location.None); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
using Microsoft.CodeAnalysis; | ||
|
||
namespace Strongly.Diagnostics | ||
namespace Strongly.Diagnostics; | ||
|
||
static class NotPartialDiagnostic | ||
{ | ||
static class NotPartialDiagnostic | ||
{ | ||
internal const string Id = "STI2"; | ||
internal const string Message = "The target of the Strongly attribute must be declared as partial."; | ||
internal const string Title = "Must be partial"; | ||
internal const string Id = "STG2"; | ||
internal const string Message = "The target of the Strongly attribute must be declared as partial."; | ||
internal const string Title = "Must be partial"; | ||
|
||
public static Diagnostic Create(SyntaxNode currentNode) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
currentNode.GetLocation()); | ||
} | ||
public static Diagnostic Create(SyntaxNode currentNode) => | ||
Diagnostic.Create( | ||
new DiagnosticDescriptor( | ||
Id, Title, Message, category: Constants.Usage, defaultSeverity: DiagnosticSeverity.Warning, isEnabledByDefault: true), | ||
currentNode.GetLocation()); | ||
} |
Oops, something went wrong.