40 references to ResultType
Microsoft.CodeAnalysis.CSharp (40)
FlowAnalysis\NullableWalker.cs (37)
311VisitResult visitResult = _visitResult.WithLValueType(ResultType.ToTypeWithAnnotations(compilation)); 2279return ResultType; 3004EnforceNotNullIfNotNull(node.Syntax, this.State, method.Parameters, method.ReturnNotNullIfParameterNotNull, ResultType.State, outputParam: null); 3015TypeWithState resultType = ResultType; 3452var resultType = ResultType.ToTypeWithAnnotations(compilation); 3603TypeWithState resultType = ResultType; 4851var type = ResultType.Type as ArrayTypeSymbol; 4956var leftType = ResultType; 5061var leftResult = ResultType; 5068ReinferBinaryOperatorAndSetResult(leftOperand, leftConversion, leftResult, rightOperand, rightConversion, rightType: ResultType, binary); 5273var leftType = ResultType; 5278var rightType = ResultType; 5653var rightUnconditionalResult = ResultType; 5661TypeWithState leftResult = ResultType; 5672TypeWithState rightResult = ResultType; 5755var operandType = ResultType; 6143return (operandNoConversion, conversion, ResultType); 6151return (lValueType, ResultType); 6274receiverType = ResultType; 8350ResultType, 9838SetMethodGroupReceiverNullability(receiverOpt, ResultType); 10215var rightResult = ResultType; 10582var leftTypeWithState = ResultType; 10646SetResultType(node.Expression, TypeWithState.Create(node.Expression.Type, ResultType.State)); 10779SetResult(node, ResultType, LvalueResultType); 11128var sourceState = node.EnumeratorInfoOpt == null ? default : ResultType; 11294resultType = adjustForLifting(ResultType); 11300resultType = adjustForLifting(ResultType); 11309resultType = adjustForLifting(ResultType); 11318var operandResult = ResultType; 11342resultType = adjustForLifting(ResultType); 11416TypeWithState leftType = ResultType; 11460TypeWithState rightType = ResultType; 11748@event = (EventSymbol)AsMemberOfType(ResultType.Type, @event); 11760node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull); 11848return CheckPossibleNullReceiver(receiverOpt, ResultType, checkNullableValueType); 12163Debug.Assert(ResultType is TypeWithState { Type: FunctionPointerTypeSymbol { }, State: NullableFlowState.NotNull });
FlowAnalysis\NullableWalker_Patterns.cs (3)
298var expressionState = ResultType; 891var expressionState = ResultType; 1059var expressionState = ResultType;