40 references to ResultType
Microsoft.CodeAnalysis.CSharp (40)
FlowAnalysis\NullableWalker.cs (37)
311VisitResult visitResult = _visitResult.WithLValueType(ResultType.ToTypeWithAnnotations(compilation)); 2218return ResultType; 2943EnforceNotNullIfNotNull(node.Syntax, this.State, method.Parameters, method.ReturnNotNullIfParameterNotNull, ResultType.State, outputParam: null); 2954TypeWithState resultType = ResultType; 3391var resultType = ResultType.ToTypeWithAnnotations(compilation); 3542TypeWithState resultType = ResultType; 4790var type = ResultType.Type as ArrayTypeSymbol; 4895var leftType = ResultType; 5000var leftResult = ResultType; 5007ReinferBinaryOperatorAndSetResult(leftOperand, leftConversion, leftResult, rightOperand, rightConversion, rightType: ResultType, binary); 5212var leftType = ResultType; 5217var rightType = ResultType; 5592var rightUnconditionalResult = ResultType; 5600TypeWithState leftResult = ResultType; 5611TypeWithState rightResult = ResultType; 5694var operandType = ResultType; 6082return (operandNoConversion, conversion, ResultType); 6090return (lValueType, ResultType); 6213receiverType = ResultType; 8289ResultType, 9777SetMethodGroupReceiverNullability(receiverOpt, ResultType); 10154var rightResult = ResultType; 10521var leftTypeWithState = ResultType; 10585SetResultType(node.Expression, TypeWithState.Create(node.Expression.Type, ResultType.State)); 10718SetResult(node, ResultType, LvalueResultType); 11067var sourceState = node.EnumeratorInfoOpt == null ? default : ResultType; 11233resultType = adjustForLifting(ResultType); 11239resultType = adjustForLifting(ResultType); 11248resultType = adjustForLifting(ResultType); 11257var operandResult = ResultType; 11281resultType = adjustForLifting(ResultType); 11355TypeWithState leftType = ResultType; 11399TypeWithState rightType = ResultType; 11687@event = (EventSymbol)AsMemberOfType(ResultType.Type, @event); 11699node.IsAddition ? GetState(ref this.State, memberSlot).Meet(ResultType.State) : NullableFlowState.MaybeNull); 11787return CheckPossibleNullReceiver(receiverOpt, ResultType, checkNullableValueType); 12102Debug.Assert(ResultType is TypeWithState { Type: FunctionPointerTypeSymbol { }, State: NullableFlowState.NotNull });
FlowAnalysis\NullableWalker_Patterns.cs (3)
298var expressionState = ResultType; 891var expressionState = ResultType; 1059var expressionState = ResultType;