diff --git a/ILSourceParser/Parser.cs b/ILSourceParser/Parser.cs index 3f5e78e..40d28ab 100644 --- a/ILSourceParser/Parser.cs +++ b/ILSourceParser/Parser.cs @@ -1148,9 +1148,9 @@ internal Parser ParseGenericArgsReference() return from whitespace in ParseWhiteSpaceTrivia() from args in ( from _ in ParseWhiteSpaceTrivia() // We don't use whitespace here, we just need to skip whitespace - from arg in ParseGenericParameterTypeConstraint() - .Or(ParseGenericParameterPrimitive()) - .Or(ParseGenericParameterReference()) + from arg in ParseGenericParameterPrimitive() + .Or(ParseGenericParameterReference()) + .Or(ParseGenericParameterTypeConstraint()) .Token() from __ in Parse.Char(',').Optional().Token() select arg