-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AssemblyScanner improvements (#6814)
* Static assembly validator * Style ScannerConfiguration * Length instead of Any * PatternMatch * Adding range directly to let the collection grow by found files * Style IsMatch * Use pattern match and switch to Attribute.GetCustomAttribute because it is slightly faster * HashSet for contains * Style ScanningComponent * No longer do ToLowerInvariant * Remove Any * Materialize allowed types eagerly to make sure result types can grow in one go and the enumerator is not used * PublicKeyValidation * Remove algorithmic complexity of exclusion check * Better encapsulation * Better names * Remove unneeded comment * Encapsulate token extraction into validator * Tweaks * Better comment --------- Co-authored-by: Brandon Ording <[email protected]>
- Loading branch information
1 parent
0321ec8
commit 2a7f3cd
Showing
7 changed files
with
101 additions
and
138 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
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.