System.Web.HttpException.FormatSourceFile C# (CSharp) Method

FormatSourceFile() private method

private FormatSourceFile ( string filename ) : string
filename string
return string
		string FormatSourceFile (string filename)
		{
			if (filename == null || filename.Length == 0)
				return String.Empty;

			if (filename.StartsWith ("@@"))
				return "[internal] <!-- " + HttpUtility.HtmlEncode (filename) + " -->";

			return HttpUtility.HtmlEncode (filename);
		}