13 references to Clone
aspire (1)
Commands\McpCallCommand.cs (1)
101
dict[prop.Name] = prop.Value.
Clone
();
Aspire.Cli.Tests (2)
Mcp\ExecuteResourceCommandToolTests.cs (2)
24
.ToDictionary(p => p.Name, p => p.Value.
Clone
());
148
.EnumerateObject().ToDictionary(p => p.Name, p => p.Value.
Clone
());
Aspire.Dashboard.Tests (5)
DashboardOptionsTests.cs (5)
322
""").RootElement.
Clone
();
350
""").RootElement.
Clone
();
379
""").RootElement.
Clone
();
417
""").RootElement.
Clone
();
454
""").RootElement.
Clone
();
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
938
_ => element.
Clone
()
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\ObjectConverter.cs (1)
36
_ => JsonDocument.ParseValue(ref reader).RootElement.
Clone
(),
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.cs (1)
81
? new JsonArray(jsonElement.Value.
Clone
(), Options)
System\Text\Json\Nodes\JsonObject.cs (1)
90
? new JsonObject(jsonElement.Value.
Clone
(), Options)
System\Text\Json\Nodes\JsonValueOfElement.cs (1)
20
internal override JsonNode DeepCloneCore() => new JsonValueOfElement(Value.
Clone
(), Options);