You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
This commit is contained in:
committed by
Jo Shields
parent
aa7da660d6
commit
c042cd0c52
34
external/referencesource/System.Configuration/System/Configuration/DATA_BLOB.cs
vendored
Normal file
34
external/referencesource/System.Configuration/System/Configuration/DATA_BLOB.cs
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="DATA_BLOB.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace System.Configuration
|
||||
{
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Configuration.Provider;
|
||||
using System.Xml;
|
||||
using System.Text;
|
||||
using System.Runtime.InteropServices;
|
||||
using Microsoft.Win32;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
internal struct DATA_BLOB : IDisposable
|
||||
{
|
||||
public int cbData;
|
||||
public IntPtr pbData;
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
if (pbData != IntPtr.Zero)
|
||||
{
|
||||
Marshal.FreeHGlobal(pbData);
|
||||
pbData = IntPtr.Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user