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); 10575SetResult(node, rvalueResult, lvalueResult); 10584SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10644SetResult(left, rightState, lvalueType, isLvalue: true); 10645SetResult(node, rightState, lvalueType); 10649SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11504SetResult(node, typeWithState, typeWithAnnotations); 11546SetResult(node, resultType, indexer.TypeWithAnnotations); 11561SetResult(node, ResultType, LvalueResultType); 11643SetResult(node, resultType, type); 12911SetResult(node, rValueType, result); 13009SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13043SetResult(node, result.RValueType, result.LValueType); 13074SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
978SetResult(node, resultType, inferredTypeWithAnnotations); 984SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);