Skip to content

Commit fa8a610

Browse files
committed
Fixed unit tests
1 parent 4fd8cb4 commit fa8a610

104 files changed

Lines changed: 415 additions & 415 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//HintName: Microsoft.CodeAnalysis.EmbeddedAttribute.cs
2+
namespace Microsoft.CodeAnalysis
3+
{
4+
internal sealed partial class EmbeddedAttribute : global::System.Attribute
5+
{
6+
}
7+
}

src/UnitTests/Snapshots/Events/EventsTests.ActionEvents_AssertResults#PublicInterfaceGeneratorAttributes.verified.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
#pragma warning disable SA1502 // ElementMustNotBeOnSingleLine
77
#pragma warning disable SA1013 // ClosingBracesMustBeSpacedCorrectly
88

9-
namespace Microsoft.CodeAnalysis
10-
{
11-
[System.AttributeUsage(System.AttributeTargets.All)]
12-
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
13-
internal sealed class EmbeddedAttribute : System.Attribute { }
14-
}
15-
169
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1710
{
1811
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
@@ -71,4 +64,4 @@ public sealed class GenerateInterfaceAttribute : System.Attribute
7164
#pragma warning restore SA1402 // FileMayOnlyContainASingleType
7265
#pragma warning restore SA1403 // SA1403FileMayOnlyContainASingleNamespace
7366
#pragma warning restore SA1502 // ElementMustNotBeOnSingleLine
74-
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
67+
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//HintName: Microsoft.CodeAnalysis.EmbeddedAttribute.cs
2+
namespace Microsoft.CodeAnalysis
3+
{
4+
internal sealed partial class EmbeddedAttribute : global::System.Attribute
5+
{
6+
}
7+
}

src/UnitTests/Snapshots/Events/EventsTests.CustomEvents_AssertResults#PublicInterfaceGeneratorAttributes.verified.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
#pragma warning disable SA1502 // ElementMustNotBeOnSingleLine
77
#pragma warning disable SA1013 // ClosingBracesMustBeSpacedCorrectly
88

9-
namespace Microsoft.CodeAnalysis
10-
{
11-
[System.AttributeUsage(System.AttributeTargets.All)]
12-
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
13-
internal sealed class EmbeddedAttribute : System.Attribute { }
14-
}
15-
169
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1710
{
1811
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//HintName: Microsoft.CodeAnalysis.EmbeddedAttribute.cs
2+
namespace Microsoft.CodeAnalysis
3+
{
4+
internal sealed partial class EmbeddedAttribute : global::System.Attribute
5+
{
6+
}
7+
}

src/UnitTests/Snapshots/Events/EventsTests.EventWithComments_AssertCommentsAppearInGeneratedInterfaceEvents#PublicInterfaceGeneratorAttributes.verified.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
#pragma warning disable SA1502 // ElementMustNotBeOnSingleLine
77
#pragma warning disable SA1013 // ClosingBracesMustBeSpacedCorrectly
88

9-
namespace Microsoft.CodeAnalysis
10-
{
11-
[System.AttributeUsage(System.AttributeTargets.All)]
12-
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
13-
internal sealed class EmbeddedAttribute : System.Attribute { }
14-
}
15-
169
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1710
{
1811
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
@@ -71,4 +64,4 @@ public sealed class GenerateInterfaceAttribute : System.Attribute
7164
#pragma warning restore SA1402 // FileMayOnlyContainASingleType
7265
#pragma warning restore SA1403 // SA1403FileMayOnlyContainASingleNamespace
7366
#pragma warning restore SA1502 // ElementMustNotBeOnSingleLine
74-
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
67+
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//HintName: Microsoft.CodeAnalysis.EmbeddedAttribute.cs
2+
namespace Microsoft.CodeAnalysis
3+
{
4+
internal sealed partial class EmbeddedAttribute : global::System.Attribute
5+
{
6+
}
7+
}

src/UnitTests/Snapshots/Events/EventsTests.ImplementsInterfaceEvent_AssertEventNotInGeneratedInterface#PublicInterfaceGeneratorAttributes.verified.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
#pragma warning disable SA1502 // ElementMustNotBeOnSingleLine
77
#pragma warning disable SA1013 // ClosingBracesMustBeSpacedCorrectly
88

9-
namespace Microsoft.CodeAnalysis
10-
{
11-
[System.AttributeUsage(System.AttributeTargets.All)]
12-
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
13-
internal sealed class EmbeddedAttribute : System.Attribute { }
14-
}
15-
169
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1710
{
1811
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
@@ -71,4 +64,4 @@ public sealed class GenerateInterfaceAttribute : System.Attribute
7164
#pragma warning restore SA1402 // FileMayOnlyContainASingleType
7265
#pragma warning restore SA1403 // SA1403FileMayOnlyContainASingleNamespace
7366
#pragma warning restore SA1502 // ElementMustNotBeOnSingleLine
74-
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
67+
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//HintName: Microsoft.CodeAnalysis.EmbeddedAttribute.cs
2+
namespace Microsoft.CodeAnalysis
3+
{
4+
internal sealed partial class EmbeddedAttribute : global::System.Attribute
5+
{
6+
}
7+
}

src/UnitTests/Snapshots/Events/EventsTests.SelfReferentialSenderEvent_AssertOutput#PublicInterfaceGeneratorAttributes.verified.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
#pragma warning disable SA1502 // ElementMustNotBeOnSingleLine
77
#pragma warning disable SA1013 // ClosingBracesMustBeSpacedCorrectly
88

9-
namespace Microsoft.CodeAnalysis
10-
{
11-
[System.AttributeUsage(System.AttributeTargets.All)]
12-
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
13-
internal sealed class EmbeddedAttribute : System.Attribute { }
14-
}
15-
169
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1710
{
1811
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
@@ -71,4 +64,4 @@ public sealed class GenerateInterfaceAttribute : System.Attribute
7164
#pragma warning restore SA1402 // FileMayOnlyContainASingleType
7265
#pragma warning restore SA1403 // SA1403FileMayOnlyContainASingleNamespace
7366
#pragma warning restore SA1502 // ElementMustNotBeOnSingleLine
74-
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly
67+
#pragma warning restore SA1013 // ClosingBracesMustBeSpacedCorrectly

0 commit comments

Comments
 (0)