-
Notifications
You must be signed in to change notification settings - Fork 130
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 #524 from Washi1337/development
5.5.1
- Loading branch information
Showing
59 changed files
with
541 additions
and
183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ x64/ | |
build/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
artifacts/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<Copyright>Copyright © Washi 2016-2023</Copyright> | ||
<Copyright>Copyright © Washi 2016-2024</Copyright> | ||
<PackageProjectUrl>https://github.com/Washi1337/AsmResolver</PackageProjectUrl> | ||
<PackageLicense>https://github.com/Washi1337/AsmResolver/LICENSE.md</PackageLicense> | ||
<RepositoryUrl>https://github.com/Washi1337/AsmResolver</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<LangVersion>10</LangVersion> | ||
<Version>5.5.0</Version> | ||
<Version>5.5.1</Version> | ||
<Deterministic>true</Deterministic> | ||
<UseArtifactsOutput>true</UseArtifactsOutput> | ||
</PropertyGroup> | ||
|
||
</Project> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using AsmResolver.Collections; | ||
|
||
namespace AsmResolver.DotNet.Collections | ||
{ | ||
/// <summary> | ||
/// Represents an indexed member collection where each member is owned by some object, and prevents the member from | ||
/// being added to any other instance of the collection. | ||
/// </summary> | ||
/// <typeparam name="TOwner">The type of the owner object.</typeparam> | ||
/// <typeparam name="TMember">The type of elements to store.</typeparam> | ||
public class MemberCollection<TOwner, TMember> : OwnedCollection<TOwner, TMember> | ||
where TOwner : class | ||
where TMember : class, IOwnedCollectionElement<TOwner> | ||
{ | ||
internal MemberCollection(TOwner owner) | ||
: base(owner) | ||
{ | ||
} | ||
|
||
internal MemberCollection(TOwner owner, int capacity) | ||
: base(owner, capacity) | ||
{ | ||
} | ||
|
||
internal void AddNoOwnerCheck(TMember member) | ||
{ | ||
member.Owner = Owner; | ||
Items.Add(member); | ||
} | ||
} | ||
} |
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.