src/RoslynAnalyzers/PerformanceSensitiveAnalyzers/Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers.md
This call site is calling into a function with a 'params' parameter. This results in an array allocation.
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Non-overridden virtual method call on a value type adds a boxing or constrained instruction
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Considering using StringBuilder
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Value type ({0}) is being boxed to a reference type for a string concatenation
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Heap allocation of closure Captures: {0}
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
The compiler will emit a class that will hold this as a field to allow capturing of this closure
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Considering moving this out of the generic method
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Non-ValueType enumerator may result in a heap allocation
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Explicit new array type allocation
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Info |
| CodeFix | True |
Explicit new reference type allocation
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Info |
| CodeFix | True |
Explicit new anonymous object allocation
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Info |
| CodeFix | False |
Let clause induced allocation
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Info |
| CodeFix | False |
Value type to reference type conversion causes boxing at call site (here), and unboxing at the callee-site. Consider using generics if applicable.
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
Struct instance method being used for delegate creation, this will result in a boxing instruction
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
This will allocate a delegate instance
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Warning |
| CodeFix | False |
This will allocate a delegate instance
| Item | Value |
|---|---|
| Category | Performance |
| Enabled | True |
| Severity | Info |
| CodeFix | False |