Skip generating unnecessary using for constant buffer
このコミットが含まれているのは:
1 親
5bffcc4cb9
コミット
b88208a04a
2ファイル変更
+7
-2
検索条件に一致するファイルはありません
@@ -13,7 +13,7 @@ partial class CanvasEffect
|
||||
protected readonly ref struct EffectGraph
|
||||
{
|
||||
/// <summary>
|
||||
///The owning <see cref="CanvasEffect"/> instance.
|
||||
/// The owning <see cref="CanvasEffect"/> instance.
|
||||
/// </summary>
|
||||
private readonly CanvasEffect owner;
|
||||
|
||||
|
||||
+6
-1
@@ -51,9 +51,14 @@ partial class ConstantBufferSyntaxProcessor
|
||||
_ = usingDirectives.Add("global::System.CodeDom.Compiler");
|
||||
_ = usingDirectives.Add("global::System.Diagnostics");
|
||||
_ = usingDirectives.Add("global::System.Diagnostics.CodeAnalysis");
|
||||
_ = usingDirectives.Add("global::System.Runtime.CompilerServices");
|
||||
_ = usingDirectives.Add("global::System.Runtime.InteropServices");
|
||||
|
||||
// Only add this directive if the marshaller is also present, as it's only needed there
|
||||
if (!info.Fields.IsEmpty)
|
||||
{
|
||||
_ = usingDirectives.Add("global::System.Runtime.CompilerServices");
|
||||
}
|
||||
|
||||
// Declare the ConstantBuffer type
|
||||
static void ConstantBufferCallback(TInfo info, IndentedTextWriter writer)
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする