1 instantiation of CodeGenerationConstructorInfo
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorInfo.cs (1)
46var info = new CodeGenerationConstructorInfo(isPrimaryConstructor, isUnsafe, typeName, statements, baseConstructorArguments, thisConstructorArguments);
18 references to CodeGenerationConstructorInfo
GenerateDocumentationAndConfigFiles (18)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
131CodeGenerationConstructorInfo.Attach(result, isPrimaryConstructor, modifiers.IsUnsafe, typeName, statements, baseConstructorArguments, thisConstructorArguments);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorInfo.cs (10)
12private static readonly ConditionalWeakTable<IMethodSymbol, CodeGenerationConstructorInfo> s_constructorToInfoMap = new(); 46var info = new CodeGenerationConstructorInfo(isPrimaryConstructor, isUnsafe, typeName, statements, baseConstructorArguments, thisConstructorArguments); 50private static CodeGenerationConstructorInfo? GetInfo(IMethodSymbol method) 52s_constructorToInfoMap.TryGetValue(method, out var info); 74private static ImmutableArray<SyntaxNode> GetThisConstructorArgumentsOpt(CodeGenerationConstructorInfo? info) 77private static ImmutableArray<SyntaxNode> GetBaseConstructorArgumentsOpt(CodeGenerationConstructorInfo? info) 80private static ImmutableArray<SyntaxNode> GetStatements(CodeGenerationConstructorInfo? info) 83private static string GetTypeName(CodeGenerationConstructorInfo? info, IMethodSymbol constructor) 86private static bool GetIsUnsafe(CodeGenerationConstructorInfo? info) 89private static bool GetIsPrimaryConstructor(CodeGenerationConstructorInfo? info)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (7)
33CodeGenerationConstructorInfo.Attach(result, 34CodeGenerationConstructorInfo.GetIsPrimaryConstructor(this), 35CodeGenerationConstructorInfo.GetIsUnsafe(this), 36CodeGenerationConstructorInfo.GetTypeName(this), 37CodeGenerationConstructorInfo.GetStatements(this), 38CodeGenerationConstructorInfo.GetBaseConstructorArgumentsOpt(this), 39CodeGenerationConstructorInfo.GetThisConstructorArgumentsOpt(this));