15 references to WRN_IncorrectBooleanAssg
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
2727Error(diagnostics, ErrorCode.WRN_IncorrectBooleanAssg, assignment.Syntax);
Errors\ErrorFacts.cs (2)
277case ErrorCode.WRN_IncorrectBooleanAssg: 1027or ErrorCode.WRN_IncorrectBooleanAssg
Generated\ErrorFacts.Generated.cs (1)
57case ErrorCode.WRN_IncorrectBooleanAssg:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
4663Diagnostic(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)
21389Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "i = true")); 21408Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "a = false")); 21432Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21435Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21438Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21441Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21444Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false")); 21491Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21494Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"));