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