Removed NET_2_1 conditional blocks from FileInfo. Fixes #19862.
Merge pull request #1067 from esdrubal/bug19862

Removed NET_2_1 conditional blocks from FileInfo. Fixes #19862.