Skip to content

Commit 3152fea

Browse files
authored
fix: warnings not showing origin (#3)
* Initial version * Initial version * fix: warnings not showing origin * Minor updates
1 parent 2dec946 commit 3152fea

File tree

32 files changed

+52
-38
lines changed

32 files changed

+52
-38
lines changed

logo.png

67.7 KB
Loading

src/Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<PackageTags>system.reactive;splat;dependency injection</PackageTags>
1414
<PackageReleaseNotes>https://github.com/reactivemarbles/Splat.DI.SourceGenerator/releases</PackageReleaseNotes>
1515
<RepositoryUrl>https://github.com/reactivemarbles/Splat.DI.SourceGenerator</RepositoryUrl>
16-
<PackageIconUrl>https://github.com/reactiveui/styleguide/blob/master/logo_splat/logo.png?raw=true</PackageIconUrl>
1716
<RepositoryType>git</RepositoryType>
1817

1918
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
@@ -22,12 +21,17 @@
2221
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2322
<!-- Include PDB in the built .nupkg -->
2423
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
24+
<PackageIcon>logo.png</PackageIcon>
2525
</PropertyGroup>
2626

2727
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
2828
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
2929
</ItemGroup>
3030

31+
<ItemGroup>
32+
<None Include="$(MSBuildThisFileDirectory)..\logo.png" Pack="true" PackagePath="" />
33+
</ItemGroup>
34+
3135
<PropertyGroup>
3236
<SolutionDir Condition="'$(SolutionDir)' == ''">$(MSBuildThisFileDirectory)</SolutionDir>
3337
</PropertyGroup>

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionAndNonPublicPropertyInjectionFail_contractParameter=.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (22,58)-(22,61),
9-
MessageFormat: DependencyInjectionPropertyAttribute property must have a public or internal setter,
9+
MessageFormat: {0} property marked with DependencyInjectionPropertyAttribute must have a public or internal setter,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionAndNonPublicPropertyInjectionFail_contractParameter=Test1.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (22,58)-(22,61),
9-
MessageFormat: DependencyInjectionPropertyAttribute property must have a public or internal setter,
9+
MessageFormat: {0} property marked with DependencyInjectionPropertyAttribute must have a public or internal setter,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionAndNonPublicPropertyInjectionFail_contractParameter=Test2.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (22,58)-(22,61),
9-
MessageFormat: DependencyInjectionPropertyAttribute property must have a public or internal setter,
9+
MessageFormat: {0} property marked with DependencyInjectionPropertyAttribute must have a public or internal setter,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionAndNonPublicPropertySetterInjectionFail_contractParameter=.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (22,63)-(22,66),
9-
MessageFormat: DependencyInjectionPropertyAttribute property must have a public or internal setter,
9+
MessageFormat: {0} property marked with DependencyInjectionPropertyAttribute must have a public or internal setter,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionAndNonPublicPropertySetterInjectionFail_contractParameter=Test1.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (22,63)-(22,66),
9-
MessageFormat: DependencyInjectionPropertyAttribute property must have a public or internal setter,
9+
MessageFormat: {0} property marked with DependencyInjectionPropertyAttribute must have a public or internal setter,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionAndNonPublicPropertySetterInjectionFail_contractParameter=Test2.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (22,63)-(22,66),
9-
MessageFormat: DependencyInjectionPropertyAttribute property must have a public or internal setter,
9+
MessageFormat: {0} property marked with DependencyInjectionPropertyAttribute must have a public or internal setter,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.MultipleConstructorWithMultipleAttributesFail_contractParameter=.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (23,15)-(23,27),
9-
MessageFormat: One one constructor should be marked with the DependencyInjectionConstructorAttribute attribute,
9+
MessageFormat: {0} has multiple constructors marked with the DependencyInjectionConstructorAttribute attribute change so only one is marked,
1010
Category: Compiler
1111
}
1212
]

src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.MultipleConstructorWithMultipleAttributesFail_contractParameter=Test1.00.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Severity: Error,
77
WarningLevel: 0,
88
Location: : (23,15)-(23,27),
9-
MessageFormat: One one constructor should be marked with the DependencyInjectionConstructorAttribute attribute,
9+
MessageFormat: {0} has multiple constructors marked with the DependencyInjectionConstructorAttribute attribute change so only one is marked,
1010
Category: Compiler
1111
}
1212
]

0 commit comments

Comments
 (0)