73 writes to Name
illink (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Binding\FormDataMapperTests.cs (4)
2456[DataMember(Name = "mycustomkey")] 2459[DataMember(Name = "mycustomvalue")] 2474[DataMember(Name = "mycustomkey")] 2477[DataMember(Name = "mycustomvalue")]
Microsoft.AspNetCore.Components.Forms.Tests (1)
ExpressionFormatterTest.cs (1)
185[DataMember(Name = "Country")]
Microsoft.CodeAnalysis.Features (45)
Contracts\EditAndContinue\ManagedActiveStatementDebugInfo.cs (4)
29[DataMember(Name = "activeInstruction")] 35[DataMember(Name = "documentName")] 42[DataMember(Name = "sourceSpan")] 48[DataMember(Name = "flags")]
Contracts\EditAndContinue\ManagedActiveStatementUpdate.cs (3)
29[DataMember(Name = "method")] 35[DataMember(Name = "ilOffset")] 41[DataMember(Name = "newSpan")]
Contracts\EditAndContinue\ManagedExceptionRegionUpdate.cs (3)
28[DataMember(Name = "method")] 39[DataMember(Name = "delta")] 51[DataMember(Name = "newSpan")]
Contracts\EditAndContinue\ManagedHotReloadAvailability.cs (2)
21[DataMember(Name = "status")] 27[DataMember(Name = "localizedMessage")]
Contracts\EditAndContinue\ManagedHotReloadDiagnostic.cs (5)
32[DataMember(Name = "id")] 38[DataMember(Name = "message")] 44[DataMember(Name = "severity")] 50[DataMember(Name = "filePath")] 56[DataMember(Name = "span")]
Contracts\EditAndContinue\ManagedHotReloadUpdate.cs (12)
26[DataMember(Name = "module")] 29[DataMember(Name = "moduleName")] 32[DataMember(Name = "projectId")] 35[DataMember(Name = "ilDelta")] 38[DataMember(Name = "metadataDelta")] 41[DataMember(Name = "pdbDelta")] 44[DataMember(Name = "updatedTypes")] 47[DataMember(Name = "requiredCapabilities")] 50[DataMember(Name = "updatedMethods")] 53[DataMember(Name = "sequencePoints")] 56[DataMember(Name = "activeStatements")] 59[DataMember(Name = "exceptionRegions")]
Contracts\EditAndContinue\ManagedHotReloadUpdates.cs (2)
13[DataMember(Name = "updates")] 16[DataMember(Name = "diagnostics")]
Contracts\EditAndContinue\ManagedInstructionId.cs (2)
30[DataMember(Name = "method")] 36[DataMember(Name = "ilOffset")]
Contracts\EditAndContinue\ManagedMethodId.cs (2)
34[DataMember(Name = "module")] 40[DataMember(Name = "method")]
Contracts\EditAndContinue\ManagedModuleMethodId.cs (2)
46[DataMember(Name = "token")] 66[DataMember(Name = "version")]
Contracts\EditAndContinue\SequencePointUpdates.cs (2)
27[DataMember(Name = "fileName")] 33[DataMember(Name = "lineUpdates")]
Contracts\EditAndContinue\SourceLineUpdate.cs (2)
45[DataMember(Name = "oldLine")] 51[DataMember(Name = "newLine")]
Contracts\EditAndContinue\SourceSpan.cs (4)
58[DataMember(Name = "startLine")] 65[DataMember(Name = "startColumn")] 71[DataMember(Name = "endLine")] 78[DataMember(Name = "endColumn")]
Microsoft.CodeAnalysis.LanguageServer (4)
BrokeredServices\Services\Definitions\ProjectInitializationCompleteState.cs (4)
14[DataMember(IsRequired = true, EmitDefaultValue = false, Name = "environmentStateVersion")] 17[DataMember(IsRequired = false, EmitDefaultValue = true, Name = "projectsLoadedCount")] 20[DataMember(IsRequired = false, EmitDefaultValue = true, Name = "projectsFailedCount")] 23[DataMember(IsRequired = true, EmitDefaultValue = false, Name = "stateUpdateVersion")]
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
128[DataMember(Name = "capabilities")]
ScenarioTests.Common.Tests (1)
ScenarioTestTypes.cs (1)
148[DataMember(Name = "Result")]
System.Private.DataContractSerialization (12)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (2)
24[DataMember(Name = "DateTime", IsRequired = true)] 31[DataMember(Name = "OffsetMinutes", IsRequired = true)]
System\Runtime\Serialization\MemoryStreamAdapter.cs (10)
14[DataMember(Name = "__identity", Order = 0)] 25[DataMember(Name = "_buffer", Order = 1)] 28[DataMember(Name = "_capacity", Order = 2)] 31[DataMember(Name = "_expandable", Order = 3)] 34[DataMember(Name = "_exposable", Order = 4)] 37[DataMember(Name = "_isOpen", Order = 5)] 40[DataMember(Name = "_length", Order = 6)] 43[DataMember(Name = "_origin", Order = 7)] 46[DataMember(Name = "_position", Order = 8)] 49[DataMember(Name = "_writable", Order = 9)]
UnitTests.Common (1)
TestTypes.cs (1)
145[DataMember(Name = "Result")]
16 references to Name
Microsoft.AspNetCore.Components.Endpoints (6)
FormMapping\Metadata\FormDataMetadataFactory.cs (6)
199if (dataMember != null && dataMember.IsNameSetExplicitly && dataMember.Name != null) 201Log.CustomParameterNameMetadata(_logger, dataMember.Name, property.Name); 202matchingConstructorParameter.Name = dataMember.Name; 234if (dataMemberAttribute != null && dataMemberAttribute.IsNameSetExplicitly && dataMemberAttribute.Name != null) 236Log.CustomParameterNameMetadata(_logger, dataMemberAttribute.Name, property.Name); 237propertyInfo.Name = dataMemberAttribute.Name;
Microsoft.AspNetCore.Components.Forms (1)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
115var name = memberExpression.Member.GetCustomAttribute<DataMemberAttribute>()?.Name ?? memberExpression.Member.Name;
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (1)
115var name = memberExpression.Member.GetCustomAttribute<DataMemberAttribute>()?.Name ?? memberExpression.Member.Name;
Microsoft.AspNetCore.Http.Extensions (6)
src\Components\Endpoints\src\FormMapping\Metadata\FormDataMetadataFactory.cs (6)
199if (dataMember != null && dataMember.IsNameSetExplicitly && dataMember.Name != null) 201Log.CustomParameterNameMetadata(_logger, dataMember.Name, property.Name); 202matchingConstructorParameter.Name = dataMember.Name; 234if (dataMemberAttribute != null && dataMemberAttribute.IsNameSetExplicitly && dataMemberAttribute.Name != null) 236Log.CustomParameterNameMetadata(_logger, dataMemberAttribute.Name, property.Name); 237propertyInfo.Name = dataMemberAttribute.Name;
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ClassDataContract.cs (2)
856if (string.IsNullOrEmpty(memberAttribute.Name)) 858memberContract.Name = memberAttribute.Name;