Skip to content

Commit

Permalink
Mute null error from Rider
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Nov 20, 2024
1 parent 453f763 commit 47d1c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Robust.Shared/Toolshed/ToolshedCommand.Implementations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private List<MethodInfo> GetConcreteImplementationsInternal(Type? pipedType, Typ
{
var paramT = x.ConsoleGetPipedArgument()!.ParameterType;
var t = pipedType!.IntersectWithGeneric(paramT, Toolshed, true);
return x.MakeGenericMethod([.. typeArguments, .. t]);
return x.MakeGenericMethod([.. typeArguments, .. t!]);
}
else
return x.MakeGenericMethod(typeArguments);
Expand Down

0 comments on commit 47d1c37

Please sign in to comment.