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: 1029or 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)
21391Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "i = true")); 21410Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "a = false")); 21434Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21437Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21440Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21443Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21446Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false")); 21493Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"), 21496Diagnostic(ErrorCode.WRN_IncorrectBooleanAssg, "b = false"));