-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge the two CachedEntityFactory classes
- Loading branch information
Showing
9 changed files
with
17 additions
and
40 deletions.
There are no files selected for viewing
19 changes: 0 additions & 19 deletions
19
csharp/extractor/Semmle.Extraction.CSharp/CachedEntityFactory.cs
This file was deleted.
Oops, something went wrong.
9 changes: 3 additions & 6 deletions
9
csharp/extractor/Semmle.Extraction.CSharp/Entities/Base/CachedEntityFactory.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 |
---|---|---|
@@ -1,13 +1,10 @@ | ||
namespace Semmle.Extraction | ||
namespace Semmle.Extraction.CSharp | ||
{ | ||
/// <summary> | ||
/// A factory for creating cached entities. | ||
/// </summary> | ||
public abstract class CachedEntityFactory<TInit, TEntity> where TEntity : Semmle.Extraction.CachedEntity | ||
public abstract class CachedEntityFactory<TInit, TEntity> where TEntity : CachedEntity | ||
{ | ||
/// <summary> | ||
/// Initializes the entity, but does not generate any trap code. | ||
/// </summary> | ||
public abstract TEntity Create(Semmle.Extraction.Context cx, TInit init); | ||
public abstract TEntity Create(Context cx, TInit init); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
csharp/extractor/Semmle.Extraction.CSharp/Entities/Base/CachedEntityFactoryExtensions.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
7 changes: 3 additions & 4 deletions
7
csharp/extractor/Semmle.Extraction.CSharp/Entities/Base/Entity.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
2 changes: 1 addition & 1 deletion
2
csharp/extractor/Semmle.Extraction.CSharp/Entities/Base/LabelledEntity.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
2 changes: 1 addition & 1 deletion
2
csharp/extractor/Semmle.Extraction.CSharp/Entities/CachedEntity.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
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