Skip to content

Commit

Permalink
Delete dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Aug 12, 2022
1 parent f0ef024 commit 44428bd
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 18 deletions.
Expand Up @@ -33,9 +33,6 @@ public CSharpAddParameterCheckCodeRefactoringProvider()
{
}

protected override ISyntaxFacts SyntaxFacts
=> CSharpSyntaxFacts.Instance;

protected override bool IsFunctionDeclaration(SyntaxNode node)
=> InitializeParameterHelpers.IsFunctionDeclaration(node);

Expand Down
Expand Up @@ -30,9 +30,6 @@ public CSharpInitializeMemberFromParameterCodeRefactoringProvider()
{
}

protected override ISyntaxFacts SyntaxFacts
=> CSharpSyntaxFacts.Instance;

protected override bool IsFunctionDeclaration(SyntaxNode node)
=> InitializeParameterHelpers.IsFunctionDeclaration(node);

Expand Down
Expand Up @@ -31,8 +31,6 @@ internal abstract partial class AbstractInitializeParameterCodeRefactoringProvid
where TStatementSyntax : SyntaxNode
where TExpressionSyntax : SyntaxNode
{
protected abstract ISyntaxFacts SyntaxFacts { get; }

protected abstract bool IsFunctionDeclaration(SyntaxNode node);
protected abstract bool IsImplicitConversion(Compilation compilation, ITypeSymbol source, ITypeSymbol destination);

Expand Down
Expand Up @@ -29,8 +29,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.InitializeParameter
Public Sub New()
End Sub

Protected Overrides ReadOnly Property SyntaxFacts As ISyntaxFacts = VisualBasicSyntaxFacts.Instance

Protected Overrides Function IsFunctionDeclaration(node As SyntaxNode) As Boolean
Return InitializeParameterHelpers.IsFunctionDeclaration(node)
End Function
Expand Down
Expand Up @@ -28,8 +28,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.InitializeParameter
Public Sub New()
End Sub

Protected Overrides ReadOnly Property SyntaxFacts As ISyntaxFacts = VisualBasicSyntaxFacts.Instance

Protected Overrides Function IsFunctionDeclaration(node As SyntaxNode) As Boolean
Return InitializeParameterHelpers.IsFunctionDeclaration(node)
End Function
Expand Down
Expand Up @@ -124,8 +124,6 @@ protected CSharpSyntaxKinds()

public int Attribute => (int)SyntaxKind.Attribute;
public int ClassDeclaration => (int)SyntaxKind.ClassDeclaration;
public int? RecordDeclaration => (int)SyntaxKind.RecordDeclaration;
public int? RecordStructDeclaration => (int)SyntaxKind.RecordStructDeclaration;
public int Parameter => (int)SyntaxKind.Parameter;
public int TypeConstraint => (int)SyntaxKind.TypeConstraint;
public int VariableDeclarator => (int)SyntaxKind.VariableDeclarator;
Expand Down
Expand Up @@ -175,8 +175,6 @@ internal interface ISyntaxKinds

int Attribute { get; }
int ClassDeclaration { get; }
int? RecordDeclaration { get; }
int? RecordStructDeclaration { get; }
int Parameter { get; }
int TypeConstraint { get; }
int VariableDeclarator { get; }
Expand Down
Expand Up @@ -128,8 +128,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageService

Public ReadOnly Property Attribute As Integer = SyntaxKind.Attribute Implements ISyntaxKinds.Attribute
Public ReadOnly Property ClassDeclaration As Integer = SyntaxKind.ClassBlock Implements ISyntaxKinds.ClassDeclaration
Public ReadOnly Property RecordDeclaration As Integer? Implements ISyntaxKinds.RecordDeclaration
Public ReadOnly Property RecordStructDeclaration As Integer? Implements ISyntaxKinds.RecordStructDeclaration
Public ReadOnly Property Parameter As Integer = SyntaxKind.Parameter Implements ISyntaxKinds.Parameter
Public ReadOnly Property TypeConstraint As Integer = SyntaxKind.TypeConstraint Implements ISyntaxKinds.TypeConstraint
Public ReadOnly Property VariableDeclarator As Integer = SyntaxKind.VariableDeclarator Implements ISyntaxKinds.VariableDeclarator
Expand Down

0 comments on commit 44428bd

Please sign in to comment.