22 references to LinePosition
CSharpSyntaxGenerator (1)
SourceGenerator.cs (1)
84int offset = xmlException.LinePosition - 1; // LinePosition is one-based
Microsoft.Build (2)
BuildEventFileInfo.cs (1)
90_column = e.LinePosition;
ExceptionHandling.cs (1)
198column = xmlException.LinePosition;
Microsoft.Build.Engine.OM.UnitTests (1)
ExceptionHandling.cs (1)
198column = xmlException.LinePosition;
Microsoft.Build.Tasks.Core (3)
ExceptionHandling.cs (1)
198column = xmlException.LinePosition;
GenerateResource.cs (2)
2614xe.LinePosition, 0, 0, "General.InvalidResxFile", xe.Message); 2633xe.LinePosition, 0, 0, "General.InvalidResxFile", xe.Message);
Microsoft.Build.Utilities.Core (1)
ExceptionHandling.cs (1)
198column = xmlException.LinePosition;
Microsoft.CodeAnalysis (1)
Diagnostic\XmlLocation.cs (1)
31int columnNumber = Math.Max(exception.LinePosition - 1, 0);
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.cs (1)
1355string locationString = string.Format(locationTemplate, "", e.LineNumber, e.LinePosition); // first arg is where the problem description goes
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.TextUtils.vb (1)
140String.Format(locationTemplate, "", e.LineNumber, e.LinePosition) ' first arg is where the problem description goes
Microsoft.Maui.Controls.Build.Tasks (1)
XamlCTask.cs (1)
317 LoggingHelper.LogError("XamlC", null, xe.HelpLink, xamlFilePath, xe.LineNumber, xe.LinePosition, 0, 0, xe.Message);
MSBuild (1)
ExceptionHandling.cs (1)
198column = xmlException.LinePosition;
MSBuildTaskHost (1)
ExceptionHandling.cs (1)
198column = xmlException.LinePosition;
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (1)
228linePosition = xmlEx.LinePosition;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
416RethrowAsParseException(e.Message, e.LineNumber, e.LinePosition, e);
PresentationFramework (1)
System\Windows\Markup\XamlReader.cs (1)
521return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException);
System.Private.Xml (5)
System\Xml\Core\XmlTextReaderImpl.cs (2)
2723_curNode.SetLineInfo(xmlEx.LineNumber, xmlEx.LinePosition); 8732ReThrow(e, e.LineNumber, e.LinePosition - 6); // 6 == strlen( "<?xml " );
System\Xml\Schema\DtdParser.cs (1)
2631Throw(SR.Xml_ErrorParsingEntityName, string.Empty, e.LineNumber, e.LinePosition);
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
277new SourceLineInfo(ex.SourceUri, ex.LineNumber, ex.LinePosition, ex.LineNumber, ex.LinePosition) :