This is a migrated thread and some comments may be shown as answers.

Warning: Type name does not match file name

1 Answer 113 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthias Bibo
Top achievements
Rank 1
Matthias Bibo asked on 28 Mar 2012, 04:57 PM

Hi,

the warning "Type name does not match file name" comes also on files with the syntax like this and we use the often in our project.

FileUploadHandler.ashx.cs

UserService.svc.cs 

It would be better if the scanning only recognizes the first dot, not the last, or?

1 Answer, 1 is accepted

Sort by
0
Stefan Avramov
Telerik team
answered on 02 Apr 2012, 04:54 PM
Hi,

Thanks for reporting. You are right - only file's prefix before the first dot should be considered. We logged this for fixing. You also receive some Telerik points.

Regards,
Stefan Avramov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Code Analysis
Asked by
Matthias Bibo
Top achievements
Rank 1
Answers by
Stefan Avramov
Telerik team
Share this question
or