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