mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 19:46:07 +00:00
drop unused code related to PORTABLE flag (#2202)
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Octokit.Internal;
|
||||
#if !PORTABLE
|
||||
using System.Collections.Concurrent;
|
||||
#endif
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
@@ -16,13 +14,9 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public abstract class RequestParameters
|
||||
{
|
||||
#if PORTABLE
|
||||
static readonly ConcurrentCache<Type, List<PropertyParameter>> _propertiesMap =
|
||||
new ConcurrentCache<Type, List<PropertyParameter>>();
|
||||
#else
|
||||
static readonly ConcurrentDictionary<Type, List<PropertyParameter>> _propertiesMap =
|
||||
new ConcurrentDictionary<Type, List<PropertyParameter>>();
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Converts the derived object into a dictionary that can be used to supply query string parameters.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user