1 instantiation of CodeGenerationDestructorInfo
Microsoft.CodeAnalysis.Workspaces (1)
CodeGenerationDestructorInfo.cs (1)
33
var info = new
CodeGenerationDestructorInfo
(typeName, statements);
13 references to CodeGenerationDestructorInfo
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
DestructorGenerator.cs (3)
53
identifier:
CodeGenerationDestructorInfo
.GetTypeName(destructor).ToIdentifierToken(),
65
var statements =
CodeGenerationDestructorInfo
.GetStatements(constructor) == null
67
: StatementGenerator.GenerateStatements(
CodeGenerationDestructorInfo
.GetStatements(constructor));
Microsoft.CodeAnalysis.Workspaces (10)
CodeGenerationDestructorInfo.cs (6)
14
private static readonly ConditionalWeakTable<IMethodSymbol,
CodeGenerationDestructorInfo
> s_destructorToInfoMap =
33
var
info = new CodeGenerationDestructorInfo(typeName, statements);
37
private static
CodeGenerationDestructorInfo
GetInfo(IMethodSymbol method)
39
s_destructorToInfoMap.TryGetValue(method, out
var
info);
49
private static ImmutableArray<SyntaxNode> GetStatements(
CodeGenerationDestructorInfo
info)
52
private static string GetTypeName(
CodeGenerationDestructorInfo
info, IMethodSymbol constructor)
CodeGenerationDestructorSymbol.cs (3)
36
CodeGenerationDestructorInfo
.Attach(result,
37
CodeGenerationDestructorInfo
.GetTypeName(this),
38
CodeGenerationDestructorInfo
.GetStatements(this));
CodeGenerationSymbolFactory.cs (1)
147
CodeGenerationDestructorInfo
.Attach(result, typeName, statements);