private static ValueContentAnalysisResult TryGetOrComputeResultForAnalysisContext(ValueContentAnalysisContext analysisContext) { var operationVisitor = new ValueContentDataFlowOperationVisitor(analysisContext); var nullAnalysis = new ValueContentAnalysis(operationVisitor); return(nullAnalysis.TryGetOrComputeResultCore(analysisContext, cacheResult: true)); }
private static ValueContentAnalysisResult?TryGetOrComputeResultForAnalysisContext(ValueContentAnalysisContext analysisContext) { var analysisDomain = new ValueContentAnalysisDomain(analysisContext.PointsToAnalysisResultOpt); var operationVisitor = new ValueContentDataFlowOperationVisitor(analysisDomain, analysisContext); var nullAnalysis = new ValueContentAnalysis(analysisDomain, operationVisitor); return(nullAnalysis.TryGetOrComputeResultCore(analysisContext, cacheResult: true)); }