How is this Dictionary exception possible?

后端 未结 6 1160
遥遥无期
遥遥无期 2021-01-12 02:28

Given the following stack trace:

MESSAGE: Value cannot be null.Parameter name: key  
SOURCE: mscorlib  
TARGETSITE:          


        
6条回答
  •  臣服心动
    2021-01-12 02:37

    It looks more like that your IDictionary argument has an item with a Key parameter which is null.

    The parameter checking for the IDictionary will probably be happening somewhere internally in the framework.

提交回复
热议问题