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