8 references to GetNameForAttribute
System.Runtime.Serialization.Schema (8)
System\Runtime\Serialization\Schema\CodeExporter.cs (8)
797
string dataContractName =
GetNameForAttribute
(classDataContract.XmlName.Name);
849
string dataMemberName =
GetNameForAttribute
(dataMember.Name);
1080
string dataContractName =
GetNameForAttribute
(enumDataContract.XmlName.Name);
1118
string dataContractName =
GetNameForAttribute
(classDataContract.XmlName.Name);
1197
string dataContractName =
GetNameForAttribute
(collectionContract.XmlName.Name);
1246
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(ImportGlobals.ItemNameProperty, new CodePrimitiveExpression(
GetNameForAttribute
(itemName!)))); // ItemName is never null for Collection contracts.
1252
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(ImportGlobals.KeyNameProperty, new CodePrimitiveExpression(
GetNameForAttribute
(keyName))));
1253
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(ImportGlobals.ValueNameProperty, new CodePrimitiveExpression(
GetNameForAttribute
(valueName))));