[JEDI.NET-commits] tools/docs/ndoc patch ReflectionEngine.cs.patch,1.1,1.2
Status: Pre-Alpha
Brought to you by:
jedi_mbe
From: Marcel B. <jed...@us...> - 2004-11-26 21:09:46
|
Update of /cvsroot/jedidotnet/tools/docs/ndoc patch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16366/tools/docs/ndoc patch Modified Files: ReflectionEngine.cs.patch Log Message: Removed the last changes that had nothing to do with the changes I made Index: ReflectionEngine.cs.patch =================================================================== RCS file: /cvsroot/jedidotnet/tools/docs/ndoc patch/ReflectionEngine.cs.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ReflectionEngine.cs.patch 26 Nov 2004 11:57:03 -0000 1.1 --- ReflectionEngine.cs.patch 26 Nov 2004 21:09:32 -0000 1.2 *************** *** 79,231 **** } - @@ -1073,6 +1118,7 @@ - WriteBaseType(writer, type.BaseType); - WriteDerivedTypes(writer, memberName); - - + //Debug.Assert(implementations == null); - implementations = new ImplementsCollection(); - - //build a collection of the base type's interfaces - @@ -1250,7 +1296,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + GetMemberName(type),e); - + throw new DocumenterException("Error retrieving custom attributes for " + GetMemberName(type),e); - } - } - - @@ -1263,7 +1309,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + GetMemberName(fieldInfo),e); - + throw new DocumenterException("Error retrieving custom attributes for " + GetMemberName(fieldInfo),e); - } - } - - @@ -1275,7 +1321,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + GetMemberName(constructorInfo),e); - + throw new DocumenterException("Error retrieving custom attributes for " + GetMemberName(constructorInfo),e); - } - } - - @@ -1288,7 +1334,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + GetMemberName(methodInfo),e); - + throw new DocumenterException("Error retrieving custom attributes for " + GetMemberName(methodInfo),e); - } - } - - @@ -1300,7 +1346,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + GetMemberName(propertyInfo),e); - + throw new DocumenterException("Error retrieving custom attributes for " + GetMemberName(propertyInfo),e); - } - } - - @@ -1312,7 +1358,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + parameterInfo.Member.ReflectedType.FullName + "." + parameterInfo.Member.Name + " param " + parameterInfo.Name,e); - + throw new DocumenterException("Error retrieving custom attributes for " + parameterInfo.Member.ReflectedType.FullName + "." + parameterInfo.Member.Name + " param " + parameterInfo.Name,e); - } - } - - @@ -1324,7 +1370,7 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Error retrieving custom attributes for " + GetMemberName(eventInfo),e); - + throw new DocumenterException("Error retrieving custom attributes for " + GetMemberName(eventInfo),e); - } - } - - @@ -1372,7 +1418,16 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Value for attribute field " + GetMemberName(field).Substring(2) + " cannot be determined",e); - + Trace.WriteLine(""); - + Trace.WriteLine("### value for attribute field " + GetMemberName(field).Substring(2) + " cannot be determined"); - + Exception ex = e; - + do - + { - + Trace.WriteLine("-> " + ex.Message); - + ex=ex.InnerException; - + } while(ex!=null); - + Trace.WriteLine(""); - + - fieldValue="***UNKNOWN***"; - } - if (fieldValue.Length>0) - @@ -1405,7 +1460,16 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Value for attribute property " + GetMemberName(property).Substring(2) + " cannot be determined",e); - + Trace.WriteLine(""); - + Trace.WriteLine("### value for attribute property " + GetMemberName(property).Substring(2) + " cannot be determined"); - + Exception ex = e; - + do - + { - + Trace.WriteLine("-> " + ex.Message); - + ex=ex.InnerException; - + } while(ex!=null); - + Trace.WriteLine(""); - + - propertyValue="***UNKNOWN***"; - } - if (propertyValue.Length>0) - @@ -1955,7 +2019,15 @@ - } - catch(Exception e) - { - - TraceErrorOutput("Literal value for " + memberName.Substring(2) + " cannot be determined",e); - + Trace.WriteLine(""); - + Trace.WriteLine("### Literal value for " + memberName.Substring(2) + " cannot be determined"); - + Exception ex = e; - + do - + { - + Trace.WriteLine("-> " + ex.Message); - + ex=ex.InnerException; - + } while(ex!=null); - + Trace.WriteLine(""); - } - if (fieldValue!=null) - { - @@ -3776,26 +3848,6 @@ - writer.WriteEndElement(); - } - - - private void TraceErrorOutput(string message) - - { - - TraceErrorOutput(message,null); - - } - - - - private void TraceErrorOutput(string message, Exception ex) - - { - - Trace.WriteLine("[WARNING] " + message); - - if (ex!=null) - - { - - Exception tempEx = ex; - - do - - { - - Trace.WriteLine("-> " + tempEx.GetType().ToString() + ":" + ex.Message); - - tempEx=tempEx.InnerException; - - } while(tempEx!=null); - - Trace.WriteLine(ex.StackTrace); - - } - - } - - - private AssemblyLoader SetupAssemblyLoader() - { - AssemblyLoader assemblyLoader = new AssemblyLoader(rep.ReferencePaths); --- 79,80 ---- |