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
List<int>list=[1,2,3];IEnumerable<int>enumerable=list.Take(2);boolisCollection=enumerableisICollection<int>;Console.WriteLine($"is ICollection: {isCollection} ");//true on server, false on wasm
Expected Behavior
The result should be the same on Blazor Servers and Blazor Wasm.
Is there an existing issue for this?
Describe the bug
Blazor app and this code:
Expected Behavior
The result should be the same on Blazor Servers and Blazor Wasm.
Steps To Reproduce
Clone this bug report repo (simple blazor app), run the app and visit:
isCollection
astrue
false
(it will briefly havetrue
because of pre-rendering, but that's not the point)Exceptions (if any)
No response
.NET Version
9.0.100 (but was also on 8)
Anything else?
No response
The text was updated successfully, but these errors were encountered: