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); 3197SetResult(node, GetAdjustedResult(type.ToTypeWithState(), slot), type); 3555SetResult(withExpr, resultState, resultType); 3711SetResult(node, result, LvalueResultType); 4994SetResult(node, type.ToTypeWithState(), type); 5231SetResult(binary, inferredResult, inferredResult.ToTypeWithAnnotations(compilation)); 6080SetResult(node, TypeWithState.Create(refResultType, rValueState), TypeWithAnnotations.Create(refResultType, lValueAnnotation)); 6485SetResult(node, returnState, method.ReturnTypeWithAnnotations); 10226SetResult(node, rvalueResult, lvalueResult); 10235SetResult(node, GetAdjustedResult(typeWithState, slot), parameterType); 10295SetResult(left, rightState, lvalueType, isLvalue: true); 10296SetResult(node, rightState, lvalueType); 10300SetResult(node, TypeWithState.Create(leftLValueType.Type, rightState.State), leftLValueType); 11061SetResult(node, resultType, indexer.TypeWithAnnotations); 11076SetResult(node, ResultType, LvalueResultType); 11158SetResult(node, resultType, type); 12312SetResult(node, rValueType, result); 12408SetResult(node.Expression, typeWithAnnotations.ToTypeWithState(), typeWithAnnotations); 12473SetResult(node, returnTypeWithAnnotations.ToTypeWithState(), returnTypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (2)
976SetResult(node, resultType, inferredTypeWithAnnotations); 982SetResult(node, resultType, inferredTypeWithAnnotations, updateAnalyzedNullability: false);