12 references to Format
dotnet-svcutil-lib (7)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
777
string strValue = Enum.
Format
(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "G").Replace(",", " ");
778
string numValue = Enum.
Format
(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "D");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
912
attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(XmlSchemaForm).FullName), Enum.
Format
(typeof(XmlSchemaForm), form, "G"))));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
2145
string strValue = Enum.
Format
(t, a.XmlDefaultValue, "G").Replace(",", " ");
2146
string numValue = Enum.
Format
(t, a.XmlDefaultValue, "D");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
1028
return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(type), Enum.
Format
(type, val, "G"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
181
return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EnumType)), Enum.
Format
(typeof(EnumType), value, "G"));
System.ComponentModel.TypeConverter (1)
System\ComponentModel\EnumConverter.cs (1)
136
return Enum.
Format
(EnumType, value, "G");
System.Private.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
752
string strValue = Enum.
Format
(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "G").Replace(",", " ");
753
string numValue = Enum.
Format
(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "D");
System\Xml\Serialization\XmlReflectionImporter.cs (2)
2160
string strValue = Enum.
Format
(t, a.XmlDefaultValue, "G").Replace(",", " ");
2161
string numValue = Enum.
Format
(t, a.XmlDefaultValue, "D");