26 references to SetResult
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
275SetResult(expression, resultType: type, lvalueType: type.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: updateAnalyzedNullability); 288SetResult(expression, ResultType, ResultType.ToTypeWithAnnotations(compilation), isLvalue: false); 298SetResult(expression, resultType: type.ToTypeWithState(), lvalueType: type); 306SetResult(expression, LvalueResultType.ToTypeWithState(), LvalueResultType, isLvalue: true); 309private void SetInvalidResult() => SetResult(expression: null, _invalidType, _invalidType.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: false); 2961SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3198SetResult(withExpr, resultState, resultType); 3343SetResult(node, result, LvalueResultType); 4626SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 4739SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 5447SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 5711SetResult(node, returnState, method.ReturnTypeWithAnnotations); 9021SetResult(node, rvalueResult, lvalueResult); 9030SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 9091SetResult(left, rightState, lvalueType, isLvalue: true); 9092SetResult(node, rightState, lvalueType); 9096SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 9834SetResult(node, resultType, indexer.TypeWithAnnotations); 9849SetResult(node, ResultType, LvalueResultType); 9918SetResult(node, resultType, type); 11037SetResult(node, rValueType, result); 11133SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 11167SetResult(node, result.RValueType, result.LValueType); 11198SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
931SetResult(node, resultType, inferredTypeWithAnnotations); 937SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);