27 references to SetResult
Microsoft.CodeAnalysis.CSharp (27)
FlowAnalysis\NullableWalker.cs (25)
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); 3203SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3561SetResult(withExpr, resultState, resultType); 3717SetResult(node, result, LvalueResultType); 5055SetResult(node, type.ToTypeWithState(), type); 5277SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5292SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6203SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6588SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10437SetResult(node, rvalueResult, lvalueResult); 10446SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10506SetResult(left, rightState, lvalueType, isLvalue: true); 10507SetResult(node, rightState, lvalueType); 10511SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11370SetResult(node, typeWithState, typeWithAnnotations); 11412SetResult(node, resultType, indexer.TypeWithAnnotations); 11427SetResult(node, ResultType, LvalueResultType); 11509SetResult(node, resultType, type); 12773SetResult(node, rValueType, result); 12869SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12903SetResult(node, result.RValueType, result.LValueType); 12934SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
978SetResult(node, resultType, inferredTypeWithAnnotations); 984SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);