25 references to SetResult
Microsoft.CodeAnalysis.CSharp (25)
FlowAnalysis\NullableWalker.cs (23)
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); 3197SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3555SetResult(withExpr, resultState, resultType); 3711SetResult(node, result, LvalueResultType); 5048SetResult(node, type.ToTypeWithState(), type); 5285SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6134SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6539SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10330SetResult(node, rvalueResult, lvalueResult); 10339SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10399SetResult(left, rightState, lvalueType, isLvalue: true); 10400SetResult(node, rightState, lvalueType); 10404SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11152SetResult(node, typeWithState, typeWithAnnotations); 11194SetResult(node, resultType, indexer.TypeWithAnnotations); 11209SetResult(node, ResultType, LvalueResultType); 11291SetResult(node, resultType, type); 12445SetResult(node, rValueType, result); 12541SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12606SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976SetResult(node, resultType, inferredTypeWithAnnotations); 982SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);