IKVM11
11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
DiagnosticEvent.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
IKVM.CoreLib.Diagnostics
4
{
5
6
readonly
partial struct
DiagnosticEvent
(
Diagnostic
Diagnostic
, object?[] Args, Exception? Exception =
null
,
DiagnosticLocation
Location =
default
)
7
{
8
12
public
readonly
Diagnostic
Diagnostic
=
Diagnostic
;
13
17
public
readonly
object
?[] Args = Args;
18
22
public
readonly Exception? Exception = Exception;
23
27
public
readonly
DiagnosticLocation
Location = Location;
28
33
public
override
string
ToString()
34
{
35
#if NET8_0_OR_GREATER
36
return
string
.Format(
null
,
Diagnostic
.Message, Args);
37
#else
38
return
string
.Format(
Diagnostic
.Message, Args);
39
#endif
40
}
41
42
}
43
44
}
IKVM.CoreLib.Diagnostics.Diagnostic
Definition
Diagnostic.g.cs:10
IKVM.CoreLib.Diagnostics
Definition
Diagnostic.cs:4
IKVM.CoreLib.Diagnostics.DiagnosticLocation
readonly struct DiagnosticLocation(string Path, int StartLine, int StartColumn, int EndLine, int EndColumn)
Describes the location of a diagnostic event.
Definition
DiagnosticLocation.cs:14
System
Definition
HexConverter.cs:9
IKVM.CoreLib.Diagnostics.DiagnosticEvent
Definition
DiagnosticEvent.g.cs:9
src
IKVM.CoreLib
Diagnostics
DiagnosticEvent.cs
Generated by
1.12.0