Skip to content

Commit b910b38

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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)