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); 3221SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3579SetResult(withExpr, resultState, resultType); 3733SetResult(node, result, LvalueResultType); 5107SetResult(node, type.ToTypeWithState(), type); 5329SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5344SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6255SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6682SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10576SetResult(node, rvalueResult, lvalueResult); 10585SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10645SetResult(left, rightState, lvalueType, isLvalue: true); 10646SetResult(node, rightState, lvalueType); 10650SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11505SetResult(node, typeWithState, typeWithAnnotations); 11547SetResult(node, resultType, indexer.TypeWithAnnotations); 11562SetResult(node, ResultType, LvalueResultType); 11644SetResult(node, resultType, type); 12912SetResult(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);