Skip to content

Commit 61fe249

Browse files
committed
Another test change
1 parent 2a278a4 commit 61fe249

File tree

62 files changed

+212
-269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+212
-269
lines changed

src/PublicInterfaceGenerator/AttributeGenerationHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public static string GenerateExcludeFromGeneratedInterfaceAttribute()
3535
"""
3636
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
3737
{
38-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
38+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
3939
[Microsoft.CodeAnalysis.EmbeddedAttribute]
40-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
40+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
4141
{
4242
}
4343
}
@@ -49,9 +49,9 @@ public static string GenerateGenerateInterfaceAttribute()
4949
return """
5050
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
5151
{
52-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
52+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
5353
[Microsoft.CodeAnalysis.EmbeddedAttribute]
54-
public class GenerateInterfaceAttribute : Attribute
54+
public class GenerateInterfaceAttribute : System.Attribute
5555
{
5656
/// <summary>
5757
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

src/UnitTests/Snapshots/Events/EventsTests.SimpleEvents_AssertResults#PublicInterfaceGeneratorAttributes.received.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

src/UnitTests/Snapshots/Events/EventsTests.WithExcludedEvents_AssertResults#PublicInterfaceGeneratorAttributes.received.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

src/UnitTests/Snapshots/InterfaceDefinitionTests/InterfaceDefinitionTests.CustomInterfaces#IMyClass.g.received.cs

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/UnitTests/Snapshots/InterfaceDefinitionTests/InterfaceDefinitionTests.CustomInterfaces#PublicInterfaceGeneratorAttributes.received.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ internal sealed class EmbeddedAttribute : System.Attribute {}
66

77
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
88
{
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
9+
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
1010
[Microsoft.CodeAnalysis.EmbeddedAttribute]
11-
public class ExcludeFromGeneratedInterfaceAttribute : Attribute
11+
public class ExcludeFromGeneratedInterfaceAttribute : System.Attribute
1212
{
1313
}
1414
}
1515

1616
namespace ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes
1717
{
18-
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
18+
[System.AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
1919
[Microsoft.CodeAnalysis.EmbeddedAttribute]
20-
public class GenerateInterfaceAttribute : Attribute
20+
public class GenerateInterfaceAttribute : System.Attribute
2121
{
2222
/// <summary>
2323
/// Set this to override the default interface name. Or leave it null to use the class name with an 'I' prepended to it.

0 commit comments

Comments
 (0)