Skip to content

Commit

Permalink
Remove unnecessary ConditionalAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Aug 1, 2021
1 parent a0187b8 commit a3a84dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/StronglyTypedIds/Sources/StronglyTypedIdAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace StronglyTypedIds.Sources
/// Place on partial structs to make the type a strongly-typed ID
/// </summary>
[AttributeUsage(AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
[Conditional("CodeGeneration")]
public class StronglyTypedIdAttribute : Attribute
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace StronglyTypedIds
/// Place on partial structs to make the type a strongly-typed ID
/// </summary>
[AttributeUsage(AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
[Conditional("CodeGeneration")]

public class StronglyTypedIdAttribute : Attribute
{
/// <summary>
Expand Down

0 comments on commit a3a84dd

Please sign in to comment.