Errors.LoadError(ErrorCode, IEnumerable<String>, String) 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.
public static Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic LoadError (Microsoft.Quantum.QsCompiler.Diagnostics.ErrorCode code, System.Collections.Generic.IEnumerable<string> args, string? source);
static member LoadError : Microsoft.Quantum.QsCompiler.Diagnostics.ErrorCode * seq<string> * string -> Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic
Public Function LoadError (code As ErrorCode, args As IEnumerable(Of String), source As String) As Diagnostic
Parameters
- code
- ErrorCode
- args
- IEnumerable<String>
- source
- String