8 references to SetValueIfNotNull
NuGet.ProjectModel (8)
PackageSpecWriter.cs (8)
201SetValueIfNotNull(writer, "enableAudit", auditProperties.EnableAudit);
202SetValueIfNotNull(writer, "auditLevel", auditProperties.AuditLevel);
203SetValueIfNotNull(writer, "auditMode", auditProperties.AuditMode);
241SetValueIfNotNull(writer, "targetAlias", framework.TargetAlias);
437SetValueIfNotNull(writer, "aliases", dependency.Aliases);
534SetValueIfNotNull(writer, "targetAlias", framework.TargetAlias);
539SetValueIfNotNull(writer, "secondaryFramework",
544SetValueIfNotNull(writer, "runtimeIdentifierGraphPath", framework.RuntimeIdentifierGraphPath);