Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiGibson committed May 29, 2024
1 parent 4887e18 commit ddafae4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ private static OneOrMany<INamedTypeSymbol> 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;

Expand Down

0 comments on commit ddafae4

Please sign in to comment.