9 references to ERR_BadCompilationOptionValue
Microsoft.CodeAnalysis.CSharp (9)
CSharpCompilationOptions.cs (7)
676
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(MainTypeName), MainTypeName));
692
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(OutputKind), OutputKind.ToString()));
697
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(OptimizationLevel), OptimizationLevel.ToString()));
702
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(ScriptClassName), ScriptClassName ?? "null"));
707
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(WarningLevel), WarningLevel));
712
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(Usings), Usings.Where(u => !u.IsValidClrNamespaceName()).First() ?? "null"));
722
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadCompilationOptionValue
, nameof(MetadataImportOptions), MetadataImportOptions.ToString()));
Errors\ErrorFacts.cs (1)
1634
or ErrorCode.
ERR_BadCompilationOptionValue
Errors\MessageProvider.cs (1)
183
public override int ERR_BadCompilationOptionValue => (int)ErrorCode.
ERR_BadCompilationOptionValue
;