public MSBuildDiagnostic(MSBuildDiagnosticDescriptor descriptor, TextSpan span, ImmutableDictionary <string, object> properties = null, object[] messageArgs = null) { Descriptor = descriptor; Span = span; Properties = properties; this.messageArgs = messageArgs; }
public static void Add(this ICollection <MSBuildDiagnostic> list, MSBuildDiagnosticDescriptor descriptor, TextSpan span, ImmutableDictionary <string, object> properties, params object[] messageArgs ) => list.Add(new MSBuildDiagnostic(descriptor, span, properties, messageArgs));
public static void Add( this ICollection <MSBuildDiagnostic> list, MSBuildDiagnosticDescriptor descriptor, TextSpan span, params object[] messageArgs ) => list.Add(new MSBuildDiagnostic(descriptor, span, messageArgs));
public MSBuildDiagnostic(MSBuildDiagnosticDescriptor descriptor, int offset, int length, MSBuildDiagnosticSeverity severity, ImmutableDictionary <string, object> properties, object [] messageArgs) { Descriptor = descriptor; Offset = offset; Length = length; Properties = properties; Severity = severity; this.messageArgs = messageArgs; }
public MSBuildDiagnostic(MSBuildDiagnosticDescriptor descriptor, TextSpan span, params object [] messageArgs) : this(descriptor, span, null, messageArgs) { }
public static void Add( this ICollection <MSBuildDiagnostic> list, MSBuildDiagnosticDescriptor descriptor, TextSpan span ) => list.Add(new MSBuildDiagnostic(descriptor, span));