23 references to Format
System (2)
compmod\system\componentmodel\EnumConverter.cs (1)
170return Enum.Format(type, value, "G");
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
631accessString = Enum.Format(PermissionAccessType, currentAccess, "g");
System.Data (1)
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
709return Enum.Format(typeof(OleDbServiceValues), ((OleDbServiceValues)(int)value), "G");
System.ServiceModel (2)
System\ServiceModel\Description\OperationGenerator.cs (1)
1035return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(type), Enum.Format(type, val, "G"));
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
235return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EnumType)), Enum.Format(typeof(EnumType), value, "G"));
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
186return Enum.Format(parameterType, parameter, "G");
System.Web (5)
UI\ControlBuilder.cs (1)
1052entry.PersistedValue = Enum.Format(memberType, objectValue, "G");
UI\PageParser.cs (1)
241_mainDirectiveConfigSettings["viewStateEncryptionMode"] = Enum.Format(typeof(ViewStateEncryptionMode), PagesConfig.ViewStateEncryptionMode, "G");
UI\PropertyConverter.cs (1)
50string value = Enum.Format(enumType, enumValue, "G");
UI\WebControls\TextBox.cs (1)
596string result = Enum.Format(typeof(AutoCompleteType), type, "G");
UI\WebControls\WebControl.cs (1)
530tagName = Enum.Format(typeof(HtmlTextWriterTag), TagKey, "G").ToLower(CultureInfo.InvariantCulture);
System.Web.Mobile (2)
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
211alignmentNotSet ? "" : Enum.Format(typeof(Alignment), alignment, "G"));
UI\MobileControls\Design\MobileControlPersister.cs (1)
571persistValue = Enum.Format(propType, obj, "G");
System.Web.Services (5)
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
28CodeFieldReferenceExpression versionEnumFieldReference = new CodeFieldReferenceExpression(versionEnumTypeReference, Enum.Format(typeof(SoapProtocolVersion), SoapProtocolVersion.Soap12, "G"));
System\Web\Services\Description\SoapProtocolImporter.cs (3)
767AddMetadataProperty("Use", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.Use, "G"))); 772AddMetadataProperty("Use", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.Use, "G"))); 773AddMetadataProperty("ParameterStyle", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapParameterStyle).FullName), Enum.Format(typeof(SoapParameterStyle), hasWrapper ? SoapParameterStyle.Wrapped : SoapParameterStyle.Bare, "G")));
System\Web\Services\Protocols\Scalars.cs (1)
53return Enum.Format(value.GetType(), value, "G");
System.Xml (5)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
692string strValue = Enum.Format(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "G").Replace(",", " "); 693string numValue = Enum.Format(a.SoapDefaultValue.GetType(), a.SoapDefaultValue, "D");
System\Xml\Serialization\XmlCodeExporter.cs (1)
790attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G"))));
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1867string strValue = Enum.Format(t, a.XmlDefaultValue, "G").Replace(",", " "); 1868string numValue = Enum.Format(t, a.XmlDefaultValue, "D");