SharpSource
1.26.0

명령 줄을 통해 설치하십시오.
Install-Package SharpSource또는 직접 참조를 추가하십시오.
< ItemGroup >
< PackageReference Include = " SharpSource " Version = " 1.26.0 " PrivateAssets = " All " />
</ ItemGroup >대신 확장자로 설치하려면 시장에서 다운로드하십시오.
이 repo는 일부 언어 기능과 프레임 워크 유형을보다 쉽게 작업 할 수 있도록하는 분석기 모음이 있습니다. 차선책 성능, 런타임 예외 또는 일반적인 의도하지 않은 동작을 초래하는 방식으로 잘못 사용될 때 강조하여이를 수행합니다.
다시 말해, 이 repo에는 결함 티켓으로 바꿀 구체적인 잠재력이있는 패턴에 대한 분석기 만 포함되어 있습니다 . 코드 포맷 또는 생산성 도우미를 제공하는 것과 같은 일반적인 하우스 키핑 작업을 돕기위한 것은 아닙니다.
기여에 관심이 있으십니까? 가이드 라인을 살펴보십시오!
각 분석기의 자세한 설명은 문서에서 확인할 수 있습니다 : https://github.com/vannevelj/sharpsource/tree/master/docs
| 암호 | 이름 |
|---|---|
| SS001 | Asyncmethodwithvoidreturntype |
| SS002 | DateTimenow |
| SS003 | DivideIntegerbyInteger |
| SS004 | 초등학교 메트로의 incollectionnotoverridden |
| SS005 | equalsandgethashcodenotimplementedtogether |
| SS006 | 던지는 |
| SS007 | flagsenumvaluesarenotpowersoftwo |
| SS008 | gethashcodereferstomutablemember |
| SS009 | 루프 란드도 신사 |
| SS010 | Newguid |
| SS011 | OnPropertyChangedWithOutNameOfOperator |
| SS012 | recursiveoperatoroverload |
| SS013 | RethrowException을 사용하여 lospingStacktrace |
| SS014 | stringDotFormatwithDifferentAmountOfarguments |
| SS015 | stringplaceholdersinwrongorder |
| SS017 | 구조적으로 제외하고 제조 된 |
| SS018 | Switchdoesnothandleallenumoptions |
| SS019 | switchismissingDefaultLabel |
| SS020 | publicModifier를 사용하여 TestMethod |
| SS021 | testattattribute와 함께 testmethod |
| SS022 | ExceptionThrownfromipplicitoPerator |
| SS023 | ExceptionThrownfrompropertygetter |
| SS024 | ExceptionThrownfromStaticconstructor |
| SS025 | exceredthrownfromfinallyBlock |
| SS026 | ExceptionThrownfromeQualityOperator |
| SS027 | Exceptionthrownfromdispose |
| SS028 | 예외적 인 fromfinalizer |
| SS029 | ExceptionthrownfromgethashCode |
| SS030 | Exceptionthrownfromequals |
| SS032 | strids sleepinasyncmethod |
| SS033 | Asyncoverloadsavailable |
| SS034 | Accessingtaskresultwithoutawait |
| SS035 | 동기 주식 |
| SS036 | 명시 적 펌프 |
| SS037 | httpclientinstantatiatedivery |
| SS038 | httpcontextStoredInfield |
| SS039 | enumwithoutdefaultValue |
| SS040 | 사용하지 않는 resultonimmutableObject |
| SS041 | 불필요한 umerAbleAtiatialization |
| SS042 | instancefieldwiththreadStatic |
| SS043 | 다중 프롬 바디 파라미터 |
| SS044 | AttributeMustSpecifyAttributionUsage |
| SS045 | 정적 신경화 AccessedBeforeinitialization |
| SS046 | Unboundedstackalloc |
| SS047 | linqtraversalbeforefilter |
| SS048 | 잠금 장치 |
| SS049 | ComparingStringswithoutStringScomparison |
| SS050 | ParameterAssignedEndinctructor |
| SS051 | LockingonMutableReference |
| SS052 | ThreadStaticWithinitializer |
| SS053 | stoptresscollectionToString |
| SS054 | NewTonsoftMixedWithSystemTextJson |
| SS055 | MultipleAderByCalls |
| SS056 | formreadsynhronously |
| SS057 | CollectionManipulatedDuringTraversal |
| SS058 | StringCancatenatedInloop |
| SS059 | 폐기 동기화 가능 |
| SS060 | ConcurrentDictionaryEmptyCheck |
특별한 규칙이 당신의 취향에 맞지 않습니까? 심각도를 조정하고 심지어는 모두 비활성화하는 방법에는 여러 가지가 있습니다. 일부 옵션에 대한 개요는이 문서를 확인하십시오.