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