7 references to ERR_BadPlatformType
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (1)
1819
AddDiagnostic(diagnostics, ErrorCode.
ERR_BadPlatformType
, value);
CSharpCompilationOptions.cs (1)
682
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
ERR_BadPlatformType
, Platform.ToString()));
Errors\ErrorFacts.cs (1)
1330
or ErrorCode.
ERR_BadPlatformType
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
4521
Assert.Equal((int)ErrorCode.
ERR_BadPlatformType
, parsedArgs.Errors.First().Code);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\CSharpCompilationOptionsTests.cs (3)
186
Diagnostic(ErrorCode.
ERR_BadPlatformType
).WithArguments(Int32.MaxValue.ToString()));
190
Diagnostic(ErrorCode.
ERR_BadPlatformType
).WithArguments(Int32.MinValue.ToString()));
336
Diagnostic(ErrorCode.
ERR_BadPlatformType
).WithArguments(Int32.MinValue.ToString()));