8 references to SetValueIfNotNull
NuGet.ProjectModel (8)
PackageSpecWriter.cs (8)
207SetValueIfNotNull(writer, "enableAudit", auditProperties.EnableAudit);
208SetValueIfNotNull(writer, "auditLevel", auditProperties.AuditLevel);
209SetValueIfNotNull(writer, "auditMode", auditProperties.AuditMode);
247SetValueIfNotNull(writer, "targetAlias", framework.TargetAlias);
443SetValueIfNotNull(writer, "aliases", dependency.Aliases);
540SetValueIfNotNull(writer, "targetAlias", framework.TargetAlias);
545SetValueIfNotNull(writer, "secondaryFramework",
550SetValueIfNotNull(writer, "runtimeIdentifierGraphPath", framework.RuntimeIdentifierGraphPath);