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); 3220SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3578SetResult(withExpr, resultState, resultType); 3732SetResult(node, result, LvalueResultType); 5106SetResult(node, type.ToTypeWithState(), type); 5328SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5343SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6254SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6681SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10574SetResult(node, rvalueResult, lvalueResult); 10583SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10643SetResult(left, rightState, lvalueType, isLvalue: true); 10644SetResult(node, rightState, lvalueType); 10648SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11503SetResult(node, typeWithState, typeWithAnnotations); 11545SetResult(node, resultType, indexer.TypeWithAnnotations); 11560SetResult(node, ResultType, LvalueResultType); 11642SetResult(node, resultType, type); 12910SetResult(node, rValueType, result); 13008SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13042SetResult(node, result.RValueType, result.LValueType); 13073SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
978SetResult(node, resultType, inferredTypeWithAnnotations); 984SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);