Source: Al0102AvoidTypeGetTypeAnalyzer.csDocumentation Index
Fetch the complete documentation index at: https://ancplua.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Description
Type.GetType() with a dynamically constructed type name prevents the AOT compiler from performing static analysis, potentially trimming required types.
Bad Code
Good Code
Properties
- Category: AOT Testing
- Severity: Warning
- Enabled by default: True
- Code fix available: False
