BL0006: Do not use RenderTree types
Value | |
---|---|
Rule ID | BL0006 |
Category | Usage |
Fix is breaking or non-breaking | Non-breaking |
Cause
A reference to a type in the Microsoft.AspNetCore.Components.RenderTree was found.
Rule description
Types in the Microsoft.AspNetCore.Components.RenderTree
namespace are part of Blazor's implementation detail and are subject to breaking changes. Using these types is not recommended in user code.
How to fix violations
Remove the reference to the type.
When to suppress warnings
It is safe to suppress this rule if using this type is essential. Note that this these are subject to breaking changes between major releases.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
ASP.NET Core