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