40 references to Name
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
469packageVersionsDictionary[packageVersion.Name] = packageVersion.Value.GetString();
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.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.Grpc.JsonTranscoding.Tests (6)
ConverterTests\JsonElementComparer.cs (6)
77var xProperties = xPropertiesUnsorted.OrderBy(p => p.Name, StringComparer.Ordinal); 78var yProperties = yPropertiesUnsorted.OrderBy(p => p.Name, StringComparer.Ordinal); 81if (px.Name != py.Name) 142foreach (var property in obj.EnumerateObject().OrderBy(p => p.Name, StringComparer.Ordinal)) 144hash.Add(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)
217runtime = token.Name;
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
50EnterContext(property.Name);
System.Text.Json (7)
System\Text\Json\Document\JsonElement.cs (2)
1378ref ValueQueue<JsonElement> values = ref CollectionsMarshal.GetValueRefOrAddDefault(properties2, prop2.Name, out bool _); 1393ref 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)
237dictionary.Add(jElementProperty.Name, node);
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);
Templates.Tests (1)
src\ProjectTemplates\Shared\Project.cs (1)
331Assert.Equal(expectedProfileName, actualProfile.Name, StringComparer.Ordinal);