1 instantiation of CodeGenerationMethodInfo
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationMethodInfo.cs (1)
48var info = new CodeGenerationMethodInfo(isNew, isUnsafe, isPartial, isAsync, statements, handlesExpressions);
20 references to CodeGenerationMethodInfo
Microsoft.CodeAnalysis.Workspaces (20)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\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);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationMethodInfo.cs (10)
14private static readonly ConditionalWeakTable<IMethodSymbol, CodeGenerationMethodInfo> s_methodToInfoMap = new(); 48var info = new CodeGenerationMethodInfo(isNew, isUnsafe, isPartial, isAsync, statements, handlesExpressions); 52private static CodeGenerationMethodInfo GetInfo(IMethodSymbol method) 54s_methodToInfoMap.TryGetValue(method, out var info); 76private static ImmutableArray<SyntaxNode> GetStatements(CodeGenerationMethodInfo info) 79private static ImmutableArray<SyntaxNode> GetHandlesExpressions(CodeGenerationMethodInfo info) 82private static bool GetIsNew(CodeGenerationMethodInfo info) 85private static bool GetIsUnsafe(CodeGenerationMethodInfo info) 88private static bool GetIsPartial(CodeGenerationMethodInfo info) 91private static bool GetIsAsyncMethod(CodeGenerationMethodInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationMethodSymbol.cs (7)
66CodeGenerationMethodInfo.Attach(result, 67CodeGenerationMethodInfo.GetIsNew(this), 68CodeGenerationMethodInfo.GetIsUnsafe(this), 69CodeGenerationMethodInfo.GetIsPartial(this), 70CodeGenerationMethodInfo.GetIsAsyncMethod(this), 71CodeGenerationMethodInfo.GetStatements(this), 72CodeGenerationMethodInfo.GetHandlesExpressions(this));