Remove AsReadOnly() since it doesn't exist on CoreCLR