11 references to CheckDisallowedNullAssignment
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (11)
2919CheckDisallowedNullAssignment(resultType, parameterAnnotations, equalsValue.Value.Syntax); 2976CheckDisallowedNullAssignment(returnState, ToInwardAnnotations(returnAnnotations), node.Syntax, boundValueOpt: expr); 5195if (CheckDisallowedNullAssignment(resultType, parameterAnnotations, expr.Syntax, operand)) 6684/// Note this does not work for nullable value types, so an additional check with <see cref="CheckDisallowedNullAssignment"/> may be required. 7453if (CheckDisallowedNullAssignment(stateAfterConversion, parameterAnnotations, argumentNoConversion.Syntax)) 7475CheckDisallowedNullAssignment(resultType, parameterAnnotations, argumentNoConversion.Syntax); 7618CheckDisallowedNullAssignment(parameterWithState, leftAnnotations, argument.Syntax); 9469if (!isLiftedConversion && CheckDisallowedNullAssignment(operandType, parameterAnnotations, conversionOperand.Syntax)) 10029CheckDisallowedNullAssignment(rightState, leftAnnotations, right.Syntax); 10366CheckDisallowedNullAssignment(valueType, leftAnnotations, right.Syntax); 10624CheckDisallowedNullAssignment(resultTypeWithState, leftArgumentAnnotations, node.Syntax);