public XElement ToXml() => new XElement( nameof(AnnotatedUsage), Usage.ToXml().Attributes(), Project.ToXAttributeIfNotNull(nameof(Project)), SourceBuildPackageIdCreator.ToXAttributeIfNotNull(nameof(SourceBuildPackageIdCreator)), ProdConPackageIdCreator.ToXAttributeIfNotNull(nameof(ProdConPackageIdCreator)), EndsUpInOutput.ToXAttributeIfTrue(nameof(EndsUpInOutput)));
public XElement ToXml() => new XElement( nameof(AnnotatedUsage), Usage.ToXml().Attributes(), Project.ToXAttributeIfNotNull(nameof(Project)), SourceBuildPackageIdCreator.ToXAttributeIfNotNull(nameof(SourceBuildPackageIdCreator)), ProdConPackageIdCreator.ToXAttributeIfNotNull(nameof(ProdConPackageIdCreator)), TestProjectByHeuristic.ToXAttributeIfTrue(nameof(TestProjectByHeuristic)), TestProjectOnlyByHeuristic.ToXAttributeIfTrue(nameof(TestProjectOnlyByHeuristic)), IsDirectDependency.ToXAttributeIfTrue(nameof(IsDirectDependency)), IsAutoReferenced.ToXAttributeIfTrue(nameof(IsAutoReferenced)), EndsUpInOutput.ToXAttributeIfTrue(nameof(EndsUpInOutput)));