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