1 override of WebName
System.Xml (1)
System\Xml\XmlEncoding.cs (1)
182public override string WebName {
96 references to WebName
mscorlib (1)
system\security\policymanager.cs (1)
307format.AddAttribute("encoding", encoding.WebName);
PresentationFramework (2)
src\Framework\System\Windows\Documents\FixedSchema.cs (2)
46if (!encoding.Equals(Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) && 47!encoding.Equals(Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase))
System (1)
sys\system\io\ports\SerialPort.cs (1)
306throw new ArgumentException(SR.GetString(SR.NotSupportedEncoding, value.WebName), "value");
System.Configuration (2)
System\Configuration\MgmtConfigurationRecord.cs (2)
2081ConfigStreamInfo.StreamEncoding.WebName)); 3241utilWriter.Write(string.Format(CultureInfo.InvariantCulture, FORMAT_CONFIGSOURCE_FILE, ConfigStreamInfo.StreamEncoding.WebName));
System.Data.Services (2)
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
215writer.WriteProcessingInstruction("xml", "version=\"1.0\" encoding=\"" + encoding.WebName + "\" standalone=\"yes\"");
System\Data\Services\HttpProcessUtility.cs (1)
76return mime + ";charset=" + encoding.WebName;
System.Data.Services.Client (1)
System\Data\Services\Client\XmlUtil.cs (1)
215writer.WriteProcessingInstruction("xml", "version=\"1.0\" encoding=\"" + encoding.WebName + "\" standalone=\"yes\"");
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
169Write(this.encoding.WebName); 251Write(this.encoding.WebName);
System.Runtime.Remoting (1)
channels\http\httpremotinghandler.cs (1)
214sb.Append(encoding.WebName);
System.Runtime.Serialization (30)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (6)
347if (encoding.WebName == ValidatingUTF8.WebName) 351else if (encoding.WebName == ValidatingUTF16.WebName) 355else if (encoding.WebName == ValidatingBEUTF16.WebName)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (2)
312if (encoding.WebName != Encoding.UTF8.WebName)
System\Xml\EncodingStreamWrapper.cs (6)
178else if (encoding.WebName == ValidatingUTF8.WebName) 180else if (encoding.WebName == ValidatingUTF16.WebName) 182else if (encoding.WebName == ValidatingBEUTF16.WebName)
System\Xml\XmlMtomReader.cs (6)
186if (String.Compare(charset, expectedEncodings[i].WebName, StringComparison.OrdinalIgnoreCase) == 0) 199if (String.Compare(expectedEncodings[i].WebName, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 210if (String.Compare(expectedEncodings[i].WebName, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 225expectedCharSetStr.Append(encodings[i].WebName);
System\Xml\XmlMtomWriter.cs (5)
147return encoding.WebName == "utf-8"; 179string name = enc.WebName; 180if (String.Compare(name, Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase) == 0) 182if (String.Compare(name, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 184if (String.Compare(name, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0)
System\Xml\XmlUTF8TextWriter.cs (5)
35if (encoding.WebName != Encoding.UTF8.WebName) 173if (encoding.WebName == Encoding.BigEndianUnicode.WebName) 176WriteUTF8Chars(encoding.WebName);
System.ServiceModel (11)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
395instance.SetProperty(AdministrationStrings.Encoding, specificElement.WriteEncoding.WebName); 406instance.SetProperty(AdministrationStrings.Encoding, specificElement.WriteEncoding.WebName);
System\ServiceModel\Channels\MtomMessageEncoder.cs (2)
407if (this.writeEncoding.WebName == "utf-8") 722if (messageEncoder.writeEncoding.WebName != "utf-8")
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
316return encoding.WebName == "utf-8";
System\ServiceModel\Channels\TransportDefaults.cs (4)
71string charSet = encoding.WebName; 75if (charSet == supportedEncodings[i].WebName) 83string webName = encoding.WebName; 91if (enc.WebName == webName)
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
1357string charSet = encoding.WebName; 1361if (charSet == supportedEncodings[i].WebName)
System.ServiceModel.Web (7)
System\ServiceModel\Channels\WebMessageEncodingBindingElement.cs (1)
201wmiInstance.SetProperty(AdministrationStrings.Encoding, this.writeEncoding.WebName);
System\ServiceModel\Configuration\WebEncodingValidator.cs (6)
24((encoding.WebName != Encoding.UTF8.WebName) && 25(encoding.WebName != Encoding.Unicode.WebName) && 26(encoding.WebName != Encoding.BigEndianUnicode.WebName)))
System.Web (9)
Configuration\GlobalizationSection.cs (7)
42new ConfigurationProperty("requestEncoding", typeof(string), Encoding.UTF8.WebName, ConfigurationPropertyOptions.None); 44new ConfigurationProperty("responseEncoding", typeof(string), Encoding.UTF8.WebName, ConfigurationPropertyOptions.None); 54new ConfigurationProperty("responseHeaderEncoding", typeof(string), Encoding.UTF8.WebName, ConfigurationPropertyOptions.None); 102base[_propRequestEncoding] = value.WebName; 121base[_propResponseEncoding] = value.WebName; 141base[_propResponseHeaderEncoding] = value.WebName; 161base[_propFileEncoding] = value.WebName;
HttpResponse.cs (2)
1682_charSet = ContentEncoding.WebName; 1753throw new HttpException(SR.GetString(SR.Invalid_header_encoding, value.WebName));
System.Web.Mobile (1)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
811WriteAttribute ("encoding", HttpContext.Current.Response.ContentEncoding.WebName);
System.Web.Services (1)
System\Web\Services\Protocols\Scalars.cs (1)
279sb.Append(encoding.WebName);
System.Windows.Forms (1)
winforms\Managed\System\Resources\ResXFileRef.cs (1)
184result += (";" + textFileEncoding.WebName);
System.Xml (22)
System\Xml\Core\HtmlEncodedRawTextWriter.cs (1)
480base.RawText( base.encoding.WebName );
System\Xml\Core\HtmlUtf8RawTextWriter.cs (1)
480base.RawText( base.encoding.WebName );
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
238RawText( encoding.WebName );
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (1)
41await RawTextAsync( encoding.WebName ).ConfigureAwait(false);
System\Xml\Core\XmlTextReaderImpl.cs (9)
2948switch ( ps.encoding.WebName ) { // Encoding.Codepage is not supported in Silverlight 2967if ( ( newEncoding.WebName != ps.encoding.WebName || ps.decoder is SafeAsciiDecoder ) && !afterResetState) { 2989if ( ps.encoding.WebName != "utf-16BE" && 2990ps.encoding.WebName != "utf-16" && 3027if ( afterResetState && ps.encoding.WebName != newEncoding.WebName ) { 3332string encodingName = ps.encoding.WebName; 3529string encodingName = ps.encoding.WebName;
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
963if ( ( newEncoding.WebName != ps.encoding.WebName || ps.decoder is SafeAsciiDecoder ) && !afterResetState) { 1164string encodingName = ps.encoding.WebName; 1362string encodingName = ps.encoding.WebName;
System\Xml\Core\XmlTextWriter.cs (1)
972bufBld.Append(this.encoding.WebName);
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
194RawText( encoding.WebName );
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (1)
39await RawTextAsync( encoding.WebName ).ConfigureAwait(false);
System\Xml\Core\XmlWriterSettings.cs (2)
498Debug.Assert(Encoding.UTF8.WebName == "utf-8"); 499if (this.Encoding.WebName == "utf-8") { // Encoding.CodePage is not supported in Silverlight
WindowsBase (2)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (2)
861private static readonly string _webNameUTF8 = Encoding.UTF8.WebName.ToUpperInvariant(); 862private static readonly string _webNameUnicode = Encoding.Unicode.WebName.ToUpperInvariant();