106 references to ConformanceLevel
System.Data (9)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
3610
WriterSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
290
settings.ConformanceLevel = System.Xml.
ConformanceLevel
.Fragment;
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
130
readerSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
496
writerSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10369
writerSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
fx\src\data\System\Data\SQLTypes\SqlXml.cs (4)
49
private readonly static XmlReaderSettings DefaultXmlReaderSettings = new XmlReaderSettings() { ConformanceLevel =
ConformanceLevel
.Fragment };
50
private readonly static XmlReaderSettings DefaultXmlReaderSettingsCloseInput = new XmlReaderSettings() { ConformanceLevel =
ConformanceLevel
.Fragment, CloseInput = true };
160
writerSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
192
writerSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
System.Data.Entity (3)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
259
readerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
System\Data\Metadata\MetadataArtifactLoaderFile.cs (1)
185
readerSettings.ConformanceLevel =
ConformanceLevel
.Document;
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
164
readerSettings.ConformanceLevel =
ConformanceLevel
.Document;
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
88
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
System.Data.Services (3)
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
191
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (2)
55
customContentWriterSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
157
customContentReaderSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
System.Data.Services.Client (4)
parent\Server\System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (2)
55
customContentWriterSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
157
customContentReaderSettings.ConformanceLevel =
ConformanceLevel
.Fragment;
System\Data\Services\Client\DataServiceContext.cs (1)
3006
settings.ConformanceLevel =
ConformanceLevel
.Auto;
System\Data\Services\Client\XmlUtil.cs (1)
191
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
System.Data.SqlXml (5)
System\Xml\Xsl\QIL\QilExpression.cs (1)
52
settings.ConformanceLevel =
ConformanceLevel
.Auto;
System\Xml\Xsl\QueryReaderSettings.cs (1)
31
xmlReaderSettings.ConformanceLevel =
ConformanceLevel
.Document;
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
219
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
System\Xml\Xsl\XmlILCommand.cs (1)
185
wellFormedWriter.Settings.ConformanceLevel !=
ConformanceLevel
.Document) {
System\Xml\Xsl\Xslt\Compiler.cs (1)
385
Settings.ConformanceLevel =
ConformanceLevel
.Auto;
System.ServiceModel (2)
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (2)
34
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
115
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
System.Workflow.Runtime (1)
Tracking\TrackingProfileSerializer.cs (1)
837
profileSettings.ConformanceLevel =
ConformanceLevel
.Document;
System.Xml (73)
System\Xml\BinaryXml\XmlBinaryReader.cs (7)
369
case
ConformanceLevel
.Auto:
371
case
ConformanceLevel
.Fragment:
373
case
ConformanceLevel
.Document:
395
settings.ConformanceLevel =
ConformanceLevel
.Auto; break;
397
settings.ConformanceLevel =
ConformanceLevel
.Fragment; break;
399
settings.ConformanceLevel =
ConformanceLevel
.Document; break;
2839
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
System\Xml\Core\XmlEncodedRawTextWriter.cs (5)
210
settings.ConformanceLevel =
ConformanceLevel
.Auto;
1639
protected
ConformanceLevel
conformanceLevel =
ConformanceLevel
.Auto;
1696
if (indentLevel == 1 && conformanceLevel ==
ConformanceLevel
.Document) {
1705
internal override void OnRootElement(
ConformanceLevel
currentConformanceLevel) {
System\Xml\Core\XmlRawWriter.cs (1)
248
internal virtual void OnRootElement(
ConformanceLevel
conformanceLevel) { }
System\Xml\Core\XmlReader.cs (2)
1499
internal static
ConformanceLevel
GetV1ConformanceLevel(XmlReader reader) {
1501
return tri != null ? tri.V1ComformanceLevel :
ConformanceLevel
.Document;
System\Xml\Core\XmlReaderSettings.cs (6)
48
ConformanceLevel
conformanceLevel;
175
public
ConformanceLevel
ConformanceLevel {
182
if ((uint)value > (uint)
ConformanceLevel
.Document) {
521
conformanceLevel =
ConformanceLevel
.Document;
621
if (this.conformanceLevel !=
ConformanceLevel
.Auto && this.conformanceLevel != XmlReader.GetV1ConformanceLevel(baseReader)) {
675
if (this.conformanceLevel != baseReaderSettings.ConformanceLevel && this.conformanceLevel !=
ConformanceLevel
.Auto) {
System\Xml\Core\XmlTextReaderImpl.cs (10)
469
case
ConformanceLevel
.Auto:
475
case
ConformanceLevel
.Fragment:
481
case
ConformanceLevel
.Document:
486
goto case
ConformanceLevel
.Document;
843
case XmlNodeType.None: settings.ConformanceLevel =
ConformanceLevel
.Auto; break;
844
case XmlNodeType.Element: settings.ConformanceLevel =
ConformanceLevel
.Fragment; break;
845
case XmlNodeType.Document: settings.ConformanceLevel =
ConformanceLevel
.Document; break;
8196
internal
ConformanceLevel
V1ComformanceLevel {
8198
return fragmentType == XmlNodeType.Element ?
ConformanceLevel
.Fragment :
ConformanceLevel
.Document;
System\Xml\Core\XmlUtf8RawTextWriter.cs (5)
166
settings.ConformanceLevel =
ConformanceLevel
.Auto;
1539
protected
ConformanceLevel
conformanceLevel =
ConformanceLevel
.Auto;
1592
if (indentLevel == 1 && conformanceLevel ==
ConformanceLevel
.Document) {
1601
internal override void OnRootElement(
ConformanceLevel
currentConformanceLevel) {
System\Xml\Core\XmlWellFormedWriter.cs (13)
65
ConformanceLevel
conformanceLevel;
267
stateTable = (conformanceLevel ==
ConformanceLevel
.Document) ? StateTableDocument : StateTableAuto;
360
if (conformanceLevel ==
ConformanceLevel
.Fragment) {
370
if (conformanceLevel ==
ConformanceLevel
.Auto) {
371
conformanceLevel =
ConformanceLevel
.Document;
501
if (conformanceLevel ==
ConformanceLevel
.Document) {
542
if (conformanceLevel ==
ConformanceLevel
.Document) {
805
throw new ArgumentException(Res.GetString(conformanceLevel ==
ConformanceLevel
.Document ? Res.Xml_DupXmlDecl : Res.Xml_CannotWriteXmlDecl));
1359
if (conformanceLevel ==
ConformanceLevel
.Auto) {
1360
conformanceLevel =
ConformanceLevel
.Document;
1363
else if (conformanceLevel ==
ConformanceLevel
.Fragment) {
1384
conformanceLevel =
ConformanceLevel
.Fragment;
1824
if (conformanceLevel ==
ConformanceLevel
.Document) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (8)
57
if (conformanceLevel ==
ConformanceLevel
.Fragment) {
67
if (conformanceLevel ==
ConformanceLevel
.Auto) {
68
conformanceLevel =
ConformanceLevel
.Document;
309
if (conformanceLevel ==
ConformanceLevel
.Document) {
656
throw new ArgumentException(Res.GetString(conformanceLevel ==
ConformanceLevel
.Document ? Res.Xml_DupXmlDecl : Res.Xml_CannotWriteXmlDecl));
1002
if (conformanceLevel ==
ConformanceLevel
.Auto) {
1003
conformanceLevel =
ConformanceLevel
.Document;
1006
else if (conformanceLevel ==
ConformanceLevel
.Fragment) {
System\Xml\Core\XmlWriterSettings.cs (10)
78
ConformanceLevel
conformanceLevel;
239
public
ConformanceLevel
ConformanceLevel {
246
if ((uint)value > (uint)
ConformanceLevel
.Document) {
683
conformanceLevel =
ConformanceLevel
.Document;
705
ConformanceLevel
confLevel =
ConformanceLevel
.Auto;
731
checkNames = confLevel ==
ConformanceLevel
.Auto;
744
if (confLevel !=
ConformanceLevel
.Auto) {
841
ConformanceLevel = (
ConformanceLevel
)reader.ReadSByte(0, (sbyte)
ConformanceLevel
.Document);
System\Xml\Dom\DocumentXmlWriter.cs (2)
78
settings.ConformanceLevel = (state == State.Prolog ?
ConformanceLevel
.Document :
ConformanceLevel
.Fragment);
System\Xml\XPath\XPathNavigator.cs (3)
943
readerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
1185
writerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
1218
writerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
System\Xml\XPath\XPathNavigatorReader.cs (1)
156
rs.ConformanceLevel =
ConformanceLevel
.Fragment;
System.Xml.Linq (5)
System\Xml\Linq\XLinq.cs (5)
2010
if (this is XText) ws.ConformanceLevel =
ConformanceLevel
.Fragment;
2517
settings.ConformanceLevel = this is XDocument ?
ConformanceLevel
.Document :
ConformanceLevel
.Fragment;
6709
ws.ConformanceLevel =
ConformanceLevel
.Fragment;
7882
settings.ConformanceLevel =
ConformanceLevel
.Auto;