This rule warns when a method use Type.GetType(string) with a constant string.
Such calls requires reflection in order to return a Type instance and, for
known types, can be replaced with a much faster typeof(x).
See Also:
AvoidTypeGetTypeForConstantStringsRule Members
Syntax
Remarks
Example
Example
Requirements
Namespace: Gendarme.Rules.Performance
Assembly: Gendarme.Rules.Performance (in Gendarme.Rules.Performance.dll)
Assembly Versions: 2.8.0.0