-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now tracking all assemblies for forwarded/exported types.
Resolves #342
- Loading branch information
1 parent
608ded7
commit bfd47cb
Showing
11 changed files
with
260 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#if SECOND | ||
using System.Runtime.CompilerServices; | ||
[assembly:TypeForwardedToAttribute(typeof(TheNamespace.TheClass))] | ||
#endif | ||
|
||
namespace TheNamespace | ||
{ | ||
#if FIRST | ||
public class TheClass | ||
{} | ||
#endif | ||
} |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Framework Name="One"> | ||
<Namespace Name="TheNamespace"> | ||
<Type Name="TheNamespace.TheClass" Id="T:TheNamespace.TheClass"> | ||
<Member Id="M:TheNamespace.TheClass.#ctor" /> | ||
</Type> | ||
</Namespace> | ||
</Framework> |
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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Framework Name="Two"> | ||
<Namespace Name="TheNamespace"> | ||
<Type Name="TheNamespace.TheClass" Id="T:TheNamespace.TheClass"> | ||
<Member Id="M:TheNamespace.TheClass.#ctor" /> | ||
</Type> | ||
</Namespace> | ||
</Framework> |
46 changes: 46 additions & 0 deletions
46
mdoc/Test/en.expected.typeForwards/TheNamespace/TheClass.xml
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,46 @@ | ||
<Type Name="TheClass" FullName="TheNamespace.TheClass"> | ||
<TypeSignature Language="C#" Value="public class TheClass" /> | ||
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TheClass extends System.Object" /> | ||
<AssemblyInfo> | ||
<AssemblyName>DocTest-typeForwards-First</AssemblyName> | ||
<AssemblyVersion>0.0.0.0</AssemblyVersion> | ||
</AssemblyInfo> | ||
<AssemblyInfo> | ||
<AssemblyName>DocTest-typeForwards-Second</AssemblyName> | ||
<AssemblyVersion>0.0.0.0</AssemblyVersion> | ||
</AssemblyInfo> | ||
<AssemblyInfo> | ||
<AssemblyName>DocTest-typeForwards-Second-First</AssemblyName> | ||
</AssemblyInfo> | ||
<Base> | ||
<BaseTypeName>System.Object</BaseTypeName> | ||
</Base> | ||
<Interfaces /> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<remarks>To be added.</remarks> | ||
</Docs> | ||
<Members> | ||
<Member MemberName=".ctor"> | ||
<MemberSignature Language="C#" Value="public TheClass ();" /> | ||
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> | ||
<MemberType>Constructor</MemberType> | ||
<AssemblyInfo> | ||
<AssemblyName>DocTest-typeForwards-First</AssemblyName> | ||
<AssemblyVersion>0.0.0.0</AssemblyVersion> | ||
</AssemblyInfo> | ||
<AssemblyInfo> | ||
<AssemblyName>DocTest-typeForwards-Second</AssemblyName> | ||
<AssemblyVersion>0.0.0.0</AssemblyVersion> | ||
</AssemblyInfo> | ||
<AssemblyInfo> | ||
<AssemblyName>DocTest-typeForwards-Second-First</AssemblyName> | ||
</AssemblyInfo> | ||
<Parameters /> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<remarks>To be added.</remarks> | ||
</Docs> | ||
</Member> | ||
</Members> | ||
</Type> |
Oops, something went wrong.