15 references to WRN_IncorrectBooleanAssg
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
2734Error(diagnostics, ErrorCode.WRN_IncorrectBooleanAssg, assignment.Syntax);
Errors\ErrorFacts.cs (2)
282case ErrorCode.WRN_IncorrectBooleanAssg: 1039or ErrorCode.WRN_IncorrectBooleanAssg
Generated\ErrorFacts.Generated.cs (1)
57case ErrorCode.WRN_IncorrectBooleanAssg:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
4744Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\SemanticAnalyzerTests.cs (1)
1243Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"),
Semantics\SemanticErrorTests.cs (9)
21414Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "i = true")); 21433Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "a = false")); 21457Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21460Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21463Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21466Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21469Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false")); 21516Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21519Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"));