24 references to SetResult
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.cs (22)
304SetResult(expression, resultType: type, lvalueType: type.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: updateAnalyzedNullability); 328SetResult(expression, resultType: type.ToTypeWithState(), lvalueType: type); 336SetResult(expression, LvalueResultType.ToTypeWithState(), LvalueResultType, isLvalue: true); 339private void SetInvalidResult() => SetResult(expression: null, _invalidType, _invalidType.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: false); 3181SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3539SetResult(withExpr, resultState, resultType); 3695SetResult(node, result, LvalueResultType); 4978SetResult(node, type.ToTypeWithState(), type); 5215SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6068SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6449SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10084SetResult(node, rvalueResult, lvalueResult); 10093SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10153SetResult(left, rightState, lvalueType, isLvalue: true); 10154SetResult(node, rightState, lvalueType); 10158SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 10884SetResult(node, resultType, indexer.TypeWithAnnotations); 10899SetResult(node, ResultType, LvalueResultType); 10980SetResult(node, resultType, type); 12134SetResult(node, rValueType, result); 12230SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12295SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976SetResult(node, resultType, inferredTypeWithAnnotations); 982SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);