1 instantiation of CodeGenerationMethodInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationMethodInfo.cs (1)
49var info = new CodeGenerationMethodInfo(isNew, isUnsafe, isPartial, isAsync, statements, handlesExpressions);
29 references to CodeGenerationMethodInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
CodeGenerationMethodInfo.cs (10)
14private static readonly ConditionalWeakTable<IMethodSymbol, CodeGenerationMethodInfo> s_methodToInfoMap = 49var info = new CodeGenerationMethodInfo(isNew, isUnsafe, isPartial, isAsync, statements, handlesExpressions); 53private static CodeGenerationMethodInfo GetInfo(IMethodSymbol method) 55s_methodToInfoMap.TryGetValue(method, out var info); 77private static ImmutableArray<SyntaxNode> GetStatements(CodeGenerationMethodInfo info) 80private static ImmutableArray<SyntaxNode> GetHandlesExpressions(CodeGenerationMethodInfo info) 83private static bool GetIsNew(CodeGenerationMethodInfo info) 86private static bool GetIsUnsafe(CodeGenerationMethodInfo info) 89private static bool GetIsPartial(CodeGenerationMethodInfo info) 92private static bool GetIsAsyncMethod(CodeGenerationMethodInfo info)
CodeGenerationMethodSymbol.cs (7)
66CodeGenerationMethodInfo.Attach(result, 67CodeGenerationMethodInfo.GetIsNew(this), 68CodeGenerationMethodInfo.GetIsUnsafe(this), 69CodeGenerationMethodInfo.GetIsPartial(this), 70CodeGenerationMethodInfo.GetIsAsyncMethod(this), 71CodeGenerationMethodInfo.GetStatements(this), 72CodeGenerationMethodInfo.GetHandlesExpressions(this));
CodeGenerationSymbolFactory.cs (3)
169CodeGenerationMethodInfo.Attach(result, modifiers.IsNew, modifiers.IsUnsafe, modifiers.IsPartial, modifiers.IsAsync, statements, handlesExpressions); 216CodeGenerationMethodInfo.Attach(result, modifiers.IsNew, modifiers.IsUnsafe, modifiers.IsPartial, modifiers.IsAsync, statements, handlesExpressions: default); 261CodeGenerationMethodInfo.Attach(result, modifiers.IsNew, modifiers.IsUnsafe, modifiers.IsPartial, modifiers.IsAsync, statements, handlesExpressions: default);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
EventGenerator.cs (1)
176StatementGenerator.GenerateStatements(CodeGenerationMethodInfo.GetStatements(accessor)));
MethodGenerator.cs (6)
263if (CodeGenerationMethodInfo.GetIsUnsafe(method)) 305if (CodeGenerationMethodInfo.GetIsPartial(method) && !method.IsAsync) 314if (CodeGenerationMethodInfo.GetIsUnsafe(method)) 317if (CodeGenerationMethodInfo.GetIsNew(method)) 323if (CodeGenerationMethodInfo.GetIsAsyncMethod(method)) 329if (CodeGenerationMethodInfo.GetIsPartial(method) && method.IsAsync)
PropertyGenerator.cs (1)
305StatementGenerator.GenerateStatements(CodeGenerationMethodInfo.GetStatements(accessor)));
StatementGenerator.cs (1)
21StatementGenerator.GenerateStatements(CodeGenerationMethodInfo.GetStatements(method)));