15 references to WRN_IncorrectBooleanAssg
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
2704Error(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)
21344Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "i = true")); 21363Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "a = false")); 21387Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21390Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21393Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21396Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21399Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false")); 21446Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21449Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"));