Skip to content

Commit

Permalink
XmlName is a value type therefore can never be null. mcs picked this …
Browse files Browse the repository at this point in the history
…up as a warning.
  • Loading branch information
jonorossi committed Dec 28, 2014
1 parent b320a57 commit 8cf8c3c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ public MockXmlIncludedTypeMap()

public bool TryGet(XmlName xsiType, out IXmlIncludedType includedType)
{
return (xsiType == null || xsiType == Default.XsiType)
return (xsiType == Default.XsiType)
? Try.Success(out includedType, Default)
: includedTypes.TryGet(xsiType, out includedType);
}
Expand Down

0 comments on commit 8cf8c3c

Please sign in to comment.