193 references to DeepClone
AnalyzeCiFailure (22)
WorkflowRunEvidenceCollector.cs (10)
161.Select(job => job.DeepClone()).ToArray());
582new[] { "filename", "status", "additions", "deletions", "changes" }.Select(fieldName => KeyValuePair.Create(fieldName, Field(file, fieldName)?.DeepClone())))).ToArray()));
606["number"] = pullRequest!["number"]?.DeepClone(),
607["title"] = pullRequest["title"]?.DeepClone(),
608["state"] = pullRequest["state"]?.DeepClone(),
609["locked"] = pullRequest["locked"]?.DeepClone(),
610["user"] = Field(pullRequest["user"], "login")?.DeepClone(),
611["head_branch"] = Field(pullRequest["head"], "ref")?.DeepClone(),
612["base_branch"] = Field(pullRequest["base"], "ref")?.DeepClone(),
613["html_url"] = pullRequest["html_url"]?.DeepClone(),
AnalyzeCiFailure.TestHost (1)
AnalyzeCiFailure.Tests (34)
aspire (22)
Aspire.Cli.EndToEnd.Tests (6)
Aspire.Cli.Tests (1)
Aspire.Hosting (38)
Pipelines\Internal\FileDeploymentStateManager.cs (14)
283var mergedSection = base.GetSectionState(state, sectionName, includeLegacyState)?.DeepClone();
296currentValueExists ? TryGetNestedPropertyValue(_currentState, claimedSectionName)?.DeepClone() : null,
356SetNestedNodeValue(_legacyStateSnapshot, sectionName, legacySectionData.DeepClone(), valueExists: true);
383new JsonObject { [""] = sectionValue.DeepClone() },
430var mergedState = legacyState.DeepClone().AsObject();
445target[name] = sourceValue?.DeepClone();
540SetNestedNodeValue(currentState, path, value?.DeepClone(), savedExists);
553var result = latestValue?.DeepClone() as JsonObject ?? [];
581? latestValue?.DeepClone()
582: savedValue?.DeepClone();
594return (latestExists, latestValue?.DeepClone());
607? (true, savedValue?.DeepClone())
629TryGetNestedPropertyValue(currentState, sectionName)?.DeepClone(),
805[LegacyStateProperty] = legacyStateSnapshot.DeepClone(),
Aspire.Hosting.Azure.Sandboxes (4)
Aspire.Hosting.Azure.Tests (2)
Aspire.Hosting.Native.Core.Tests (13)
Aspire.Hosting.Native.Server (22)
Aspire.Hosting.RemoteHost (2)
Aspire.Hosting.RemoteHost.Tests (4)
Aspire.Hosting.Tests (2)
GenerateTemplateManifest (1)
Infrastructure.Tests (11)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.NET.Build.Tasks (1)
NativeIntegrations.DockerCompose (4)