24 references to SetResult
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.cs (22)
298SetResult(expression, resultType: type, lvalueType: type.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: updateAnalyzedNullability); 322SetResult(expression, resultType: type.ToTypeWithState(), lvalueType: type); 330SetResult(expression, LvalueResultType.ToTypeWithState(), LvalueResultType, isLvalue: true); 333private void SetInvalidResult() => SetResult(expression: null, _invalidType, _invalidType.ToTypeWithAnnotations(compilation), updateAnalyzedNullability: false); 3039SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3397SetResult(withExpr, resultState, resultType); 3553SetResult(node, result, LvalueResultType); 4831SetResult(node, type.ToTypeWithState(), type); 5068SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 5921SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6300SetResult(node, returnState, method.ReturnTypeWithAnnotations); 9918SetResult(node, rvalueResult, lvalueResult); 9927SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 9973SetResult(left, rightState, lvalueType, isLvalue: true); 9974SetResult(node, rightState, lvalueType); 9978SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 10703SetResult(node, resultType, indexer.TypeWithAnnotations); 10718SetResult(node, ResultType, LvalueResultType); 10799SetResult(node, resultType, type); 11953SetResult(node, rValueType, result); 12049SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12114SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976SetResult(node, resultType, inferredTypeWithAnnotations); 982SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);