Update of /cvsroot/adapdev/Adapdev/src/Adapdev
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6213/src/Adapdev
Modified Files:
Adapdev.csproj Util.cs
Log Message:
Index: Util.cs
===================================================================
RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev/Util.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Util.cs 26 Nov 2005 08:09:23 -0000 1.6
--- Util.cs 1 Mar 2006 01:38:51 -0000 1.7
***************
*** 42,101 ****
}
- public static bool AreObjectsEqual(Object o1, Object o2)
- {
- Type t1 = o1.GetType();
- Type t2 = o2.GetType();
-
- PropertyInfo[] pi1 = t1.GetProperties();
- PropertyInfo[] pi2 = t2.GetProperties();
-
- for (int i = 0; i < pi1.Length; i++)
- {
- try
- {
- PropertyInfo i1 = pi1[i];
- PropertyInfo i2 = pi2[i];
-
- if (!i1.GetValue(o1, null).Equals(null) && !i2.GetValue(o2, null).Equals(null))
- {
- if (!i1.GetValue(o1, null).Equals(i2.GetValue(o2, null)))
- {
- return false;
- }
- }
- }
- catch (Exception)
- {
- throw;
- }
- }
-
- FieldInfo[] fi1 = t1.GetFields();
- FieldInfo[] fi2 = t2.GetFields();
-
- for (int i = 0; i < fi1.Length; i++)
- {
- try
- {
- FieldInfo i1 = fi1[i];
- FieldInfo i2 = fi2[i];
-
- if (!i1.GetValue(o1).Equals(null) && !i2.GetValue(o2).Equals(null))
- {
- if (!i1.GetValue(o1).Equals(i2.GetValue(o2)))
- {
- return false;
- }
- }
- }
- catch (Exception)
- {
- throw;
- }
- }
-
- return true;
- }
-
public static bool IsNumeric(object o)
{
--- 42,45 ----
Index: Adapdev.csproj
===================================================================
RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev/Adapdev.csproj,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Adapdev.csproj 21 Feb 2006 04:31:18 -0000 1.19
--- Adapdev.csproj 1 Mar 2006 01:38:51 -0000 1.20
***************
*** 25,29 ****
<Config
Name = "Debug"
! AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
--- 25,29 ----
<Config
Name = "Debug"
! AllowUnsafeBlocks = "true"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
***************
*** 191,215 ****
/>
<File
! RelPath = "ObjectSorter.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "SortableCollectionBase.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "Util.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "ValidationResult.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "Attributes\SchemaDataRewritableAttribute.cs"
SubType = "Code"
BuildAction = "Compile"
--- 191,215 ----
/>
<File
! RelPath = "Util.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "ValidationResult.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "Attributes\SchemaDataRewritableAttribute.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "Collections\CollectionSorter.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
! RelPath = "Collections\SortableCollectionBase.cs"
SubType = "Code"
BuildAction = "Compile"
***************
*** 236,239 ****
--- 236,244 ----
/>
<File
+ RelPath = "Cryptography\DPAPI.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "Cryptography\EncryptionAlgorithm.cs"
SubType = "Code"
|