5 references to WRN_NubExprIsConstBool2
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
230
case ErrorCode.
WRN_NubExprIsConstBool2
:
1695
or ErrorCode.
WRN_NubExprIsConstBool2
Generated\ErrorFacts.Generated.cs (1)
173
case ErrorCode.
WRN_NubExprIsConstBool2
:
Lowering\DiagnosticsPass_Warnings.cs (2)
818
Error(node.OperatorKind.IsUserDefined() ? ErrorCode.
WRN_NubExprIsConstBool2
: ErrorCode.WRN_NubExprIsConstBool, node, always, node.Left.Type.GetNullableUnderlyingType(), GetTypeForLiftedComparisonWarning(node.Right));
822
Error(node.OperatorKind.IsUserDefined() ? ErrorCode.
WRN_NubExprIsConstBool2
: ErrorCode.WRN_NubExprIsConstBool, node, always, node.Right.Type.GetNullableUnderlyingType(), GetTypeForLiftedComparisonWarning(node.Left));