75 references to Name
aspire (7)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
650arguments[prop.Name] = prop.Value;
Commands\McpCallCommand.cs (1)
101dict[prop.Name] = prop.Value.Clone();
Configuration\AspireConfigFile.cs (4)
251envProp.Name, envProp.Value.ValueKind, envValue); 254profile.EnvironmentVariables[envProp.Name] = envValue; 260envProp.Name, envProp.Value.ValueKind); 265profiles[prop.Name] = profile;
Projects\GuestAppHostProject.cs (1)
684result[prop.Name] = prop.Value.GetString()!;
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.Hosting (2)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (2)
179arguments[prop.Name] = ConvertJsonElementToObject(prop.Value); 937JsonValueKind.Object => element.EnumerateObject().ToDictionary(p => p.Name, p => ConvertJsonElementToObject(p.Value)),
dotnet (3)
RuntimeConfig.cs (2)
36if (property.Name.Equals("name", StringComparison.OrdinalIgnoreCase)) 41if (property.Name.Equals("version", StringComparison.OrdinalIgnoreCase))
ToolManifest\ToolManifestEditor.cs (1)
169PackageId = toolJson.Name
dotnet-sourcelink (1)
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Microsoft\SourceLink\Tools\SourceLinkMap.cs (1)
87!TryParseEntry(documentsEntry.Name, documentsEntry.Value.GetString()!, out var entry))
ILCompiler.ReadyToRun (1)
Compiler\CallChainProfile.cs (1)
256string keyParts = methodAndCallees.Name;
Microsoft.AspNetCore.Authentication.OAuth (2)
MapAllClaimsAction.cs (2)
31var duplicate = identity.FindFirst(c => string.Equals(c.Type, pair.Name, StringComparison.OrdinalIgnoreCase) 36identity.AddClaim(new Claim(pair.Name, claimValue, ClaimValueTypes.String, issuer));
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\JsonTempDataSerializer.cs (1)
70dictionary[property.Name] = DeserializeElement(property.Value);
Microsoft.AspNetCore.Components.Web (14)
JSComponents\JSComponentInterop.cs (1)
96var parameterName = jsonProperty.Name;
WebEventData\ChangeEventArgsReader.cs (1)
43throw new JsonException($"Unknown property {property.Name}");
WebEventData\ClipboardEventArgsReader.cs (1)
25throw new JsonException($"Unknown property {property.Name}");
WebEventData\DragEventArgsReader.cs (2)
73throw new JsonException($"Unknown property {property.Name}"); 95throw new JsonException($"Unknown property {property.Name}");
WebEventData\ErrorEventArgsReader.cs (1)
45throw new JsonException($"Unknown property {property.Name}");
WebEventData\FocusEventArgsReader.cs (1)
25throw new JsonException($"Unknown property {property.Name}");
WebEventData\KeyboardEventArgsReader.cs (1)
70throw new JsonException($"Unknown property {property.Name}");
WebEventData\MouseEventArgsReader.cs (1)
117throw new JsonException($"Unknown property {property.Name}");
WebEventData\ProgressEventArgReader.cs (1)
40throw new JsonException($"Unknown property {property.Name}");
WebEventData\TouchEventArgsReader.cs (2)
72throw new JsonException($"Unknown property {property.Name}"); 126throw new JsonException($"Unknown property {property.Name}");
WebEventData\WebEventDescriptorReader.cs (2)
38throw new JsonException($"Unknown property {property.Name}"); 72throw new JsonException($"Unknown property {property.Name}");
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Infrastructure\DefaultTempDataSerializer.cs (2)
74deserialized[item.Name] = deserializedValue; 122dictionary[item.Name] = item.Value.GetString();
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SourceLinkMap.cs (1)
94!TryParseEntry(documentsEntry.Name, documentsEntry.Value.GetString()!, out var entry))
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
228runtime = token.Name;
Microsoft.DotNet.ProjectTools (4)
LaunchSettings\LaunchSettings.cs (4)
100selectedProfileName = firstProfileProperty.Value.ValueKind == JsonValueKind.Object ? firstProfileProperty.Name : null; 107.Where(p => string.Equals(p.Name, profileName, StringComparison.OrdinalIgnoreCase))]; 112string.Join(",\n", caseInsensitiveProfileMatches.Select(p => $"\t{p.Name}")))); 120profileObject = profilesObject.GetProperty(caseInsensitiveProfileMatches.First().Name);
Microsoft.Extensions.AI.Evaluation.Safety (4)
ContentSafetyService.cs (4)
63string metricName = metricProperty.Name; 110if (property.Name != "label" && property.Name != "reasoning") 112metric.AddOrUpdateMetadata(property.Name, property.Value.ToString());
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
50EnterContext(property.Name);
Microsoft.ML.Tokenizers.Tests (1)
BpeTests.cs (1)
1008yield return new KeyValuePair<string, int>(token.Name, token.Value.GetInt32());
Microsoft.NET.Build.Containers (2)
LocalDaemons\DockerCli.cs (2)
253&& property.Name.Equals(registryDomain, StringComparison.OrdinalIgnoreCase)) 269&& property.Name.Equals(registryDomain, StringComparison.OrdinalIgnoreCase))
Microsoft.NET.HostModel (1)
ComHost\RegFreeComManifest.cs (1)
65string guidMaybe = property.Name;
Microsoft.SourceLink.Tools.Package (1)
SourceLinkMap.cs (1)
114!TryParseEntry(documentsEntry.Name, documentsEntry.Value.GetString()!, out var entry))
Microsoft.TemplateEngine.Edge (5)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (5)
268var property = new KeyValuePair<string, JsonNode?>(prop.Name, ParseJsonNode(prop.Value.GetRawText())); 269if (propertyIndexes.TryGetValue(prop.Name, out int existingIndex)) 275propertyIndexes[prop.Name] = result.Count; 557if (string.Equals(prop.Name, key, StringComparison.Ordinal)) 561else if (string.Equals(prop.Name, key, StringComparison.OrdinalIgnoreCase))
Microsoft.TemplateEngine.Utils (5)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (5)
268var property = new KeyValuePair<string, JsonNode?>(prop.Name, ParseJsonNode(prop.Value.GetRawText())); 269if (propertyIndexes.TryGetValue(prop.Name, out int existingIndex)) 275propertyIndexes[prop.Name] = result.Count; 557if (string.Equals(prop.Name, key, StringComparison.Ordinal)) 561else if (string.Equals(prop.Name, key, StringComparison.OrdinalIgnoreCase))
Microsoft.TemplateSearch.Common (5)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (5)
268var property = new KeyValuePair<string, JsonNode?>(prop.Name, ParseJsonNode(prop.Value.GetRawText())); 269if (propertyIndexes.TryGetValue(prop.Name, out int existingIndex)) 275propertyIndexes[prop.Name] = result.Count; 557if (string.Equals(prop.Name, key, StringComparison.Ordinal)) 561else if (string.Equals(prop.Name, key, StringComparison.OrdinalIgnoreCase))
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\TestRunStatisticsConverter.cs (1)
37if (Enum.TryParse<TestOutcome>(kvp.Name, out var outcome))
System.Text.Json (7)
System\Text\Json\Document\JsonElement.cs (2)
1373ref ValueQueue<JsonElement> values = ref CollectionsMarshal.GetValueRefOrAddDefault(properties2, prop2.Name, out bool _); 1388ref ValueQueue<JsonElement> values = ref CollectionsMarshal.GetValueRefOrAddDefault(properties2, prop.Name, out bool exists);
System\Text\Json\Document\JsonProperty.cs (4)
44/// <see cref="Name" />, but can avoid creating the string instance. 64/// <see cref="Name" />, but can avoid creating the string instance. 84/// <see cref="Name" />, but can avoid creating the string instance. 107/// This <see cref="Name"/>'s length is too large to be a JSON object property.
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
262newDictionary.Add(jElementProperty.Name, node);