-
Notifications
You must be signed in to change notification settings - Fork 33
LC0001
Arthur van de Vondervoort edited this page Feb 17, 2025
·
2 revisions
Any Flowfield should be set to Editable = false
. If the property is not present or set to True
a warning will occur.
field(1; MyField; Integer) // FlowFields should not be editable. [LC0001]
{
FieldClass = FlowField;
}
field(1; MyField; Integer)
{
Editable = false;
FieldClass = FlowField;
}
Use a pragma directive to suppress the diagnostic, where it's best pratice to add a comment justifying this deviant behavior.
#pragma warning disable LC0001 // FlowField needs to be editable because ...
field(1; MyField; Integer)
{
FieldClass = FlowField;
}
#pragma warning restore LC0001