mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Add PreferOtherTypeAttribute, analyzer, and test. * nullable enable * Add nuget package for CodeFix verifier * Add fixer for PreferOtherType * Rename arguments * Adjust diagnostic message * Move attribute lookup
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<ItemGroup>
|
|
<!-- Needed for NotNullableFlagAnalyzer. -->
|
|
<Compile Include="..\Robust.Shared\Analyzers\NotNullableFlagAttribute.cs" LinkBase="Implementations" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Needed for FriendAnalyzer. -->
|
|
<Compile Include="..\Robust.Shared\Analyzers\AccessAttribute.cs" LinkBase="Implementations" />
|
|
<Compile Include="..\Robust.Shared\Analyzers\AccessPermissions.cs" LinkBase="Implementations" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Needed for PreferGenericVariantAnalyzer. -->
|
|
<Compile Include="..\Robust.Shared\Analyzers\PreferGenericVariantAttribute.cs" LinkBase="Implementations" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Needed for PreferNonGenericVariantAnalyzer. -->
|
|
<Compile Include="..\Robust.Shared\Analyzers\PreferNonGenericVariantForAttribute.cs" LinkBase="Implementations" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Needed for PreferOtherTypeAnalyzer. -->
|
|
<Compile Include="..\Robust.Shared\Analyzers\PreferOtherTypeAttribute.cs" LinkBase="Implementations" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Needed for DataDefinitionAnalyzer. -->
|
|
<Compile Include="..\Robust.Shared\Serialization\Manager\Definition\DataDefinitionUtility.cs" LinkBase="Implementations" />
|
|
<Compile Include="..\Robust.Shared\ViewVariables\ViewVariablesAttribute.cs" LinkBase="Implementations" />
|
|
<Compile Include="..\Robust.Shared\Serialization\NetSerializableAttribute.cs" LinkBase="Implementations" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="../Robust.Roslyn.Shared/Robust.Roslyn.Shared.props" />
|
|
|
|
<PropertyGroup>
|
|
<Nullable>disable</Nullable>
|
|
<!--
|
|
Rider seems to get really confused with hot reload if we directly compile in the above-linked classes.
|
|
As such, they have an #if to change their namespace in this project.
|
|
-->
|
|
<DefineConstants>$(DefineConstants);ROBUST_ANALYZERS_IMPL</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|