15 references to WRN_IncorrectBooleanAssg
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
2587Error(diagnostics, ErrorCode.WRN_IncorrectBooleanAssg, assignment.Syntax);
Errors\ErrorFacts.cs (2)
264case ErrorCode.WRN_IncorrectBooleanAssg: 965case ErrorCode.WRN_IncorrectBooleanAssg:
Generated\ErrorFacts.Generated.cs (1)
57case ErrorCode.WRN_IncorrectBooleanAssg:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
4657Diagnostic(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)
21120Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "i = true")); 21139Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "a = false")); 21163Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21166Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21169Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21172Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21175Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false")); 21222Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21225Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"));