Add support for parameter attributes (#48)

* 1

* 2

* 3

* .

* x
This commit is contained in:
Stef Heyenrath
2022-12-17 11:28:16 +01:00
committed by GitHub
parent 02c0c7f4d2
commit a1a283c8bb
17 changed files with 136 additions and 65 deletions
@@ -42,6 +42,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" PrivateAssets="all" />
<PackageReference Include="Polyfill.NET" Version="1.0.12">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<!--<ItemGroup>
@@ -55,9 +59,9 @@
</Compile>
</ItemGroup>
<ItemGroup>
<None Remove="bin\Release\netstandard2.0\\ProxyInterfaceSourceGenerator.dll" />
</ItemGroup>
<!--<ItemGroup>
<None Remove="bin\Debug\netstandard2.0\ProxyInterfaceSourceGenerator.dll" />
</ItemGroup>-->
<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
@@ -65,9 +69,9 @@
<!-- https://www.meziantou.net/declaring-internalsvisibleto-in-the-csproj.htm -->
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<!--<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>ProxyInterfaceSourceGeneratorTests</_Parameter1>
</AssemblyAttribute>
</AssemblyAttribute>-->
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>DynamicProxyGenAssembly2</_Parameter1>
</AssemblyAttribute>