45 references to Free
Microsoft.CodeAnalysis.CSharp (41)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
23_lookupResult?.Free();
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
100lookupResult.Free();
Binder\Binder_Attributes.cs (1)
585result.Free();
Binder\Binder_Crefs.cs (3)
362result.Free(); 369result.Free(); // Won't be using this. 377result.Free(); // Won't be using this.
Binder\Binder_Expressions.cs (14)
1602lookupResult.Free(); 1865lookupResult.Free(); 2209result.Free(); 2215result.Free(); 6678lookupResult.Free(); 6931lookupResult.Free(); 7410lookupResult.Free(); 8285lookupResult.Free(); 8687lookupResult.Free(); 8701lookupResult.Free(); 8736lookupResult.Free(); 8745lookupResult.Free(); 8787lookupResult.Free(); 8792lookupResult.Free();
Binder\Binder_Invocation.cs (1)
2001lookupResult.Free();
Binder\Binder_Lookup.cs (8)
95tmp.Free(); 369submissionSymbols.Free(); 370nonViable.Free(); 584resultWithSuffix?.Free(); 860tmp.Free(); 935tmp.Free(); 1145tmp.Free(); 1163tmp.Free();
Binder\Binder_Statements.cs (1)
501result.Free();
Binder\Binder_Symbols.cs (5)
292lookupResult.Free(); 367result.Free(); 924result.Free(); 1313lookupResult.Free(); 1431tempLookupResult?.Free();
Binder\Binder_XmlNameAttribute.cs (2)
35lookupResult.Free(); 51lookupResult.Free();
Binder\ForEachLoopBinder.cs (2)
1130lookupResult.Free(); 1485lookupResult.Free();
Compilation\CSharpSemanticModel.cs (2)
1678lookupResult.Free(); 1775lookupResult.Free();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LookupTests.cs (2)
452lookupResult.Free(); 591lookupResult.Free();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
2182lookupResult.Free();
DocumentationComments\CrefTests.cs (1)
5531lookupResult.Free();