24 references to SetResult
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.cs (22)
298SetResult(expression, resultType: type, lvalueType: type.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: updateAnalyzedNullability); 322SetResult(expression, resultType: type.ToTypeWithState(), lvalueType: type); 330SetResult(expression, LvalueResultType.ToTypeWithState(), LvalueResultType, isLvalue: true); 333private void SetInvalidResult() => SetResult(expression: null, _invalidType, _invalidType.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: false); 3102SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3460SetResult(withExpr, resultState, resultType); 3616SetResult(node, result, LvalueResultType); 4897SetResult(node, type.ToTypeWithState(), type); 5134SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 5987SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6366SetResult(node, returnState, method.ReturnTypeWithAnnotations); 9990SetResult(node, rvalueResult, lvalueResult); 9999SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10045SetResult(left, rightState, lvalueType, isLvalue: true); 10046SetResult(node, rightState, lvalueType); 10050SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 10775SetResult(node, resultType, indexer.TypeWithAnnotations); 10790SetResult(node, ResultType, LvalueResultType); 10871SetResult(node, resultType, type); 12025SetResult(node, rValueType, result); 12121SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12186SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976SetResult(node, resultType, inferredTypeWithAnnotations); 982SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);