示例#1
0
 public override CodeVerificationOptions AddAllowedCompilerDiagnosticIds(IEnumerable <string> diagnosticIds)
 {
     return(WithAllowedCompilerDiagnosticIds(AllowedCompilerDiagnosticIds.AddRange(diagnosticIds)));
 }
示例#2
0
 /// <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)));
 }
示例#3
0
 public override CodeVerificationOptions AddAllowedCompilerDiagnosticId(string diagnosticId)
 {
     return(WithAllowedCompilerDiagnosticIds(AllowedCompilerDiagnosticIds.Add(diagnosticId)));
 }
示例#4
0
 /// <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)));
 }