More minor code style tweaks (remove extra blank lines, etc.)

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 8be9203a1c
コミット f2ed8a2d3b
22ファイル変更
+39 -38

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

+20 -20
ファイルの表示
@@ -26,26 +26,6 @@ internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter
/// </summary>
private static readonly char[] FloatLiteralSpecialCharacters = { '.', 'E' };
/// <summary>
/// The <see cref="SemanticModelProvider"/> instance with semantic info on the target syntax tree.
/// </summary>
protected readonly SemanticModelProvider SemanticModel;
/// <summary>
/// The collection of discovered custom types.
/// </summary>
protected readonly ICollection<INamedTypeSymbol> DiscoveredTypes;
/// <summary>
/// The collection of discovered constant definitions.
/// </summary>
protected readonly IDictionary<IFieldSymbol, string> ConstantDefinitions;
/// <summary>
/// The collection of produced <see cref="DiagnosticInfo"/> instances.
/// </summary>
protected readonly ImmutableArrayBuilder<DiagnosticInfo> Diagnostics;
/// <summary>
/// Creates a new <see cref="HlslSourceRewriter"/> instance with the specified parameters.
/// </summary>
@@ -65,6 +45,26 @@ internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter
Diagnostics = diagnostics;
}
/// <summary>
/// Gets the <see cref="SemanticModelProvider"/> instance with semantic info on the target syntax tree.
/// </summary>
protected SemanticModelProvider SemanticModel { get; }
/// <summary>
/// Gets the collection of discovered custom types.
/// </summary>
protected ICollection<INamedTypeSymbol> DiscoveredTypes { get; }
/// <summary>
/// Gets the collection of discovered constant definitions.
/// </summary>
protected IDictionary<IFieldSymbol, string> ConstantDefinitions { get; }
/// <summary>
/// Gets the collection of produced <see cref="DiagnosticInfo"/> instances.
/// </summary>
protected ImmutableArrayBuilder<DiagnosticInfo> Diagnostics { get; }
/// <inheritdoc/>
public override SyntaxNode VisitCastExpression(CastExpressionSyntax node)
{
-2
ファイルの表示
@@ -560,8 +560,6 @@ internal sealed partial class ShaderSourceRewriter : HlslSourceRewriter
return updatedNode;
}
/// <summary>
/// Rewrites a sampled texture access.
/// </summary>