Skip to content

Commit

Permalink
fixed missing types link generation (fix #18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraku committed May 30, 2020
1 parent 12612ea commit 6cdcc6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
</PropertyGroup>

<PropertyGroup Label="Package">
<Version>0.6.6</Version>
<Version>0.6.7</Version>
<PackageReleaseNotes>
fixed pointer member handling
fixed ValueTuple member handling
fixed missing types link generation
</PackageReleaseNotes>
</PropertyGroup>
</Project>
1 change: 1 addition & 0 deletions source/DefaultDocumentation/DocumentationWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ string HandleTupleType(TupleType tupleType)
TypeKind.TypeParameter => _mainItem.TryGetTypeParameterDocItem(type.Name, out TypeParameterDocItem typeParameter) ? GetInnerLink(typeParameter) : type.Name,
TypeKind.Dynamic => "[dynamic](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/using-type-dynamic 'dynamic')",
TypeKind.Tuple when type is TupleType tupleType => HandleTupleType(tupleType),
TypeKind.Unknown => type.FullName.AsDotNetApiLink(),
_ when type is ParameterizedType genericType => HandleParameterizedType(genericType),
_ => GetLink(type.GetDefinition().GetIdString())
};
Expand Down

0 comments on commit 6cdcc6a

Please sign in to comment.