8 references to GetNameForAttribute
System.Runtime.Serialization (8)
System\Runtime\Serialization\CodeExporter.cs (8)
821
string dataContractName =
GetNameForAttribute
(classDataContract.StableName.Name);
874
string dataMemberName =
GetNameForAttribute
(dataMember.Name);
1090
string dataContractName =
GetNameForAttribute
(enumDataContract.StableName.Name);
1127
string dataContractName =
GetNameForAttribute
(dataContract.StableName.Name);
1193
string dataContractName =
GetNameForAttribute
(collectionContract.StableName.Name);
1237
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.ItemNameProperty, new CodePrimitiveExpression(
GetNameForAttribute
(collectionContract.ItemName))));
1240
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.KeyNameProperty, new CodePrimitiveExpression(
GetNameForAttribute
(collectionContract.KeyName))));
1241
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.ValueNameProperty, new CodePrimitiveExpression(
GetNameForAttribute
(collectionContract.ValueName))));