-
Notifications
You must be signed in to change notification settings - Fork 122
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
Showing
24 changed files
with
169 additions
and
169 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions
22
Src/ILGPU.Analyzers.Tests/Snapshots/ManagedTypeAnalyzer.FileTests_file=Arrays.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,22 @@ | ||
[ | ||
{ | ||
Id: ILA004, | ||
Title: Array of managed types in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (29,25)-(29,42), | ||
MessageFormat: Type '{0}' is an array of type '{1}', which is a managed type. Arrays of managed types cannot be used in kernels., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Arrays.RefType[]' is an array of type 'ILGPU.Analyzers.Tests.Programs.RefType.Arrays.RefType', which is a managed type. Arrays of managed types cannot be used in kernels., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (29,27)-(29,40), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Arrays.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
} | ||
] |
12 changes: 12 additions & 0 deletions
12
Src/ILGPU.Analyzers.Tests/Snapshots/ManagedTypeAnalyzer.FileTests_file=Complex.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,12 @@ | ||
[ | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (40,22)-(40,35), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.ManagedUnmanaged.Managed' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
} | ||
] |
12 changes: 12 additions & 0 deletions
12
...PU.Analyzers.Tests/Snapshots/ManagedTypeAnalyzer.FileTests_file=Constructors.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,12 @@ | ||
[ | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (17,20)-(17,33), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Constructors.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
} | ||
] |
32 changes: 32 additions & 0 deletions
32
...ILGPU.Analyzers.Tests/Snapshots/ManagedTypeAnalyzer.FileTests_file=Functions.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,32 @@ | ||
[ | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (20,27)-(20,40), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (14,27)-(14,40), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (32,15)-(32,28), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
} | ||
] |
62 changes: 62 additions & 0 deletions
62
...U.Analyzers.Tests/Snapshots/ManagedTypeAnalyzer.FileTests_file=LoadDiscovery.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,62 @@ | ||
[ | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (14,21)-(14,34), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (19,21)-(19,34), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (24,21)-(24,34), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (29,21)-(29,34), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (34,21)-(34,34), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (39,21)-(39,34), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Functions.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
} | ||
] |
22 changes: 22 additions & 0 deletions
22
Src/ILGPU.Analyzers.Tests/Snapshots/ManagedTypeAnalyzer.FileTests_file=Simple.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,22 @@ | ||
[ | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (13,22)-(13,35), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Simple.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
}, | ||
{ | ||
Id: ILA003, | ||
Title: Managed type in kernel, | ||
Severity: Warning, | ||
WarningLevel: 1, | ||
Location: : (14,38)-(14,45), | ||
MessageFormat: Type '{0}' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Message: Type 'ILGPU.Analyzers.Tests.Programs.RefType.Simple.RefType' is a managed type. Managed types like classes cannot be used in kernels, except for arrays of unmanaged types., | ||
Category: Usage | ||
} | ||
] |
22 changes: 0 additions & 22 deletions
22
Src/ILGPU.Analyzers.Tests/Snapshots/RefTypeAnalyzer.FileTests_file=Arrays.verified.txt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
Src/ILGPU.Analyzers.Tests/Snapshots/RefTypeAnalyzer.FileTests_file=Constructors.verified.txt
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
Src/ILGPU.Analyzers.Tests/Snapshots/RefTypeAnalyzer.FileTests_file=Functions.verified.txt
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
...ILGPU.Analyzers.Tests/Snapshots/RefTypeAnalyzer.FileTests_file=LoadDiscovery.verified.txt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...PU.Analyzers.Tests/Snapshots/RefTypeAnalyzer.FileTests_file=ManagedUnmanaged.verified.txt
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
Src/ILGPU.Analyzers.Tests/Snapshots/RefTypeAnalyzer.FileTests_file=Simple.verified.txt
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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
File renamed without changes.
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