We're updating the issue view to help you get more done. 

Using an attribute declared outside of any namespace on a mixed type results in an exception

Description

System.ArgumentNullException: Value cannot be null.
Parameter name: value
at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
at MixinXRef.Report.AttributeReportGenerator.GenerateAttributeElement(Type attribute, Dictionary`2 allAttributes) in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\Report\AttributeReportGenerator.cs:line 101
at MixinXRef.Report.AttributeReportGenerator.<>c_DisplayClass2.<GenerateXml>b_1(Type attribute) in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\Report\AttributeReportGenerator.cs:line 71
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
at MixinXRef.Report.AttributeReportGenerator.GenerateXml() in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\Report\AttributeReportGenerator.cs:line 67
at MixinXRef.Report.CompositeReportGenerator.GenerateXml() in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\Report\CompositeReportGenerator.cs:line 38
at MixinXRef.Report.FullReportGenerator.GenerateXmlDocument() in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\Report\FullReportGenerator.cs:line 67
at MixinXRef.XRef.InternalRun(XRefArguments arguments) in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\XRef.cs:line 120
at MixinXRef.XRef.Run(XRefArguments arguments, IMessageSender logger) in c:\BuildAgent\work\f7ac5b6c297c04e5\MixinXRef\XRef.cs:line 63

Assignee

Michael Ketting

Reporter

Michael Ketting

Labels

None

Affects versions

Priority

Normal
Configure