Skip to content

Commit

Permalink
Merge pull request #86649 from SGiygas/patch-1
Browse files Browse the repository at this point in the history
Correct C# syntax in `_validate_property` example for the Object class
  • Loading branch information
akien-mga committed Jan 2, 2024
2 parents 4c0db77 + e40b23c commit 7fc37a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
{
if (property["name"].AsStringName() == PropertyName.Number && IsNumberEditable)
{
var usage = property["usage"].As>PropertyUsageFlags<() | PropertyUsageFlags.ReadOnly;
var usage = property["usage"].As<PropertyUsageFlags>() | PropertyUsageFlags.ReadOnly;
property["usage"] = (int)usage;
}
}
Expand Down

0 comments on commit 7fc37a8

Please sign in to comment.