11 references to CheckDisallowedNullAssignment
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (11)
2780CheckDisallowedNullAssignment(resultType, parameterAnnotations, equalsValue.Value.Syntax.Location);
2837CheckDisallowedNullAssignment(returnState, ToInwardAnnotations(returnAnnotations), node.Syntax.Location, boundValueOpt: expr);
4690CheckDisallowedNullAssignment(resultType, parameterAnnotations, expr.Syntax.Location, operand);
6018/// Note this does not work for nullable value types, so an additional check with <see cref="CheckDisallowedNullAssignment"/> may be required.
6598if (CheckDisallowedNullAssignment(stateAfterConversion, parameterAnnotations, argumentNoConversion.Syntax.Location))
6620CheckDisallowedNullAssignment(resultType, parameterAnnotations, argumentNoConversion.Syntax.Location);
6763CheckDisallowedNullAssignment(parameterWithState, leftAnnotations, argument.Syntax.Location);
8514if (!isLiftedConversion && CheckDisallowedNullAssignment(operandType, parameterAnnotations, conversionOperand.Syntax.Location))
9083CheckDisallowedNullAssignment(rightState, leftAnnotations, right.Syntax.Location);
9421CheckDisallowedNullAssignment(valueType, leftAnnotations, right.Syntax.Location);
9691CheckDisallowedNullAssignment(resultType, leftAnnotations, node.Syntax.Location);