WithArguments(T)
Creates a diagnostic instance with the specified arguments.
Declaration
public IDiagnostic WithArguments(T arguments)Parameters
| Type | Name | Description |
|---|---|---|
| T | arguments | The arguments to be formatted into the diagnostic message. For multiple parameters, pass a tuple. |
Returns
| Type | Description |
|---|---|
| IDiagnostic | An IDiagnostic instance that can be reported using Report(IDiagnostic). |