12 writes to FileName
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
545ce.FileName = m.Groups[2].Value;
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
520ce.FileName = m.Groups[1].Value;
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
664error.FileName = SourceCsdlPath;
System.Data.SqlXml (3)
System\Xml\Xsl\Xslt\Scripts.cs (2)
360error.FileName = uri; 380error.FileName = errScript.endUri;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
726e.FileName = string.Empty;
System.Web (1)
Compilation\AssemblyBuilder.cs (1)
1102error.FileName = physicalPath;
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
600error.FileName = Path.Combine(this.ProjectDirectory, error.FileName); 612error.FileName = Path.Combine(this.ProjectDirectory, error.FileName);
AuthoringOM\Compiler\XomlCompilerError.cs (2)
52this.FileName = fileName; 67this.FileName = error.FileName;
System.Xml (1)
System\Xml\Serialization\Compiler.cs (1)
206e.FileName = "";
31 references to FileName
System (2)
compmod\system\codedom\compiler\CompilerError.cs (2)
148if (FileName.Length > 0) { 151FileName,
System.Activities (1)
System\Activities\ExpressionParser\SourceExpressionException.cs (1)
94info.AddValue("file" + index, error.FileName);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
470error.FileName,
System.Data.SqlXml (6)
System\Xml\Xsl\XslException.cs (1)
149SetSourceLineInfo(new SourceLineInfo(error.FileName, errorLine, errorColumn, errorLine, errorColumn));
System\Xml\Xsl\Xslt\Compiler.cs (2)
337int result = moduleOrder[x.FileName].CompareTo(moduleOrder[y.FileName]);
System\Xml\Xsl\Xslt\Scripts.cs (2)
329compiler.AddModule(error.FileName); 352string fileName = error.FileName;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
722if (e.FileName == scriptFile) {
System.Web (11)
Compilation\AssemblyBuilder.cs (3)
1097string physicalPath = ErrorFormatter.ResolveHttpFileName(error.FileName); 1131string codeFileContent = Util.StringFromFile(badBaseClassError.FileName); 1173string linePragma = results.Errors[0].FileName;
Compilation\BuildProvidersCompiler.cs (1)
437BuildProvider buildProvider = assemblyBuilder.GetBuildProviderFromLinePragma(error.FileName);
ErrorFormatter.cs (4)
1675sb.Append(FormatterWithFileInfo.GetSourceFileLines(e.FileName, Encoding.Default, _excep.SourceCodeWithoutDemand, e.Line)); 1686_sourceFilePath = GetSafePath(e.FileName); 1726sb.Append(HttpUtility.HtmlEncode(HttpRuntime.GetSafePath(e.FileName))); 1732sb.Append(FormatterWithFileInfo.GetSourceFileLines(e.FileName, Encoding.Default, _excep.SourceCodeWithoutDemand, e.Line));
HttpException.cs (3)
380e.FileName, e.Line, e.ErrorNumber, e.ErrorText); 433if (HttpRuntime.CodegenDirInternal != null && error.FileName != null && 434!StringUtil.StringStartsWith(error.FileName, HttpRuntime.CodegenDirInternal)) {
System.Web.Mobile (1)
Mobile\MobileErrorInfo.cs (1)
72this.File = error.FileName;
System.Workflow.ComponentModel (9)
AuthoringOM\Compiler\CompileXomlTask.cs (4)
600error.FileName = Path.Combine(this.ProjectDirectory, error.FileName); 605this.Log.LogWarning(error.ErrorText, error.ErrorNumber, error.FileName, error.Line, error.Column); 612error.FileName = Path.Combine(this.ProjectDirectory, error.FileName); 617this.Log.LogError(error.ErrorText, error.ErrorNumber, error.FileName, error.Line, error.Column);
AuthoringOM\Compiler\XomlCompilerError.cs (5)
67this.FileName = error.FileName; 96if (FileName.Length > 0) 99return string.Format(CultureInfo.CurrentCulture, "{0} : {1} {2}: {3}", new object[] { FileName, IsWarning ? "warning" : "error", ErrorNumber, ErrorText }); 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 }); 116return this.FileName;