Skip to content

Commit af027b8

Browse files
committed
update
1 parent 73a7e46 commit af027b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdoc/Mono.Documentation/MDocUpdater.Member.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ internal static void MakeTypeParameterConstraints(XmlElement root, XmlElement e,
4545
if ((attrs & GenericParameterAttributes.ReferenceTypeConstraint) != 0)
4646
AppendElementText(ce, "ParameterAttribute", "ReferenceTypeConstraint");
4747
// Check for 'allows ref struct' constraint
48-
if ((attrs & (GenericParameterAttributes)0x0020) != 0) // Assuming 0x1000 is the flag for 'allows ref struct'
48+
if ((attrs & (GenericParameterAttributes)0x0020) != 0) // Assuming 0x0020 is the flag for 'allows ref struct'
4949
AppendElementText(ce, "ParameterAttribute", "AllowByRefLike");
5050

5151
#if NEW_CECIL

0 commit comments

Comments
 (0)