Skip to content

Commit b910b38

Browse files
authored
Support Struct for DynamicLinqTypeAttribute (#579)
1 parent 1982305 commit b910b38

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/System.Linq.Dynamic.Core/CustomTypeProviders/DynamicLinqTypeAttribute.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/// <summary>
44
/// Indicates to Dynamic Linq to consider the Type as a valid dynamic linq type.
55
/// </summary>
6-
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
6+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
77
public sealed class DynamicLinqTypeAttribute : Attribute
88
{
99
}
10-
}
10+
}

0 commit comments

Comments
 (0)