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