Are you worried about the possibility the dynamic object will have a custom equality operator that will change the way the null
is interpreted? If so just use Object.ReferenceEquals
if (Object.ReferenceEquals(null, param)) {
.......
}
Are you worried about the possibility the dynamic object will have a custom equality operator that will change the way the null
is interpreted? If so just use Object.ReferenceEquals
if (Object.ReferenceEquals(null, param)) {
.......
}