Skip to content

Commit 5ed6afa

Browse files
committed
Remove unused (and incorrect) method
1 parent 2f59501 commit 5ed6afa

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

OpenStackNetAnalyzers/OpenStackNetAnalyzers/DocumentDelegatingApiCallCodeFix.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -252,23 +252,5 @@ private async Task<INamedTypeSymbol> GetServiceInterfaceAsync(CodeFixContext con
252252

253253
return null;
254254
}
255-
256-
private bool IsServiceInterface(SemanticModel semanticModel, INamedTypeSymbol symbol)
257-
{
258-
while (symbol != null && symbol.SpecialType != SpecialType.System_Object)
259-
{
260-
if (symbol.IsGenericType)
261-
{
262-
var originalDefinition = symbol.OriginalDefinition;
263-
string fullyQualifiedName = originalDefinition.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat);
264-
if (string.Equals("global::OpenStack.Net.DelegatingHttpApiCall<T>", fullyQualifiedName, StringComparison.Ordinal))
265-
return true;
266-
}
267-
268-
symbol = symbol.BaseType;
269-
}
270-
271-
return false;
272-
}
273255
}
274256
}

0 commit comments

Comments
 (0)