-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ecf952
commit b9c066e
Showing
18 changed files
with
423 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...itize_accessibility_over_default_accessibility#TestNamespace.TestFile.Razor.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//HintName: TestNamespace.TestFile.Razor.g.cs | ||
#pragma checksum "./TestFile.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0" | ||
// <auto-generated/> | ||
#pragma warning disable 1591 | ||
namespace TestNamespace | ||
{ | ||
#line hidden | ||
#nullable restore | ||
public partial class TestFile : global::RazorBlade.HtmlTemplate | ||
#nullable disable | ||
{ | ||
#pragma warning disable 1998 | ||
protected async override global::System.Threading.Tasks.Task ExecuteAsync() | ||
{ | ||
WriteLiteral("Hello"); | ||
} | ||
#pragma warning restore 1998 | ||
} | ||
} | ||
#pragma warning restore 1591 |
20 changes: 20 additions & 0 deletions
20
...ratorTests.should_report_invalid_accessibility#TestNamespace.TestFile.Razor.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//HintName: TestNamespace.TestFile.Razor.g.cs | ||
#pragma checksum "./TestFile.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0" | ||
// <auto-generated/> | ||
#pragma warning disable 1591 | ||
namespace TestNamespace | ||
{ | ||
#line hidden | ||
#nullable restore | ||
internal partial class TestFile : global::RazorBlade.HtmlTemplate | ||
#nullable disable | ||
{ | ||
#pragma warning disable 1998 | ||
protected async override global::System.Threading.Tasks.Task ExecuteAsync() | ||
{ | ||
WriteLiteral("Hello"); | ||
} | ||
#pragma warning restore 1998 | ||
} | ||
} | ||
#pragma warning restore 1591 |
16 changes: 16 additions & 0 deletions
16
...ers.Tests/RazorBladeSourceGeneratorTests.should_report_invalid_accessibility.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Message: Invalid accessibility modifier: 'foo'. Valid values are 'internal' and 'public'., | ||
Severity: Error, | ||
Descriptor: { | ||
Id: RB0007, | ||
Title: Invalid accessibility, | ||
MessageFormat: Invalid accessibility modifier: '{0}'. Valid values are 'internal' and 'public'., | ||
Category: RazorBlade, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
...ts.should_report_invalid_default_accessibility#TestNamespace.TestFile.Razor.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//HintName: TestNamespace.TestFile.Razor.g.cs | ||
#pragma checksum "./TestFile.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0" | ||
// <auto-generated/> | ||
#pragma warning disable 1591 | ||
namespace TestNamespace | ||
{ | ||
#line hidden | ||
#nullable restore | ||
internal partial class TestFile : global::RazorBlade.HtmlTemplate | ||
#nullable disable | ||
{ | ||
#pragma warning disable 1998 | ||
protected async override global::System.Threading.Tasks.Task ExecuteAsync() | ||
{ | ||
WriteLiteral("Hello"); | ||
} | ||
#pragma warning restore 1998 | ||
} | ||
} | ||
#pragma warning restore 1591 |
16 changes: 16 additions & 0 deletions
16
...s/RazorBladeSourceGeneratorTests.should_report_invalid_default_accessibility.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
Diagnostics: [ | ||
{ | ||
Message: Invalid accessibility modifier: 'foo'. Valid values are 'internal' and 'public'., | ||
Severity: Error, | ||
Descriptor: { | ||
Id: RB0007, | ||
Title: Invalid accessibility, | ||
MessageFormat: Invalid accessibility modifier: '{0}'. Valid values are 'internal' and 'public'., | ||
Category: RazorBlade, | ||
DefaultSeverity: Error, | ||
IsEnabledByDefault: true | ||
} | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
...eSourceGeneratorTests.should_set_accessibility#TestNamespace.TestFile.Razor.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//HintName: TestNamespace.TestFile.Razor.g.cs | ||
#pragma checksum "./TestFile.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0" | ||
// <auto-generated/> | ||
#pragma warning disable 1591 | ||
namespace TestNamespace | ||
{ | ||
#line hidden | ||
#nullable restore | ||
public partial class TestFile : global::RazorBlade.HtmlTemplate | ||
#nullable disable | ||
{ | ||
#pragma warning disable 1998 | ||
protected async override global::System.Threading.Tasks.Task ExecuteAsync() | ||
{ | ||
WriteLiteral("Hello"); | ||
} | ||
#pragma warning restore 1998 | ||
} | ||
} | ||
#pragma warning restore 1591 |
20 changes: 20 additions & 0 deletions
20
...eneratorTests.should_set_default_accessibility#TestNamespace.TestFile.Razor.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//HintName: TestNamespace.TestFile.Razor.g.cs | ||
#pragma checksum "./TestFile.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0" | ||
// <auto-generated/> | ||
#pragma warning disable 1591 | ||
namespace TestNamespace | ||
{ | ||
#line hidden | ||
#nullable restore | ||
public partial class TestFile : global::RazorBlade.HtmlTemplate | ||
#nullable disable | ||
{ | ||
#pragma warning disable 1998 | ||
protected async override global::System.Threading.Tasks.Task ExecuteAsync() | ||
{ | ||
WriteLiteral("Hello"); | ||
} | ||
#pragma warning restore 1998 | ||
} | ||
} | ||
#pragma warning restore 1591 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.