21 references to Unknown
Microsoft.CodeAnalysis.CSharp (9)
Compilation\CSharpCompilerDiagnosticAnalyzer.cs (1)
29errorCode is not (ErrorCode.Void or ErrorCode.Unknown))
Emitter\NoPia\EmbeddedTypesManager.cs (3)
264ErrorCode error = ErrorCode.Unknown; 286if (error != ErrorCode.Unknown) 319if (error != ErrorCode.Unknown)
Errors\ErrorFacts.cs (3)
112else if (code == ErrorCode.Unknown) 647or ErrorCode.Unknown 2550if (code == ErrorCode.Void || code == ErrorCode.Unknown)
Errors\LazyDiagnosticInfo.cs (1)
14: base(CSharp.MessageProvider.Instance, (int)ErrorCode.Unknown)
Errors\MessageProvider.cs (1)
145ErrorCode.Unknown => false,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
CodeGen\CodeGenTupleTest.cs (11)
16428Diagnostic(ErrorCode.Unknown, "null").WithArguments("<null>").WithLocation(6, 32), 16431Diagnostic(ErrorCode.Unknown, "null").WithArguments("<null>").WithLocation(6, 38), 16434Diagnostic(ErrorCode.Unknown, @"(null, ""1"")").WithArguments("System.ValueType").WithLocation(8, 31), 16449Diagnostic(ErrorCode.Unknown, "null").WithArguments("<null>").WithLocation(19, 16), 16470Diagnostic(ErrorCode.Unknown, "(13, null)").WithArguments("int").WithLocation(34, 14), 16473Diagnostic(ErrorCode.Unknown, @"(14, ""14"")").WithArguments("int").WithLocation(35, 14), 16476Diagnostic(ErrorCode.Unknown, @"(""15"", ""15"")").WithArguments("int").WithLocation(36, 14), 16479Diagnostic(ErrorCode.Unknown, "null").WithArguments("<null>").WithLocation(41, 28), 16482Diagnostic(ErrorCode.Unknown, "__refvalue((17, null), (int, string))").WithArguments("System.TypedReference").WithLocation(44, 17), 16485Diagnostic(ErrorCode.Unknown, @"__refvalue((18, ""18""), (int, string))").WithArguments("System.TypedReference").WithLocation(45, 17), 16488Diagnostic(ErrorCode.Unknown, @"__refvalue((""19"", ""19""), (int, string))").WithArguments("System.TypedReference").WithLocation(46, 17)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
36ErrorCode.Unknown,