Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 981 Bytes

File metadata and controls

32 lines (23 loc) · 981 Bytes
title description author monikerRange ms.author ms.date uid
BL0006: Do not use RenderTree types
Learn about analysis rule BL0006: Do not use RenderTree types
pranavkm
>= aspnetcore-3.1
riande
10/21/2021
diagnostics/bl0006

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 xref:Microsoft.AspNetCore.Components.RenderTree?displayProperty=fullName 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.