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); 3267SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3625SetResult(withExpr, resultState, resultType); 3806SetResult(node, result, LvalueResultType); 5374SetResult(node, type.ToTypeWithState(), type); 5596SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5611SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6524SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6956SetResult(node, returnState, method.ReturnTypeWithAnnotations); 11220SetResult(node, rvalueResult, lvalueResult); 11229SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 11289SetResult(left, rightState, lvalueType, isLvalue: true); 11290SetResult(node, rightState, lvalueType); 11294SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 12201SetResult(node, typeWithState, typeWithAnnotations); 12253SetResult(node, resultType, indexer.TypeWithAnnotations); 12268SetResult(node, ResultType, LvalueResultType); 12375SetResult(node, resultType, type); 13632SetResult(node, rValueType, result); 13730SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13768SetResult(node, result.RValueType, result.LValueType); 13847SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
1132SetResult(node, resultType, inferredTypeWithAnnotations); 1138SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);