27 references to SetResult
Microsoft.CodeAnalysis.CSharp (27)
FlowAnalysis\NullableWalker.cs (25)
323SetResult(expression, resultType: type, lvalueType: type.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: updateAnalyzedNullability); 347SetResult(expression, resultType: type.ToTypeWithState(), lvalueType: type); 355SetResult(expression, LvalueResultType.ToTypeWithState(), LvalueResultType, isLvalue: true); 358private void SetInvalidResult() => SetResult(expression: null, _invalidType, _invalidType.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: false); 3258SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3616SetResult(withExpr, resultState, resultType); 3797SetResult(node, result, LvalueResultType); 5376SetResult(node, type.ToTypeWithState(), type); 5598SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5613SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6526SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6958SetResult(node, returnState, method.ReturnTypeWithAnnotations); 11191SetResult(node, rvalueResult, lvalueResult); 11200SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 11260SetResult(left, rightState, lvalueType, isLvalue: true); 11261SetResult(node, rightState, lvalueType); 11265SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 12143SetResult(node, typeWithState, typeWithAnnotations); 12185SetResult(node, resultType, indexer.TypeWithAnnotations); 12200SetResult(node, ResultType, LvalueResultType); 12307SetResult(node, resultType, type); 13564SetResult(node, rValueType, result); 13662SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13700SetResult(node, result.RValueType, result.LValueType); 13779SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
1078SetResult(node, resultType, inferredTypeWithAnnotations); 1084SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);