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); 3197SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3555SetResult(withExpr, resultState, resultType); 3711SetResult(node, result, LvalueResultType); 5048SetResult(node, type.ToTypeWithState(), type); 5270SetResult(binary, TypeWithState.ForType(binary.Type), TypeWithAnnotations.Create(binary.Type)); 5285SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6196SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6581SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10425SetResult(node, rvalueResult, lvalueResult); 10434SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10494SetResult(left, rightState, lvalueType, isLvalue: true); 10495SetResult(node, rightState, lvalueType); 10499SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11352SetResult(node, typeWithState, typeWithAnnotations); 11394SetResult(node, resultType, indexer.TypeWithAnnotations); 11409SetResult(node, ResultType, LvalueResultType); 11491SetResult(node, resultType, type); 12749SetResult(node, rValueType, result); 12845SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12879SetResult(node, result.RValueType, result.LValueType); 12910SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976SetResult(node, resultType, inferredTypeWithAnnotations); 982SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);