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); 3223SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3581SetResult(withExpr, resultState, resultType); 3735SetResult(node, result, LvalueResultType); 5110SetResult(node, type.ToTypeWithState(), type); 5332SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5347SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6258SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6643SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10538SetResult(node, rvalueResult, lvalueResult); 10547SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10607SetResult(left, rightState, lvalueType, isLvalue: true); 10608SetResult(node, rightState, lvalueType); 10612SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11471SetResult(node, typeWithState, typeWithAnnotations); 11513SetResult(node, resultType, indexer.TypeWithAnnotations); 11528SetResult(node, ResultType, LvalueResultType); 11610SetResult(node, resultType, type); 12874SetResult(node, rValueType, result); 12970SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 13004SetResult(node, result.RValueType, result.LValueType); 13035SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
978SetResult(node, resultType, inferredTypeWithAnnotations); 984SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);