You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FN for S2934 (GenericReadonlyFieldPropertyAssignment).
Using C#11 unsigned right shift operator (>>>), the rule is not raising an issue.
Repro steps
interfaceIPoint{intX{get;set;}intY{get;set;}}classPointManager<T>whereT:IPoint{readonlyTpoint;// this could be a structpublicvoidMovePointVertically(intnewX){point.X>>>=4;// FN}}
Expected behavior
The rule should raise an issue.
Actual behavior
The rule does not raise an issue.
The text was updated successfully, but these errors were encountered:
Description
FN for S2934 (GenericReadonlyFieldPropertyAssignment).
Using C#11 unsigned right shift operator (>>>), the rule is not raising an issue.
Repro steps
Expected behavior
The rule should raise an issue.
Actual behavior
The rule does not raise an issue.
The text was updated successfully, but these errors were encountered: