Moved internal types to ComputeSharp.__Internals

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-29 23:54:05 +01:00
1 親 a97f5f1176
コミット 0f129b2f8b
6ファイル変更
+8 -3

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -5,7 +5,7 @@ using System.Diagnostics.Contracts;
using System.Linq;
using System.Reflection;
namespace ComputeSharp
namespace ComputeSharp.__Internals
{
/// <summary>
/// An attribute that contains info on a processed compute shader that can be executed.
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ using System.Reflection;
using ComputeSharp.Core.Extensions;
using ComputeSharp.Exceptions;
namespace ComputeSharp
namespace ComputeSharp.__Internals
{
/// <summary>
/// An attribute that contains info on a processed shader method that can be executed within a shader.
+1
ファイルの表示
@@ -1,6 +1,7 @@
using System;
using System.Diagnostics.Contracts;
using System.Text;
using ComputeSharp.__Internals;
using ComputeSharp.Core.Extensions;
#pragma warning disable CS0618
+1
ファイルの表示
@@ -4,6 +4,7 @@ using System.Diagnostics.Contracts;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ComputeSharp.__Internals;
using ComputeSharp.Shaders.Mappings;
using ComputeSharp.Shaders.Renderer.Models;
using Microsoft.Toolkit.Diagnostics;
+3 -1
ファイルの表示
@@ -3,6 +3,7 @@ using System.Collections.Immutable;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using ComputeSharp.__Internals;
using ComputeSharp.SourceGenerators.Extensions;
using ComputeSharp.SourceGenerators.Mappings;
using ComputeSharp.SourceGenerators.SyntaxRewriters;
@@ -81,7 +82,8 @@ namespace ComputeSharp.SourceGenerators
// Create the compilation unit with the source attribute
var source =
CompilationUnit().AddAttributeLists(
CompilationUnit().AddUsings(
UsingDirective(IdentifierName("ComputeSharp.__Internals"))).AddAttributeLists(
AttributeList(SingletonSeparatedList(
Attribute(IdentifierName(typeof(IComputeShaderSourceAttribute).FullName)).AddArgumentListArguments(
AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(structDeclarationSymbol.GetFullMetadataName()))),
+1
ファイルの表示
@@ -3,6 +3,7 @@ using System.Collections.Immutable;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using ComputeSharp.__Internals;
using ComputeSharp.SourceGenerators.Extensions;
using ComputeSharp.SourceGenerators.SyntaxRewriters;
using Microsoft.CodeAnalysis;