24 references to SetResult
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.cs (22)
298
SetResult
(expression, resultType: type, lvalueType: type.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: updateAnalyzedNullability);
322
SetResult
(expression, resultType: type.ToTypeWithState(), lvalueType: type);
330
SetResult
(expression, LvalueResultType.ToTypeWithState(), LvalueResultType, isLvalue: true);
333
private void SetInvalidResult() =>
SetResult
(expression: null, _invalidType, _invalidType.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: false);
3100
SetResult
(node, GetAdjustedResult(type.ToTypeWithState(), slot), type);
3458
SetResult
(withExpr, resultState, resultType);
3614
SetResult
(node, result, LvalueResultType);
4892
SetResult
(node, type.ToTypeWithState(), type);
5129
SetResult
(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation));
5982
SetResult
(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation));
6361
SetResult
(node, returnState, method.ReturnTypeWithAnnotations);
9979
SetResult
(node, rvalueResult, lvalueResult);
9988
SetResult
(node, GetAdjustedResult(typeWithState, slot), parameterType);
10034
SetResult
(left, rightState, lvalueType, isLvalue: true);
10035
SetResult
(node, rightState, lvalueType);
10039
SetResult
(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType);
10764
SetResult
(node, resultType, indexer.TypeWithAnnotations);
10779
SetResult
(node, ResultType, LvalueResultType);
10860
SetResult
(node, resultType, type);
12014
SetResult
(node, rValueType, result);
12110
SetResult
(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations);
12175
SetResult
(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976
SetResult
(node, resultType, inferredTypeWithAnnotations);
982
SetResult
(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);