8 references to SetValueIfNotNull
NuGet.ProjectModel (8)
PackageSpecWriter.cs (8)
202SetValueIfNotNull(writer, "enableAudit", auditProperties.EnableAudit);
203SetValueIfNotNull(writer, "auditLevel", auditProperties.AuditLevel);
204SetValueIfNotNull(writer, "auditMode", auditProperties.AuditMode);
242SetValueIfNotNull(writer, "targetAlias", framework.TargetAlias);
438SetValueIfNotNull(writer, "aliases", dependency.Aliases);
535SetValueIfNotNull(writer, "targetAlias", framework.TargetAlias);
540SetValueIfNotNull(writer, "secondaryFramework",
545SetValueIfNotNull(writer, "runtimeIdentifierGraphPath", framework.RuntimeIdentifierGraphPath);