27 references to SetResult
Microsoft.CodeAnalysis.CSharp (27)
FlowAnalysis\NullableWalker_Patterns.cs (2)
1170SetResult(node, resultType, inferredTypeWithAnnotations); 1176SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);
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); 3253SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3611SetResult(withExpr, resultState, resultType); 3792SetResult(node, result, LvalueResultType); 5360SetResult(node, type.ToTypeWithState(), type); 5582SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5597SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6510SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6942SetResult(node, returnState, method.ReturnTypeWithAnnotations); 11210SetResult(node, rvalueResult, lvalueResult); 11219SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 11279SetResult(left, rightState, lvalueType, isLvalue: true); 11280SetResult(node, rightState, lvalueType); 11284SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 12191SetResult(node, typeWithState, typeWithAnnotations); 12243SetResult(node, resultType, indexer.TypeWithAnnotations); 12258SetResult(node, ResultType, LvalueResultType); 12365SetResult(node, resultType, type); 13622SetResult(node, rValueType, result); 13720SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13758SetResult(node, result.RValueType, result.LValueType); 13837SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);