Enabled XML docs.

This commit is contained in:
Mohammadreza Taikandi 2021-01-30 09:00:16 +00:00
parent 2a2f46def7
commit 34df045693
3 changed files with 12 additions and 1 deletions

View File

@ -20,6 +20,14 @@
<RootNamespace>MapTo</RootNamespace> <RootNamespace>MapTo</RootNamespace>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DocumentationFile>bin\Debug\MapTo.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DocumentationFile>bin\Release\MapTo.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(AssemblyName).Tests</_Parameter1> <_Parameter1>$(AssemblyName).Tests</_Parameter1>

View File

@ -7,6 +7,9 @@ using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace MapTo namespace MapTo
{ {
/// <summary>
/// MapTo source generator.
/// </summary>
[Generator] [Generator]
public class MapToGenerator : ISourceGenerator public class MapToGenerator : ISourceGenerator
{ {

View File

@ -4,7 +4,7 @@ using System.IO;
namespace MapTo.Sources namespace MapTo.Sources
{ {
public sealed class SourceBuilder : IDisposable internal sealed class SourceBuilder : IDisposable
{ {
private readonly StringWriter _writer; private readonly StringWriter _writer;
private readonly IndentedTextWriter _indentedWriter; private readonly IndentedTextWriter _indentedWriter;