Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 676 Bytes

MA0123.md

File metadata and controls

3 lines (2 loc) · 676 Bytes

MA0123 - Sequence number must be a constant

The Blazor difference algorithm relies on the sequence numbers corresponding to distinct lines of code, not distinct call invocations. When creating a component with RenderTreeBuilder methods, hardcode the arguments for sequence numbers. Using a calculation or counter to generate the sequence number can lead to poor performance. For more information, see the Sequence numbers relate to code line numbers and not execution order section.