From ddafae4f67c60b8a257a5f4cc8d647dcf6ffc946 Mon Sep 17 00:00:00 2001 From: Rikki Gibson Date: Wed, 29 May 2024 11:01:01 -0700 Subject: [PATCH] cleanup --- .../CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs | 1 - .../Compiler/Core/SymbolKey/SymbolKey.MethodSymbolKey.cs | 1 - .../Compiler/Core/Utilities/SymbolEquivalenceComparer.cs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/Compilers/CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs b/src/Compilers/CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs index 5c80c1f43abff..10b7050bbd0b3 100644 --- a/src/Compilers/CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs +++ b/src/Compilers/CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs @@ -2064,7 +2064,6 @@ private ParameterSymbol GetIndexerParameterSymbol( return null; } - // PROTOTYPE(partial-properties): do we need to grab the definition part a la 'GetMethodParameterSymbol' above? return GetParameterSymbol(property.Parameters, parameter, cancellationToken); } diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/SymbolKey/SymbolKey.MethodSymbolKey.cs b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/SymbolKey/SymbolKey.MethodSymbolKey.cs index 94d1fe1511986..785458b4296dc 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/SymbolKey/SymbolKey.MethodSymbolKey.cs +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/SymbolKey/SymbolKey.MethodSymbolKey.cs @@ -132,7 +132,6 @@ public sealed override void Create(IMethodSymbol symbol, SymbolKeyWriter visitor visitor.WriteString(symbol.MetadataName); visitor.WriteSymbolKey(symbol.ContainingSymbol); visitor.WriteInteger(symbol.Arity); - // PROTOTYPE(partial-properties): do properties need to indicate that they have a corresponding definition part? visitor.WriteBoolean(symbol.PartialDefinitionPart != null); visitor.WriteRefKindArray(symbol.Parameters); diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/SymbolEquivalenceComparer.cs b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/SymbolEquivalenceComparer.cs index 1e8a8417d1c2b..9a5192089d6a1 100644 --- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/SymbolEquivalenceComparer.cs +++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/SymbolEquivalenceComparer.cs @@ -211,7 +211,6 @@ private static OneOrMany Unwrap(INamedTypeSymbol namedType) return OneOrMany.Create(builder.ToImmutableAndClear()); } - // PROTOTYPE(partial-properties): review usages to see if we need similar helpers for properties private static bool IsPartialMethodDefinitionPart(IMethodSymbol symbol) => symbol.PartialImplementationPart != null;