-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from GeorgeAlexandria/vs_existing_classification
Append classification for types
- Loading branch information
Showing
76 changed files
with
1,280 additions
and
238 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
Tests/Identifiers/CSharpIdentifiers/Access/Types/ClassType.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,10 @@ | ||
namespace CSharpIdentifiers.Access.Types | ||
{ | ||
internal class ClassType | ||
{ | ||
private void Method() | ||
{ | ||
var value = new ClassType(); | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
Tests/Identifiers/CSharpIdentifiers/Access/Types/DelegateType.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,9 @@ | ||
namespace CSharpIdentifiers.Access.Types | ||
{ | ||
internal class DelegateType | ||
{ | ||
internal delegate void Handle(); | ||
|
||
public Handle Handler; | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Tests/Identifiers/CSharpIdentifiers/Access/Types/EnumType.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,11 @@ | ||
namespace CSharpIdentifiers.Access.Types | ||
{ | ||
internal class EnumType | ||
{ | ||
internal enum MyEnum | ||
{ | ||
} | ||
|
||
private readonly MyEnum value; | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Tests/Identifiers/CSharpIdentifiers/Access/Types/InterfaceType.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,11 @@ | ||
namespace CSharpIdentifiers.Access.Types | ||
{ | ||
internal interface IInterfaceType | ||
{ | ||
} | ||
|
||
internal class InterfaceType | ||
{ | ||
private readonly IInterfaceType value; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
Tests/Identifiers/CSharpIdentifiers/Access/Types/StructureType.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,10 @@ | ||
namespace CSharpIdentifiers.Access.Types | ||
{ | ||
internal struct StructureType | ||
{ | ||
private void Method() | ||
{ | ||
var value = new StructureType(); | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tests/Identifiers/CSharpIdentifiers/Access/Types/TypeParameter.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,7 @@ | ||
namespace CSharpIdentifiers.Access.Types | ||
{ | ||
internal class TypeParameter<TValue> where TValue : new() | ||
{ | ||
private TValue Value => new TValue(); | ||
} | ||
} |
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
6 changes: 6 additions & 0 deletions
6
Tests/Identifiers/CSharpIdentifiers/Declarations/Types/ClassType.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,6 @@ | ||
namespace CSharpIdentifiers.Declarations.Types | ||
{ | ||
internal class ClassType | ||
{ | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
Tests/Identifiers/CSharpIdentifiers/Declarations/Types/DelegateType.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,4 @@ | ||
namespace CSharpIdentifiers.Declarations.Types | ||
{ | ||
internal delegate void Handle(); | ||
} |
6 changes: 6 additions & 0 deletions
6
Tests/Identifiers/CSharpIdentifiers/Declarations/Types/EnumType.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,6 @@ | ||
namespace CSharpIdentifiers.Declarations.Types | ||
{ | ||
internal enum EnumType | ||
{ | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
Tests/Identifiers/CSharpIdentifiers/Declarations/Types/InterfaceType.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,6 @@ | ||
namespace CSharpIdentifiers.Declarations.Types | ||
{ | ||
internal interface InterfaceType | ||
{ | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
Tests/Identifiers/CSharpIdentifiers/Declarations/Types/StructureType.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,6 @@ | ||
namespace CSharpIdentifiers.Declarations.Types | ||
{ | ||
internal struct StructureType | ||
{ | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
Tests/Identifiers/CSharpIdentifiers/Declarations/Types/TypeParameter.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,9 @@ | ||
namespace CSharpIdentifiers.Declarations.Types | ||
{ | ||
internal class TypeParameter<TIn> | ||
{ | ||
public void Method<TOther>() | ||
{ | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/ClassType.vb
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,9 @@ | ||
Namespace Access.Types | ||
|
||
Public Class ClassType | ||
|
||
Public field As ClassType | ||
|
||
End Class | ||
|
||
End Namespace |
11 changes: 11 additions & 0 deletions
11
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/DelegateType.vb
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,11 @@ | ||
Namespace Access.Types | ||
|
||
Public Class DelegateType | ||
|
||
Public Delegate Sub Handle() | ||
|
||
Public field As Handle | ||
|
||
End Class | ||
|
||
End Namespace |
13 changes: 13 additions & 0 deletions
13
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/EnumType.vb
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,13 @@ | ||
Namespace Access.Types | ||
|
||
Public Class EnumType | ||
|
||
Public Enum MyEnum | ||
V | ||
End Enum | ||
|
||
Public field As MyEnum | ||
|
||
End Class | ||
|
||
End Namespace |
12 changes: 12 additions & 0 deletions
12
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/InterfaceType.vb
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 @@ | ||
Namespace Access.Types | ||
|
||
Public Class InterfaceType | ||
|
||
Public Interface IInterfaceType | ||
|
||
End Interface | ||
|
||
Public field As IInterfaceType | ||
End Class | ||
|
||
End Namespace |
11 changes: 11 additions & 0 deletions
11
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/ModuleType.vb
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,11 @@ | ||
Namespace Access.Types | ||
Public Module ModuleType | ||
|
||
Public field As Integer | ||
|
||
Sub Method() | ||
Dim value = ModuleType.field | ||
End Sub | ||
|
||
End Module | ||
End Namespace |
11 changes: 11 additions & 0 deletions
11
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/StructureType.vb
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,11 @@ | ||
Namespace Access.Types | ||
|
||
Public Structure StructureType | ||
|
||
Sub Method() | ||
Dim value = New StructureType() | ||
End Sub | ||
|
||
End Structure | ||
|
||
End Namespace |
7 changes: 7 additions & 0 deletions
7
Tests/Identifiers/VisualBasicIdentifiers/Access/Types/TypeParameter.vb
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,7 @@ | ||
Namespace Access.Types | ||
|
||
Public Class TypeParameter(Of TValue) | ||
Public fiedl As TValue | ||
End Class | ||
|
||
End Namespace |
3 changes: 3 additions & 0 deletions
3
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/ClassType.vb
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,3 @@ | ||
Public Class ClassType | ||
|
||
End Class |
1 change: 1 addition & 0 deletions
1
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/DelegateType.vb
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 @@ | ||
Public Delegate Sub DelegateType() |
3 changes: 3 additions & 0 deletions
3
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/EnumType.vb
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,3 @@ | ||
Public Enum EnumType | ||
V | ||
End Enum |
3 changes: 3 additions & 0 deletions
3
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/InterfaceType.vb
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,3 @@ | ||
Public Interface InterfaceType | ||
|
||
End Interface |
3 changes: 3 additions & 0 deletions
3
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/ModuleType.vb
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,3 @@ | ||
Module ModuleType | ||
|
||
End Module |
3 changes: 3 additions & 0 deletions
3
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/StructureType.vb
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,3 @@ | ||
Public Structure StructureType | ||
|
||
End Structure |
3 changes: 3 additions & 0 deletions
3
Tests/Identifiers/VisualBasicIdentifiers/Declarations/Types/TypeParameter.vb
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,3 @@ | ||
Public Class TypeParameter(Of TValue) | ||
|
||
End Class |
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
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
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
Oops, something went wrong.