1 write to AnalyzerResult
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
85AnalyzerResult = analyzerResult;
24 references to AnalyzerResult
Microsoft.CodeAnalysis.Features (24)
ExtractMethod\MethodExtractor.CodeGenerator.cs (24)
244return this.AnalyzerResult.GetOutermostVariableToMoveIntoMethodDefinition(); 250if (AnalyzerResult.FlowControlInformation.EndPointIsReachable) 256if (AnalyzerResult.FlowControlInformation.HasUniformControlFlow()) 258if (AnalyzerResult.FlowControlInformation.BreakStatementCount > 0) 260else if (AnalyzerResult.FlowControlInformation.ContinueStatementCount > 0) 296if (AnalyzerResult.VariablesToUseAsReturnValue.IsEmpty && 297!AnalyzerResult.FlowControlInformation.NeedsControlFlowValue()) 299Contract.ThrowIfTrue(AnalyzerResult.GetVariablesToSplitOrMoveOutToCallSite().Any(v => v.UseAsReturnValue)); 313if (AnalyzerResult.VariablesToUseAsReturnValue.IsEmpty && 314!AnalyzerResult.FlowControlInformation.NeedsControlFlowValue()) 319var flowControlInformation = AnalyzerResult.FlowControlInformation; 320var variables = AnalyzerResult.VariablesToUseAsReturnValue; 346foreach (var variable in AnalyzerResult.GetVariablesToSplitOrMoveOutToCallSite()) 370if (this.AnalyzerResult.FlowControlInformation.TryGetFallThroughFlowValue(out var fallthroughValue)) 372return statements.Concat(CreateReturnStatement([CreateFlowControlReturnExpression(this.AnalyzerResult.FlowControlInformation, fallthroughValue)])); 374else if (!this.AnalyzerResult.VariablesToUseAsReturnValue.IsEmpty) 377CreateReturnExpression(AnalyzerResult.VariablesToUseAsReturnValue.SelectAsArray( 406if (AnalyzerResult.MethodTypeParametersInDeclaration.IsEmpty) 409var set = new HashSet<ITypeParameterSymbol>(AnalyzerResult.MethodTypeParametersInConstraintList); 412foreach (var parameter in AnalyzerResult.MethodTypeParametersInDeclaration) 433foreach (var parameter in AnalyzerResult.MethodParameters) 463return AnalyzerResult.CoreReturnType.SpecialType != SpecialType.System_Void 470return _finalReturnType ??= WrapWithTaskIfNecessary(AddFlowControlTypeIfNecessary(this.AnalyzerResult.CoreReturnType)); 474var controlFlowValueType = this.AnalyzerResult.FlowControlInformation.ControlFlowValueType;