34 implementations of IXmlLineInfo
PresentationBuildTasks (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
37internal class XmlWrappingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System.Activities (1)
System\Activities\Debugger\XmlWrappingReader.cs (1)
13internal class XmlWrappingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System.Data.Entity (1)
System\Data\Mapping\FunctionImportMapping.cs (1)
720internal sealed class LineInfo: IXmlLineInfo
System.Data.Services.Client (1)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
24internal class XmlWrappingReader : XmlReader, IXmlLineInfo
System.IdentityModel (3)
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
16internal class IdentityModelWrappedXmlDictionaryReader : XmlDictionaryReader, IXmlLineInfo
System\IdentityModel\WrappedReader.cs (1)
12sealed class WrappedReader : DelegatingXmlDictionaryReader, IXmlLineInfo
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
18internal class WrappedXmlDictionaryReader : XmlDictionaryReader, IXmlLineInfo
System.Runtime.Serialization (5)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
12internal class XmlSerializableReader : XmlReader, IXmlLineInfo, IXmlTextParser
System\Xml\XmlDictionaryReader.cs (1)
1346class XmlWrappedReader : XmlDictionaryReader, IXmlLineInfo
System\Xml\XmlMtomReader.cs (2)
23class XmlMtomReader : XmlDictionaryReader, IXmlLineInfo, IXmlMtomReaderInitializer 1073internal class XopIncludeReader : XmlDictionaryReader, IXmlLineInfo
System\Xml\XmlUTF8TextReader.cs (1)
22class XmlUTF8TextReader : XmlBaseReader, IXmlLineInfo, IXmlTextReaderInitializer
System.Xml (18)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
23internal sealed class XPathDocumentNavigator : XPathNavigator, IXmlLineInfo {
System\Xml\Core\XmlAsyncCheckReader.cs (1)
810internal class XmlAsyncCheckReaderWithLineInfo : XmlAsyncCheckReader, IXmlLineInfo {
System\Xml\Core\XmlSubtreeReader.cs (1)
18internal sealed partial class XmlSubtreeReader : XmlWrappingReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlSubtreeReaderAsync.cs (1)
13internal sealed partial class XmlSubtreeReader : XmlWrappingReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlTextReader.cs (1)
23public class XmlTextReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlTextReaderImpl.cs (1)
34internal partial class XmlTextReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
29internal partial class XmlTextReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlValidatingReader.cs (1)
20public class XmlValidatingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
23internal sealed partial class XmlValidatingReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
18internal sealed partial class XmlValidatingReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XmlWrappingReader.cs (1)
17internal partial class XmlWrappingReader : XmlReader, IXmlLineInfo {
System\Xml\Core\XmlWrappingReaderAsync.cs (1)
12internal partial class XmlWrappingReader : XmlReader, IXmlLineInfo {
System\Xml\Core\XsdCachingReader.cs (1)
20internal partial class XsdCachingReader : XmlReader, IXmlLineInfo {
System\Xml\Core\XsdCachingReaderAsync.cs (1)
15internal partial class XsdCachingReader : XmlReader, IXmlLineInfo {
System\Xml\Core\XsdValidatingReader.cs (1)
42internal partial class XsdValidatingReader : XmlReader, IXmlSchemaInfo, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
17internal partial class XsdValidatingReader : XmlReader, IXmlSchemaInfo, IXmlLineInfo, IXmlNamespaceResolver {
System\Xml\IXmlLineInfo.cs (1)
20internal class PositionInfo : IXmlLineInfo {
System\Xml\Serialization\XmlCountingReader.cs (1)
9internal class XmlCountingReader : XmlReader, IXmlTextParser, IXmlLineInfo
System.Xml.Linq (3)
System\Xml\Linq\XLinq.cs (2)
926public abstract class XObject : IXmlLineInfo 8060internal class XNodeReader : XmlReader, IXmlLineInfo
System\Xml\Linq\XNodeNavigator.cs (1)
10internal class XNodeNavigator : XPathNavigator, IXmlLineInfo
WindowsBase (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
37internal class XmlWrappingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
441 references to IXmlLineInfo
PresentationBuildTasks (8)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (2)
1481IXmlLineInfo info = Reader as IXmlLineInfo;
Base\System\Windows\Markup\XmlWrappingReader.cs (2)
42protected IXmlLineInfo _readerAsIXmlLineInfo; 196_readerAsIXmlLineInfo = value as IXmlLineInfo;
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
862IXmlLineInfo xmlLineInfo = xmlReader as IXmlLineInfo;
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
5197_xmlLineInfo = _xmlReader as IXmlLineInfo; 6767IXmlLineInfo _xmlLineInfo;
SMDiagnostics (2)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
230IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System.Activities (3)
System\Activities\Debugger\XmlWrappingReader.cs (3)
16private IXmlLineInfo baseReaderAsLineInfo; 155this.baseReaderAsLineInfo = value as IXmlLineInfo; 160protected IXmlLineInfo BaseReaderAsLineInfo
System.Data.Entity (97)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (2)
334IXmlLineInfo xmlLineInfo = reader as IXmlLineInfo;
System\Data\Mapping\FunctionImportMapping.cs (2)
727: this((IXmlLineInfo)nav) 730internal LineInfo(IXmlLineInfo lineInfo)
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (3)
196/// <see cref="GetRename(EdmType, out IXmlLineInfo)"/> for more info. 200IXmlLineInfo lineInfo; 212internal string GetRename(EdmType type, out IXmlLineInfo lineInfo)
System\Data\Mapping\StorageMappingItemLoader.cs (88)
240(IXmlLineInfo)nav, m_parsingErrors); 316IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 400IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 502IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 598m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 669StorageMappingErrorCode.MissingSetClosureInModificationFunctionMapping, m_sourceLocation, (IXmlLineInfo)nav 776StorageMappingErrorCode.MissingSetClosureInQueryViews, m_sourceLocation, (IXmlLineInfo)nav 807IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 919StorageMappingErrorCode.MissingModificationFunctionMappingForEntityType, m_sourceLocation, (IXmlLineInfo)nav 932IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 977IXmlLineInfo lineInfo = xmlLineInfoNav; 1032IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 1140IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 1271m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1279m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1293m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1327StorageMappingErrorCode.TypeNameContainsMultipleTypesForQueryView, m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1335StorageMappingErrorCode.IsTypeOfQueryViewForBaseType, m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1345m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1352m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 1372((IXmlLineInfo)nav).LineNumber, ((IXmlLineInfo)nav).LinePosition); 1380((IXmlLineInfo)nav).LineNumber, ((IXmlLineInfo)nav).LinePosition); 1401IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 1524IXmlLineInfo lineInfo = (IXmlLineInfo)(nav.Clone()); 1683IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 1717IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 1755IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 1834IXmlLineInfo functionImportMappingLineInfo, 1938IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 1951IXmlLineInfo lineInfo = xmlLineInfoNav; 2007IXmlLineInfo lineInfo = (IXmlLineInfo)(nav.Clone()); 2084IXmlLineInfo lineInfo, 2264IXmlLineInfo lineInfo, 2357IXmlLineInfo navLineInfo, 2444IXmlLineInfo navLineInfo, 2467IXmlLineInfo columnMappingLineInfo = null; 2545IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 2639IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 2737IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 2835IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 2907IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 3056StorageMappingErrorCode.InvalidComplexType, m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 3108m_sourceLocation, (IXmlLineInfo)nav, m_parsingErrors); 3155IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 3187IXmlLineInfo navLineInfo = (IXmlLineInfo)nav; 3384private static void AddToSchemaErrors(string message, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3390private static EdmSchemaError AddToSchemaErrorsWithMemberInfo(Func<object, string> messageFormat, string errorMember, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3398string errorStructure, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3406private static void AddToSchemaErrorWithMessage(string errorMessage, StorageMappingErrorCode errorCode, string location, IXmlLineInfo lineInfo, IList<EdmSchemaError> parsingErrors) 3474StorageMappingErrorCode.ConditionError, sourceLocation, (IXmlLineInfo)nav, parsingErrors); 3491IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 3595private void ValidateAndUpdateScalarMemberMapping(EdmProperty member, EdmProperty columnMember, IXmlLineInfo lineInfo) 3817IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 3898m_parentLoader.m_sourceLocation, (IXmlLineInfo)nav, 3993IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 4104m_parentLoader.m_sourceLocation, (IXmlLineInfo)nav, m_parentLoader.m_parsingErrors); 4114IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 4163IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav; 4339IXmlLineInfo xmlLineInfoNav = (IXmlLineInfo)nav;
System\Data\Metadata\ObjectHelper.cs (2)
142EdmProperty columnProperty, Xml.IXmlLineInfo lineInfo, string sourceLocation, 164Xml.IXmlLineInfo lineInfo,
System.Data.Services.Client (2)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (2)
32private IXmlLineInfo readerAsIXmlLineInfo; 318this.readerAsIXmlLineInfo = value as IXmlLineInfo;
System.Data.SqlXml (5)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
1003IXmlLineInfo lineInfo = currentNode as IXmlLineInfo;
System\Xml\Xsl\Xslt\XsltInput.cs (3)
29private IXmlLineInfo readerLineInfo; 50IXmlLineInfo xmlLineInfo = reader as IXmlLineInfo;
System.IdentityModel (20)
System\IdentityModel\DiagnosticUtilityExtensions.cs (2)
122IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (6)
417IXmlLineInfo lineInfo = _reader as IXmlLineInfo; 431IXmlLineInfo lineInfo = _reader as IXmlLineInfo; 446IXmlLineInfo lineInfo = _reader as IXmlLineInfo;
System\IdentityModel\WrappedReader.cs (6)
40IXmlLineInfo lineInfo = base.InnerReader as IXmlLineInfo; 53IXmlLineInfo lineInfo = base.InnerReader as IXmlLineInfo; 75IXmlLineInfo lineInfo = base.InnerReader as IXmlLineInfo;
System\IdentityModel\WrappedXmlDictionaryReader.cs (6)
207IXmlLineInfo lineInfo = this.reader as IXmlLineInfo; 222IXmlLineInfo lineInfo = this.reader as IXmlLineInfo; 457IXmlLineInfo lineInfo = this.reader as IXmlLineInfo;
System.Runtime.Serialization (37)
System\Runtime\Serialization\XmlReaderDelegator.cs (6)
1065IXmlLineInfo iXmlLineInfo = reader as IXmlLineInfo; 1073IXmlLineInfo iXmlLineInfo = reader as IXmlLineInfo; 1082IXmlLineInfo iXmlLineInfo = reader as IXmlLineInfo;
System\Runtime\Serialization\XmlSerializableReader.cs (9)
164bool IXmlLineInfo.HasLineInfo() 166IXmlLineInfo xmlLineInfo = InnerReader as IXmlLineInfo; 170int IXmlLineInfo.LineNumber 174IXmlLineInfo xmlLineInfo = InnerReader as IXmlLineInfo; 179int IXmlLineInfo.LinePosition 183IXmlLineInfo xmlLineInfo = InnerReader as IXmlLineInfo;
System\Xml\XmlDictionaryReader.cs (6)
1737IXmlLineInfo lineInfo = reader as IXmlLineInfo; 1749IXmlLineInfo lineInfo = reader as IXmlLineInfo; 1762IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System\Xml\XmlExceptionHelper.cs (4)
31IXmlLineInfo lineInfo = reader as IXmlLineInfo; 48IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System\Xml\XmlMtomReader.cs (12)
972IXmlLineInfo lineInfo = xmlReader as IXmlLineInfo; 985IXmlLineInfo lineInfo = xmlReader as IXmlLineInfo; 999IXmlLineInfo lineInfo = xmlReader as IXmlLineInfo; 1687bool IXmlLineInfo.HasLineInfo() 1689return ((IXmlLineInfo)parentReader).HasLineInfo(); 1692int IXmlLineInfo.LineNumber 1696return ((IXmlLineInfo)parentReader).LineNumber; 1700int IXmlLineInfo.LinePosition 1704return ((IXmlLineInfo)parentReader).LinePosition;
System.ServiceModel (6)
System\ServiceModel\EndpointAddress.cs (2)
976IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System\ServiceModel\Syndication\FeedUtils.cs (2)
17IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
562IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System.Windows.Forms (2)
winforms\Managed\System\Resources\ResXResourceReader.cs (2)
369IXmlLineInfo lineInfo = reader as IXmlLineInfo;
System.Workflow.ComponentModel (30)
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (4)
115int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1; 116int linePosition = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (14)
501int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1; 502int linePosition = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1; 516int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1; 517int linePosition = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1; 1673IXmlLineInfo xmlLineInfo = reader as IXmlLineInfo; 2533argTokens = TokenizeAttributes(serializationManager, arguments, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1);
Shared\XomlSerializationHelpers.cs (12)
119serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), new object[] { StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs }), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1)); 150serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1)); 174int lineNumber = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1; 175int linePosition = (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1;
System.Xml (188)
System\Xml\Cache\XPathDocumentBuilder.cs (5)
44private IXmlLineInfo lineInfo; // Line information provider 66public XPathDocumentBuilder(XPathDocument doc, IXmlLineInfo lineInfo, string baseUri, XPathDocument.LoadFlags flags) { 80public void Initialize(XPathDocument doc, IXmlLineInfo lineInfo, string baseUri, XPathDocument.LoadFlags flags) { 762private IXmlLineInfo lineInfo; 770public void Initialize(IXmlLineInfo lineInfo) {
System\Xml\Core\ReadContentAsBinaryHelper.cs (3)
256throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 296throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 387throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo );
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
206throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 240throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo ); 311throw new XmlException( Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo );
System\Xml\Core\ValidatingReaderNodeData.cs (1)
162internal void SetLineInfo( IXmlLineInfo lineInfo ) {
System\Xml\Core\XmlAsyncCheckReader.cs (3)
22if (reader is IXmlLineInfo) { 812private readonly IXmlLineInfo readerAsIXmlLineInfo; 817readerAsIXmlLineInfo = (IXmlLineInfo)reader;
System\Xml\Core\XmlCharCheckingReader.cs (2)
520throw new XmlException( res, arg, (IXmlLineInfo)null ); 525throw new XmlException( res, args, (IXmlLineInfo)null );
System\Xml\Core\XmlReader.cs (32)
219throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 233throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 247throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTimeOffset", e, this as IXmlLineInfo); 261throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 275throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 289throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 303throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 317throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 350throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 353throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 735throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 743throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 749throw new XmlException(Res.Xml_ElementNotFound, name, this as IXmlLineInfo); 757throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 763throw new XmlException(Res.Xml_ElementNotFoundNs, new string[2] { localname, ns }, this as IXmlLineInfo); 774throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 780throw new XmlException(Res.Xml_UnexpectedNodeInSimpleContent, new string[] { this.NodeType.ToString(), "ReadElementString" }, this as IXmlLineInfo); 796throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 799throw new XmlException(Res.Xml_ElementNotFound, name, this as IXmlLineInfo); 806throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 822throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 825throw new XmlException(Res.Xml_ElementNotFoundNs, new string[2] { localname, ns }, this as IXmlLineInfo); 832throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 846throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 1354throw new XmlException(Res.Xml_InvalidNodeType, this.NodeType.ToString(), this as IXmlLineInfo); 1357throw new XmlException(Res.Xml_ElementNotFoundNs, new string[2] { localName, namespaceURI }, this as IXmlLineInfo); 1362return CreateReadContentAsException(methodName, NodeType, this as IXmlLineInfo); 1366return CreateReadElementContentAsException(methodName, NodeType, this as IXmlLineInfo); 1373static internal Exception CreateReadContentAsException(string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo) { 1377static internal Exception CreateReadElementContentAsException(string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo) { 1381static string AddLineInfo(string message, IXmlLineInfo lineInfo) { 1455throw new XmlException(Res.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
System\Xml\Core\XmlReaderAsync.cs (3)
70throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 73throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 374throw new XmlException(Res.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReader.cs (12)
768throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 885throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 980int IXmlLineInfo.LineNumber { 983IXmlLineInfo lineInfo = reader as IXmlLineInfo; 992int IXmlLineInfo.LinePosition { 995IXmlLineInfo lineInfo = reader as IXmlLineInfo; 1004bool IXmlLineInfo.HasLineInfo() { 1005return reader is IXmlLineInfo; 1146throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 1171throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReaderAsync.cs (4)
292throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 409throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 497throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo); 522throw new XmlException(Res.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImpl.cs (1)
8432throw new XmlException( Res.Xml_InvalidNodeType, curNode.type.ToString(), this as IXmlLineInfo );
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
5073throw new XmlException( Res.Xml_InvalidNodeType, curNode.type.ToString(), this as IXmlLineInfo );
System\Xml\Core\XmlValidatingReaderImpl.cs (2)
662return ((IXmlLineInfo)coreReader).LineNumber; 669return ((IXmlLineInfo)coreReader).LinePosition;
System\Xml\Core\XmlWrappingReader.cs (2)
23protected IXmlLineInfo readerAsIXmlLineInfo; 31this.readerAsIXmlLineInfo = baseReader as IXmlLineInfo;
System\Xml\Core\XsdCachingReader.cs (7)
53IXmlLineInfo lineInfo; 63internal XsdCachingReader(XmlReader reader, IXmlLineInfo lineInfo, CachingEventHandler handlerMethod) { 432recordedNode.SetLineInfo(coreReader as IXmlLineInfo); 522bool IXmlLineInfo.HasLineInfo() { 526int IXmlLineInfo.LineNumber { 532int IXmlLineInfo.LinePosition { 550internal IXmlLineInfo GetLineInfo() {
System\Xml\Core\XsdValidatingReader.cs (59)
117IXmlLineInfo lineInfo; 132this.lineInfo = reader as IXmlLineInfo; 397throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 400throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 403throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 422throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 425throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 428throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 447throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 450throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 453throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 472throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 475throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 478throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 497throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 500throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 503throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 522throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 525throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 528throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 547throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 550throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 553throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 572throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 575throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 578throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 605throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 608throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 611throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 642throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 645throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 648throw new XmlException(Res.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 669throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 672throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 675throw new XmlException(Res.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 696throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 699throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 702throw new XmlException(Res.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 723throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 726throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 729throw new XmlException(Res.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 750throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 753throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 756throw new XmlException(Res.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 777throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 780throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 783throw new XmlException(Res.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 804throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 807throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 810throw new XmlException(Res.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 831throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 834throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 837throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 864throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 867throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 870throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 1958throw new XmlException(Res.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo); 1966throw new XmlException(Res.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo); 2158this.lineInfo = cachingReader as IXmlLineInfo;
System\Xml\Core\XsdValidatingReaderAsync.cs (14)
51throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 54throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 57throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 87throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 90throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 93throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 128throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 131throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 134throw new XmlException(Res.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 165throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 168throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 171throw new XmlException(Res.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 681throw new XmlException(Res.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo); 692throw new XmlException(Res.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
System\Xml\IXmlLineInfo.cs (4)
26IXmlLineInfo li = o as IXmlLineInfo; 37private IXmlLineInfo lineInfo; 39public ReaderPositionInfo(IXmlLineInfo lineInfo) {
System\Xml\Schema\XmlSchemaValidator.cs (3)
114private IXmlLineInfo positionInfo; 115private IXmlLineInfo dummyPositionInfo; 248public IXmlLineInfo LineInfoProvider {
System\Xml\Serialization\XmlCountingReader.cs (9)
396bool IXmlLineInfo.HasLineInfo() 398IXmlLineInfo iXmlLineInfo = innerReader as IXmlLineInfo; 402int IXmlLineInfo.LineNumber 406IXmlLineInfo iXmlLineInfo = innerReader as IXmlLineInfo; 411int IXmlLineInfo.LinePosition 415IXmlLineInfo iXmlLineInfo = innerReader as IXmlLineInfo;
System\Xml\Serialization\XmlSerializationReader.cs (3)
1212if (Reader is IXmlLineInfo){ 1213IXmlLineInfo lineInfo = (IXmlLineInfo)Reader;
System\Xml\Serialization\XmlSerializer.cs (3)
430if (xmlReader is IXmlLineInfo) { 431IXmlLineInfo lineInfo = (IXmlLineInfo)xmlReader;
System\Xml\XmlException.cs (5)
129internal XmlException(string res, String arg, IXmlLineInfo lineInfo) : 132internal XmlException(string res, String arg, Exception innerException, IXmlLineInfo lineInfo) : 135internal XmlException(string res, String arg, IXmlLineInfo lineInfo, string sourceUri) : 138internal XmlException(string res, string[] args, IXmlLineInfo lineInfo) : 141internal XmlException(string res, string[] args, IXmlLineInfo lineInfo, string sourceUri) :
System\Xml\XPath\XPathDocument.cs (2)
146IXmlLineInfo lineInfo; 155lineInfo = reader as IXmlLineInfo;
System\Xml\XPath\XPathNavigatorReader.cs (5)
41protected IXmlLineInfo lineInfo; 78IXmlLineInfo xli = nav as IXmlLineInfo; 107protected XPathNavigatorReader( XPathNavigator navToRead, IXmlLineInfo xli, IXmlSchemaInfo xsi ) { 974internal XPathNavigatorReaderWithSI( XPathNavigator navToRead, IXmlLineInfo xli, IXmlSchemaInfo xsi )
System.Xml.Linq (37)
System\Xml\Linq\XLinq.cs (18)
1212bool IXmlLineInfo.HasLineInfo() { 1216int IXmlLineInfo.LineNumber { 1224int IXmlLineInfo.LinePosition { 3099IXmlLineInfo li = (o & LoadOptions.SetLineInfo) != 0 ? r as IXmlLineInfo : null; 5075IXmlLineInfo li = null; 5077li = r as IXmlLineInfo; 5723IXmlLineInfo li = reader as IXmlLineInfo; 8855bool IXmlLineInfo.HasLineInfo() { 8865IXmlLineInfo li = source as IXmlLineInfo; 8873int IXmlLineInfo.LineNumber { 8887IXmlLineInfo li = source as IXmlLineInfo; 8896int IXmlLineInfo.LinePosition { 8910IXmlLineInfo li = source as IXmlLineInfo;
System\Xml\Linq\XNodeNavigator.cs (9)
623bool IXmlLineInfo.HasLineInfo() { 624IXmlLineInfo li = source as IXmlLineInfo; 631int IXmlLineInfo.LineNumber { 633IXmlLineInfo li = source as IXmlLineInfo; 641int IXmlLineInfo.LinePosition { 643IXmlLineInfo li = source as IXmlLineInfo;
System\Xml\Linq\XNodeValidator.cs (10)
67IXmlLineInfo orginal = SaveLineInfo(source); 191IXmlLineInfo SaveLineInfo(XObject source) { 192IXmlLineInfo previousLineInfo = validator.LineInfoProvider; 193validator.LineInfoProvider = source as IXmlLineInfo; 197void RestoreLineInfo(IXmlLineInfo originalLineInfo) { 203IXmlLineInfo original = SaveLineInfo(a); 215IXmlLineInfo orginal = SaveLineInfo(a); 252IXmlLineInfo original = SaveLineInfo(e); 271IXmlLineInfo orginal = SaveLineInfo(n); 284validator.LineInfoProvider = t as IXmlLineInfo;
WindowsBase (4)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (2)
1481IXmlLineInfo info = Reader as IXmlLineInfo;
Base\System\Windows\Markup\XmlWrappingReader.cs (2)
42protected IXmlLineInfo _readerAsIXmlLineInfo; 196_readerAsIXmlLineInfo = value as IXmlLineInfo;