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