Restore <TreatWarningsAsErrors> and fix warnings

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-20 16:48:18 +01:00
1 親 ec901922db
コミット d8a4a7412d
25ファイル変更
+49 -35

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

+4 -3
ファイルの表示
@@ -414,11 +414,12 @@ internal static class HlslKnownMembers
}
/// <summary>
/// Tries to get the mapped HLSL-compatible indexer vector type name for the input indexer name.
/// Tries to get the mapped rank and axis for a given indexer name.
/// </summary>
/// <param name="name">The input fully qualified indexer name.</param>
/// <param name="mapped">The mapped type name, if one is found.</param>
/// <returns>The HLSL-compatible type name that can be used in an HLSL shader for the given indexer.</returns>
/// <param name="rank">The resulting indexer rank, if found.</param>
/// <param name="axis">The resulting indexer axis, if found.</param>
/// <returns>Whether or not a rank and axis could be resolved by the input indexer name.</returns>
[Pure]
public static bool TryGetAccessorRankAndAxis(string name, out int rank, out int axis)
{
+2 -1
ファイルの表示
@@ -336,7 +336,8 @@ internal static class HlslKnownTypes
/// <summary>
/// Gets the mapped HLSL-compatible type name for the input type name.
/// </summary>
/// <param name="name">The input type name to map.</param>
/// <param name="originalName">The input type name to map.</param>
/// <param name="mappedName">The resulting mapped type name, if found.</param>
/// <returns>The HLSL-compatible type name that can be used in an HLSL shader.</returns>
public static bool TryGetMappedName(string originalName, out string? mappedName)
{