File tree 1 file changed +2
-2
lines changed
src/Components/Endpoints/src/Results
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public RazorComponentResult([DynamicallyAccessedMembers(Component)] Type compone
35
35
public RazorComponentResult (
36
36
[ DynamicallyAccessedMembers ( Component ) ] Type componentType ,
37
37
[ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . All ) ] object parameters )
38
- : this ( componentType , CoerceParametersObjectToDictionary ( parameters ) ! )
38
+ : this ( componentType , CoerceParametersObjectToDictionary ( parameters ) )
39
39
{
40
40
}
41
41
@@ -55,7 +55,7 @@ public RazorComponentResult([DynamicallyAccessedMembers(Component)] Type compone
55
55
Parameters = parameters ?? EmptyParameters ;
56
56
}
57
57
58
- private static IReadOnlyDictionary < string , object ? > ? CoerceParametersObjectToDictionary ( object ? parameters )
58
+ private static IReadOnlyDictionary < string , object ? > CoerceParametersObjectToDictionary ( object ? parameters )
59
59
=> parameters is null
60
60
? throw new ArgumentNullException ( nameof ( parameters ) )
61
61
: ( IReadOnlyDictionary < string , object ? > ) PropertyHelper . ObjectToDictionary ( parameters ) ;
You can’t perform that action at this time.
0 commit comments