We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f1955 commit cc573c0Copy full SHA for cc573c0
src/BootstrapBlazor/Utils/EmitHelper.cs
@@ -67,7 +67,7 @@ private static void CreateProperty(this TypeBuilder typeBuilder, string property
67
propertyId.SetGetMethod(methodGetField);
68
propertyId.SetSetMethod(methodSetField);
69
70
- foreach (var cab in attributeBuilds ?? Enumerable.Empty<CustomAttributeBuilder>())
+ foreach (var cab in attributeBuilds ?? [])
71
{
72
propertyId.SetCustomAttribute(cab);
73
}
0 commit comments