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); 3222SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3580SetResult(withExpr, resultState, resultType); 3761SetResult(node, result, LvalueResultType); 5336SetResult(node, type.ToTypeWithState(), type); 5558SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5573SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6486SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6918SetResult(node, returnState, method.ReturnTypeWithAnnotations); 11141SetResult(node, rvalueResult, lvalueResult); 11150SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 11210SetResult(left, rightState, lvalueType, isLvalue: true); 11211SetResult(node, rightState, lvalueType); 11215SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 12088SetResult(node, typeWithState, typeWithAnnotations); 12130SetResult(node, resultType, indexer.TypeWithAnnotations); 12145SetResult(node, ResultType, LvalueResultType); 12252SetResult(node, resultType, type); 13509SetResult(node, rValueType, result); 13607SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13645SetResult(node, result.RValueType, result.LValueType); 13723SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
1076SetResult(node, resultType, inferredTypeWithAnnotations); 1082SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);