Minor tweaks, fix Core analyzer references
このコミットが含まれているのは:
1 親
59cd5a9ce3
コミット
b9a5807b55
17ファイル変更
+97
-48
検索条件に一致するファイルはありません
@@ -2,7 +2,7 @@
|
||||
using System.Reflection;
|
||||
using Microsoft.CodeAnalysis;
|
||||
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
namespace ComputeSharp.Core.SourceGenerators;
|
||||
|
||||
/// <summary>
|
||||
/// A source generator to create global using directives for the HLSL primitive types.
|
||||
@@ -15,7 +15,7 @@ public sealed class GlobalUsingDirectivesGenerator : IIncrementalGenerator
|
||||
{
|
||||
context.RegisterPostInitializationOutput(static context =>
|
||||
{
|
||||
const string filename = "ComputeSharp.SourceGenerators.EmbeddedResources.GlobalUsingDirectives.cs";
|
||||
const string filename = "ComputeSharp.Core.SourceGenerators.EmbeddedResources.GlobalUsingDirectives.cs";
|
||||
|
||||
using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(filename);
|
||||
using StreamReader reader = new(stream);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする