Skip to content
代码片段 群组 项目
未验证 提交 33e011ea 编辑于 作者: Sajad Samiizadeh's avatar Sajad Samiizadeh 提交者: GitHub
浏览文件

Fixed typo for ArgumentNullException.ThrowIfNull (#42562)

上级 17b49ecc
No related branches found
No related tags found
无相关合并请求
......@@ -61,8 +61,8 @@ internal sealed class PropertyAsParameterInfo : ParameterInfo
[UnconditionalSuppressMessage("Trimmer", "IL2075", Justification = "PropertyAsParameterInfo.Flatten requires unreferenced code.")]
public static ReadOnlySpan<ParameterInfo> Flatten(ParameterInfo[] parameters, ParameterBindingMethodCache cache)
{
ArgumentNullException.ThrowIfNull(nameof(parameters));
ArgumentNullException.ThrowIfNull(nameof(cache));
ArgumentNullException.ThrowIfNull(parameters);
ArgumentNullException.ThrowIfNull(cache);
if (parameters.Length == 0)
{
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册