7 writes to Line
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
546ce.Line = int.Parse(m.Groups[4].Value, CultureInfo.InvariantCulture);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
523ce.Line = int.Parse(rawLine, CultureInfo.InvariantCulture);
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\Scripts.cs (1)
381error.Line = errScript.endLoc.Line;
System.Web (2)
Compilation\AssemblyBuilder.cs (2)
1141badBaseClassError.Line = Util.LineCount(codeFileContent, 0, classOffset) + 1; 1146badBaseClassError.Line = 1;
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\XomlCompilerError.cs (2)
53this.Line = exception.LineNumber - 1; 69this.Line = error.Line - 1;
24 references to Line
System (1)
compmod\system\codedom\compiler\CompilerError.cs (1)
152Line,
System.Activities (2)
System\Activities\ExpressionParser\SourceExpressionException.cs (1)
95info.AddValue("line" + index, error.Line);
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
2387message.SourceLineNumber = ce.Line;
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityCodeGenerator.cs (2)
454if (error.Line == -1 && error.Column == -1) 471error.Line,
System.Data.SqlXml (3)
System\Xml\Xsl\XslException.cs (1)
130int errorLine = error.Line;
System\Xml\Xsl\Xslt\Compiler.cs (2)
341result = x.Line.CompareTo(y.Line);
System.Web (8)
Compilation\AssemblyBuilder.cs (4)
1109if (error.Line == TemplateControlCodeDomTreeGenerator.badBaseClassLineMarker || 1110(error.Line == TemplateControlCodeDomTreeGenerator.badBaseClassLineMarker + 1 && 1115else if (error.Line > TemplateControlCodeDomTreeGenerator.badBaseClassLineMarker && 1116error.Line < TemplateControlCodeDomTreeGenerator.badBaseClassLineMarker + 50) {
ErrorFormatter.cs (3)
1675sb.Append(FormatterWithFileInfo.GetSourceFileLines(e.FileName, Encoding.Default, _excep.SourceCodeWithoutDemand, e.Line)); 1695_sourceFileLineNumber = e.Line; 1732sb.Append(FormatterWithFileInfo.GetSourceFileLines(e.FileName, Encoding.Default, _excep.SourceCodeWithoutDemand, e.Line));
HttpException.cs (1)
380e.FileName, e.Line, e.ErrorNumber, e.ErrorText);
System.Web.Mobile (1)
Mobile\MobileErrorInfo.cs (1)
71this.LineNumber = error.Line.ToString(CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
605this.Log.LogWarning(error.ErrorText, error.ErrorNumber, error.FileName, error.Line, error.Column); 617this.Log.LogError(error.ErrorText, error.ErrorNumber, error.FileName, error.Line, error.Column);
AuthoringOM\Compiler\XomlCompilerError.cs (5)
69this.Line = error.Line - 1; 98if (Line <= 0 || Column <= 0) 101return string.Format(CultureInfo.CurrentCulture, "{0}({1},{2}) : {3} {4}: {5}", new object[] { FileName, this.incrementLineAndColumn ? Line + 1 : Line, this.incrementLineAndColumn ? Column + 1 : Column, IsWarning ? "warning" : "error", ErrorNumber, ErrorText }); 146return this.Line;