public override CodeVerificationOptions AddAllowedCompilerDiagnosticIds(IEnumerable <string> diagnosticIds) { return(WithAllowedCompilerDiagnosticIds(AllowedCompilerDiagnosticIds.AddRange(diagnosticIds))); }
/// <summary> /// Adds specified compiler diagnostic ID to the list of allowed compiler diagnostic IDs. /// </summary> /// <param name="diagnosticId"></param> public CSharpTestOptions AddAllowedCompilerDiagnosticId(string diagnosticId) { return(WithAllowedCompilerDiagnosticIds(AllowedCompilerDiagnosticIds.Add(diagnosticId))); }
public override CodeVerificationOptions AddAllowedCompilerDiagnosticId(string diagnosticId) { return(WithAllowedCompilerDiagnosticIds(AllowedCompilerDiagnosticIds.Add(diagnosticId))); }
/// <summary> /// Adds a list of specified compiler diagnostic IDs to the list of allowed compiler diagnostic IDs. /// </summary> /// <param name="diagnosticIds"></param> public CSharpTestOptions AddAllowedCompilerDiagnosticIds(IEnumerable <string> diagnosticIds) { return(WithAllowedCompilerDiagnosticIds(AllowedCompilerDiagnosticIds.AddRange(diagnosticIds))); }