CompilerError.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a string that represents the current CompilerError.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Returns
A string that represents the current CompilerError.
Remarks
Converts the diagnostic to a string of the following form:
[filename(line,column):] AAAAA CSXXXX: message
In this example, AAAAA is either: "warning", "error", or "fatal error", and CSXXXX is the diagnostic number in decimal format. This is the same format seen at the command line.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.