diff options
Diffstat (limited to 'src/mscorlib/src/System/Variant.cs')
-rw-r--r-- | src/mscorlib/src/System/Variant.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mscorlib/src/System/Variant.cs b/src/mscorlib/src/System/Variant.cs index 2a9593cf42..509650b8fc 100644 --- a/src/mscorlib/src/System/Variant.cs +++ b/src/mscorlib/src/System/Variant.cs @@ -334,21 +334,6 @@ namespace System { m_flags |= ((int)vt << VTBitShift); } - - unsafe public Variant(void* voidPointer,Type pointerType) { - if (pointerType == null) - throw new ArgumentNullException(nameof(pointerType)); - if (!pointerType.IsPointer) - throw new ArgumentException(Environment.GetResourceString("Arg_MustBePointer"),nameof(pointerType)); - Contract.EndContractBlock(); - - m_objref = pointerType; - m_flags=CV_PTR; - m_data1=(int)voidPointer; - m_data2=0; - - } - //This is a family-only accessor for the CVType. //This is never to be exposed externally. internal int CVType { |