summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Numerics/Vector.tt')
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/Vector.tt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt b/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt
index ed2b606e55..46824941fb 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt
+++ b/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt
@@ -65,7 +65,13 @@ namespace System.Numerics
get
{
ThrowHelper.ThrowForUnsupportedVectorBaseType<T>();
+#if PROJECTN
+ // Hits an active bug in ProjectN (887908). This code path is actually only used rarely,
+ // since get_Count is an intrinsic.
+ throw new NotImplementedException();
+#else
return Unsafe.SizeOf<Vector<T>>() / Unsafe.SizeOf<T>();
+#endif
}
}