Fixed issue with repeated static fields in shader body

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-18 11:52:43 +02:00
1 親 aa4bd1506d
コミット 1879176bb5
3ファイル変更
+9 -6

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

+1 -1
ファイルの表示
@@ -43,7 +43,7 @@ namespace ComputeSharp.Shaders.Extensions
/// <param name="variable">The info on parsed static fields, if any</param>
/// <returns>A <see cref="SyntaxNode"/> instance that is compatible with HLSL</returns>
[Pure]
public static SyntaxNode ReplaceMember(this MemberAccessExpressionSyntax node, SemanticModel semanticModel, out (string name, FieldInfo FieldInfo)? variable)
public static SyntaxNode ReplaceMember(this MemberAccessExpressionSyntax node, SemanticModel semanticModel, out (string Name, FieldInfo FieldInfo)? variable)
{
SymbolInfo containingMemberSymbolInfo = semanticModel.GetSymbolInfo(node.Expression);
SymbolInfo memberSymbolInfo = semanticModel.GetSymbolInfo(node.Name);