Skip to content

Commit 7f6d84c

Browse files
committed
fixup
1 parent ed24f1f commit 7f6d84c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/Components/Components/src/Microsoft.AspNetCore.Components.WarningSuppressions.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,11 @@
6767
<property name="Scope">member</property>
6868
<property name="Target">M:Microsoft.AspNetCore.Components.LayoutView.&lt;&gt;c__DisplayClass13_0.&lt;WrapInLayout&gt;g__Render|0(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)</property>
6969
</attribute>
70+
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
71+
<argument>ILLink</argument>
72+
<argument>IL2080</argument>
73+
<property name="Scope">member</property>
74+
<property name="Target">M:Microsoft.AspNetCore.Components.Reflection.MemberAssignment.&lt;GetPropertiesIncludingInherited&gt;d__0.MoveNext</property>
75+
</attribute>
7076
</assembly>
7177
</linker>

src/Components/Components/src/Reflection/MemberAssignment.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ public static IEnumerable<PropertyInfo> GetPropertiesIncludingInherited(
5353
if (item.Value is PropertyInfo property)
5454
{
5555
yield return property;
56+
continue;
5657
}
57-
var list = (List<PropertyInfo>)item.Value;
5858

59+
var list = (List<PropertyInfo>)item.Value;
5960
var count = list.Count;
6061
for (var i = 0; i < count; i++)
6162
{

0 commit comments

Comments
 (0)