Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/tools/Common/TypeSystem/Common/TypeSystemConstraintsHelpers.cs')
-rw-r--r--src/coreclr/tools/Common/TypeSystem/Common/TypeSystemConstraintsHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/tools/Common/TypeSystem/Common/TypeSystemConstraintsHelpers.cs b/src/coreclr/tools/Common/TypeSystem/Common/TypeSystemConstraintsHelpers.cs
index d749946a72a..acd8e291ceb 100644
--- a/src/coreclr/tools/Common/TypeSystem/Common/TypeSystemConstraintsHelpers.cs
+++ b/src/coreclr/tools/Common/TypeSystem/Common/TypeSystemConstraintsHelpers.cs
@@ -53,7 +53,7 @@ namespace Internal.TypeSystem
if (instantiationParam.IsByRefLike && (constraints & GenericConstraints.AcceptByRefLike) == 0)
return false;
- var instantiatedConstraints = new ArrayBuilder<TypeDesc>();
+ var instantiatedConstraints = default(ArrayBuilder<TypeDesc>);
GetInstantiatedConstraintsRecursive(instantiationParamContext, instantiationParam, ref instantiatedConstraints);
foreach (var constraintType in genericParam.TypeConstraints)