Sebastien Pouliot | 14 Aug 14:04

Re: [PATCH] System.Security: trivial fixes for XmlDsig transforms

On Thu, 2008-08-14 at 06:35 +0200, Gert Driesen wrote:
> > Index: Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs
> > ===================================================================
> > --- Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs   (revision 110022)
> > +++ Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs   (working copy)
> > @@ -23,8 +23,17 @@
> >  
> >         // Note: GetInnerXml is protected in XmlDsigXsltTransform making it
> >         // difficult to test properly. This class "open it up" :-)
> > -       public class UnprotectedXmlDsigXsltTransform : XmlDsigXsltTransform {
> > +       public class UnprotectedXmlDsigXsltTransform : XmlDsigXsltTransform
> > +       {
> 
> Your interpretation was different than mine so you asked (I think I
> suggested it) on mono-dev about this (May 26th) and Miguel's answer (May
> 27th) was clear: 
>         "Same line, there are a couple of samples on that page."
> 
> Anyway please do not introduce unneeded changes into your patches.
> 
> > +               public UnprotectedXmlDsigXsltTransform ()
> > +               {
> > +               }
> >  
> > +               public UnprotectedXmlDsigXsltTransform (bool includeComments)
> > +                       : base (includeComments)
> > +               {
> > +               }
> 
> Did you include this in your remarks to signal that braces should go
(Continue reading)

Gert Driesen | 14 Aug 16:45
Favicon
Gravatar

Re: [PATCH] System.Security: trivial fixes for XmlDsig transforms


-----Original Message-----
From: mono-devel-list-bounces <at> lists.ximian.com
[mailto:mono-devel-list-bounces <at> lists.ximian.com] On Behalf Of Sebastien Pouliot
Sent: donderdag 14 augustus 2008 14:05
To: Gert Driesen
Cc: mono-devel-list <at> ximian.com
Subject: Re: [Mono-dev] [PATCH] System.Security: trivial fixes for XmlDsig transforms

> Perhaps we should include a table that clearly lists the bracing style
> we prefer:
> 
> > Namespace              same line
> > Types                  same line
> > Methods                new line
> > Constructors           new line  (?)
> > Properties             same line
> > Anonymous Methods      same line (?)
> > Anonymous Types        same line (?)
> > Control Blocks         same line
>
> > It would be interesting to have such a recapitulating table inside the
> wiki.
>
> However such table, if/when existing, should not be interpreted as "must
> be changed at first opportunity" ;-)

No, but at least we'd have something indisputable to redirect committers to for new sources.

Can someone with write access add this to the wiki?
(Continue reading)

| 14 Aug 17:14

Re: [PATCH] System.Security: trivial fixes for XmlDsig transforms

Gert Driesen wrote:
>> Perhaps we should include a table that clearly lists the bracing style
>> we prefer:
>>
>>> Namespace              same line
>>> Types                  same line
>>> Methods                new line
>>> Constructors           new line  (?)
>>> Properties             same line
>>> Anonymous Methods      same line (?)
>>> Anonymous Types        same line (?)
>>> Control Blocks         same line
>>> It would be interesting to have such a recapitulating table inside the
>> wiki.
>>
>> However such table, if/when existing, should not be interpreted as "must
>> be changed at first opportunity" ;-)
> 
> No, but at least we'd have something indisputable to redirect committers to for new sources.
> 
> Can someone with write access add this to the wiki?
> 

Done.

	Andrés

-- 

Gmane