This is causing the `EncodingGetterBasedOnActualEncodingWhenXmlDeclarationIsAbsent` test to fail when re-enabled on NetCore.