Skip to content

Commit e0f9fd3

Browse files
authored
Merge pull request #4540 from MicrosoftDocs/master637124834333656939
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 041dc3a + d2dc83c commit e0f9fd3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/code-quality/ca1003.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ By default, this rule only looks at externally visible types, but this is [confi
3535

3636
## Rule description
3737

38-
Before .NET, in order to pass custom information to the event handler, a new delegate had to be declared that specified a class that was derived from the <xref:System.EventArgs?displayProperty=fullName> class. In .NET, the generic <xref:System.EventHandler%601?displayProperty=fullName> delegate allows any class that's derived from <xref:System.EventArgs> to be used together with the event handler.
38+
Before .NET Framework 2.0, in order to pass custom information to the event handler, a new delegate had to be declared that specified a class that was derived from the <xref:System.EventArgs?displayProperty=fullName> class. In .NET Framework 2.0 and later versions, the generic <xref:System.EventHandler%601?displayProperty=fullName> delegate allows any class that's derived from <xref:System.EventArgs> to be used together with the event handler.
3939

4040
## How to fix violations
4141

docs/code-quality/ca1062.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ public class Person
222222

223223
// Copy constructor
224224
public Person(Person other)
225-
: this(PassThroughNonNull(other).Name,
226-
PassThroughNonNull(other).Age)
225+
: this(PassThroughNonNull(other).Name, other.Age)
227226
{
228227
}
229228

0 commit comments

Comments
 (0)