11 references to CheckDisallowedNullAssignment
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (11)
2858CheckDisallowedNullAssignment(resultType, parameterAnnotations, equalsValue.Value.Syntax); 2915CheckDisallowedNullAssignment(returnState, ToInwardAnnotations(returnAnnotations), node.Syntax, boundValueOpt: expr); 5134if (CheckDisallowedNullAssignment(resultType, parameterAnnotations, expr.Syntax, operand)) 6623/// Note this does not work for nullable value types, so an additional check with <see cref="CheckDisallowedNullAssignment"/> may be required. 7392if (CheckDisallowedNullAssignment(stateAfterConversion, parameterAnnotations, argumentNoConversion.Syntax)) 7414CheckDisallowedNullAssignment(resultType, parameterAnnotations, argumentNoConversion.Syntax); 7557CheckDisallowedNullAssignment(parameterWithState, leftAnnotations, argument.Syntax); 9408if (!isLiftedConversion && CheckDisallowedNullAssignment(operandType, parameterAnnotations, conversionOperand.Syntax)) 9968CheckDisallowedNullAssignment(rightState, leftAnnotations, right.Syntax); 10305CheckDisallowedNullAssignment(valueType, leftAnnotations, right.Syntax); 10563CheckDisallowedNullAssignment(resultTypeWithState, leftArgumentAnnotations, node.Syntax);