Changeset 1199
- Timestamp:
- 9/28/2009 7:33:09 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/eraser6/Eraser.fxcop (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser6/Eraser.fxcop
r1158 r1199 56 56 <Settings /> 57 57 </Rules> 58 <FxCopReport Version="1.36" LastAnalysis="2009-0 7-03 10:46:36Z">58 <FxCopReport Version="1.36" LastAnalysis="2009-09-28 06:30:14Z"> 59 59 <Namespaces> 60 60 <Namespace Name="Eraser.Unlocker"> … … 313 313 <Messages> 314 314 <Message TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Created="2009-05-01 03:14:45Z"> 315 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line=" 1048">315 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line="848"> 316 316 <Item>'DirectExecutor.DirectExecutor()'</Item> 317 317 <Item>

DirectExecutor..ctor()
Executor.set_TaskAdded(EventHandler<TaskEventArgs>):Void
Executor.set_TaskDeleted(EventHandler<TaskEventArgs>):Void
Executor.set_Tasks(ExecutorTasksCollection):Void</Item> … … 323 323 <Messages> 324 324 <Message TypeName="DoNotCastUnnecessarily" Category="Microsoft.Performance" CheckId="CA1800" Created="2009-05-01 03:14:45Z"> 325 <Issue Name="Parameter" Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line=" 976">325 <Issue Name="Parameter" Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line="791"> 326 326 <Item>'target'</Item> 327 327 <Item>'FolderTarget'</Item> … … 335 335 <Messages> 336 336 <Message TypeName="DoNotCatchGeneralExceptionTypes" Category="Microsoft.Design" CheckId="CA1031" Status="Excluded" Created="2009-05-01 03:14:45Z"> 337 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line="2 67">337 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line="271"> 338 338 <Item>'DirectExecutor.Main()'</Item> 339 339 <Item>'Exception'</Item> 340 340 </Issue> 341 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line="2 76">341 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="DirectExecutor.cs" Line="284"> 342 342 <Item>'DirectExecutor.Main()'</Item> 343 343 <Item>'Exception'</Item> … … 369 369 <Type Name="ErasureMethod"> 370 370 <Members> 371 <Member Name="#Erase(System.IO.Stream,System.Int64,Eraser.Manager.Prng,Eraser.Manager.Eras erMethodProgressFunction)">372 <Messages> 373 <Message Id="Erase" TypeName="IdentifiersShouldNotMatchKeywords" Category="Microsoft.Naming" CheckId="CA1716" Status="Excluded" Created="2009-0 5-01 04:19:08Z">371 <Member Name="#Erase(System.IO.Stream,System.Int64,Eraser.Manager.Prng,Eraser.Manager.ErasureMethodProgressFunction)"> 372 <Messages> 373 <Message Id="Erase" TypeName="IdentifiersShouldNotMatchKeywords" Category="Microsoft.Naming" CheckId="CA1716" Status="Excluded" Created="2009-09-28 06:25:17Z"> 374 374 <Issue Name="Member"> 375 <Item>'ErasureMethod.Erase(Stream, long, Prng, Eras erMethodProgressFunction)'</Item>375 <Item>'ErasureMethod.Erase(Stream, long, Prng, ErasureMethodProgressFunction)'</Item> 376 376 <Item>Erase</Item> 377 377 </Issue> 378 378 <Notes> 379 379 <User Name="Joel"> 380 <Note Id="1 " />380 <Note Id="19" /> 381 381 </User> 382 382 </Notes> … … 412 412 <Messages> 413 413 <Message TypeName="DoNotRaiseExceptionsInUnexpectedLocations" Category="Microsoft.Design" CheckId="CA1065" Created="2009-07-03 06:55:12Z" FixCategory="Breaking"> 414 <Issue Name="PropertyGetter" Level="Warning" Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Task.cs" Line=" 296">414 <Issue Name="PropertyGetter" Level="Warning" Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Task.cs" Line="309"> 415 415 <Item>'ErasureTarget.Method.get()'</Item> 416 416 <Item>'NotImplementedException'</Item> … … 462 462 <Messages> 463 463 <Message Id="1#" TypeName="AvoidOutParameters" Category="Microsoft.Design" CheckId="CA1021" Created="2009-05-01 03:23:16Z"> 464 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Task.cs" Line="3 84">464 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Task.cs" Line="397"> 465 465 <Item>'totalSize'</Item> 466 466 </Issue> … … 492 492 <Messages> 493 493 <Message TypeName="CollectionPropertiesShouldBeReadOnly" Category="Microsoft.Usage" CheckId="CA2227" Created="2009-05-01 03:14:45Z"> 494 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Settings.cs" Line="3 39">494 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Settings.cs" Line="319"> 495 495 <Item>'ManagerSettings.PlausibleDeniabilityFiles'</Item> 496 496 </Issue> 497 497 </Message> 498 498 <Message TypeName="DoNotExposeGenericLists" Category="Microsoft.Design" CheckId="CA1002" Created="2009-05-01 03:14:45Z"> 499 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Settings.cs" Line="3 39">499 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Settings.cs" Line="319"> 500 500 <Item>'List<string>'</Item> 501 501 <Item>'ManagerSettings.PlausibleDeniabilityFiles'</Item> … … 507 507 <Messages> 508 508 <Message TypeName="CollectionPropertiesShouldBeReadOnly" Category="Microsoft.Usage" CheckId="CA2227" Created="2009-05-01 03:14:45Z"> 509 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Settings.cs" Line="4 72">509 <Issue Path="D:\Development\Projects\Eraser\Eraser.Manager" File="Settings.cs" Line="452"> 510 510 <Item>'ManagerSettings.PluginApprovals'</Item> 511 511 </Issue> … … 553 553 <Type Name="Schedule"> 554 554 <Members> 555 <Member Name="#RunManually"> 556 <Messages> 557 <Message TypeName="DoNotDeclareReadOnlyMutableReferenceTypes" Category="Microsoft.Security" CheckId="CA2104" Status="Excluded" Created="2009-07-06 08:09:06Z"> 558 <Issue> 559 <Item>'Schedule.RunManually'</Item> 560 <Item>'Schedule'</Item> 561 </Issue> 562 <Notes> 563 <User Name="Joel"> 564 <Note Id="18" /> 565 </User> 566 </Notes> 567 </Message> 568 </Messages> 569 </Member> 555 570 <Member Name="#RunNow"> 556 571 <Messages> … … 614 629 <Member Name="#Close()"> 615 630 <Messages> 616 <Message Id="<Module>.CloseHandle(System.Void*)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Created="2009-06-02 07:31:56Z">631 <Message Id="<Module>.CloseHandle(System.Void*)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Status="Excluded" Created="2009-06-02 07:31:56Z"> 617 632 <Issue Name="HResultOrErrorCode" Path="d:\development\projects\eraser\eraser.unlocker" File="eraser.unlocker.cpp" Line="133"> 618 633 <Item>'OpenHandle.Close()'</Item> … … 623 638 <Item>'<Module>.CloseHandle(void*)'</Item> 624 639 </Issue> 640 <Notes> 641 <User Name="Joel"> 642 <Note Id="21" /> 643 </User> 644 </Notes> 625 645 </Message> 626 646 <Message Id="<Module>.DuplicateHandle(System.Void*,System.Void*,System.Void*,System.Void**,optional(System.Runtime.CompilerServices.IsLong) System.UInt32,System.Int32,optional(System.Runtime.CompilerServices.IsLong) System.UInt32)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Status="Excluded" Created="2009-06-02 07:31:56Z"> … … 639 659 <Member Name="#ResolveHandlePath(System.IntPtr,System.Int32)"> 640 660 <Messages> 641 <Message Id="<Module>.CloseHandle(System.Void*)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Created="2009-06-02 07:31:56Z">642 <Issue Name="HResultOrErrorCode" Path="d:\development\projects\eraser\eraser.unlocker" File="eraser.unlocker.cpp" Line="88">643 <Item>'OpenHandle.ResolveHandlePath(IntPtr, int)'</Item>644 <Item>'<Module>.CloseHandle(void*)'</Item>645 </Issue>646 <Issue Name="HResultOrErrorCode" Path="d:\development\projects\eraser\eraser.unlocker" File="eraser.unlocker.cpp" Line="107">647 <Item>'OpenHandle.ResolveHandlePath(IntPtr, int)'</Item>648 <Item>'<Module>.CloseHandle(void*)'</Item>649 </Issue>650 </Message>651 661 <Message Id="<Module>.ReleaseSemaphore(System.Void*,optional(System.Runtime.CompilerServices.IsLong) System.Int32,System.optional(IsLong) Int32*)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Created="2009-06-02 07:31:56Z"> 652 662 <Issue Name="HResultOrErrorCode" Path="d:\development\projects\eraser\eraser.unlocker" File="eraser.unlocker.cpp" Line="97"> … … 654 664 <Item>'<Module>.ReleaseSemaphore(void*, int, int*)'</Item> 655 665 </Issue> 666 </Message> 667 <Message Id="<Module>.CloseHandle(System.Void*)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Status="Excluded" Created="2009-06-02 07:31:56Z"> 668 <Issue Name="HResultOrErrorCode" Path="d:\development\projects\eraser\eraser.unlocker" File="eraser.unlocker.cpp" Line="88"> 669 <Item>'OpenHandle.ResolveHandlePath(IntPtr, int)'</Item> 670 <Item>'<Module>.CloseHandle(void*)'</Item> 671 </Issue> 672 <Issue Name="HResultOrErrorCode" Path="d:\development\projects\eraser\eraser.unlocker" File="eraser.unlocker.cpp" Line="107"> 673 <Item>'OpenHandle.ResolveHandlePath(IntPtr, int)'</Item> 674 <Item>'<Module>.CloseHandle(void*)'</Item> 675 </Issue> 676 <Notes> 677 <User Name="Joel"> 678 <Note Id="20" /> 679 </User> 680 </Notes> 656 681 </Message> 657 682 <Message Id="<Module>.DuplicateHandle(System.Void*,System.Void*,System.Void*,System.Void**,optional(System.Runtime.CompilerServices.IsLong) System.UInt32,System.Int32,optional(System.Runtime.CompilerServices.IsLong) System.UInt32)" TypeName="DoNotIgnoreMethodResults" Category="Microsoft.Usage" CheckId="CA1806" Status="Excluded" Created="2009-06-02 07:31:56Z"> … … 766 791 <User Name="Joel"> 767 792 <Note Id="0" Modified="2009-06-02 07:18:16Z">All fields are relevant</Note> 768 <Note Id="1" Modified="2009-06-02 07:18:44Z">No better alternative</Note>769 793 <Note Id="2" Modified="2009-06-02 07:18:57Z">Build metadata</Note> 770 794 <Note Id="3" Modified="2009-06-02 07:19:19Z">Used to force creation of window handle</Note> … … 783 807 <Note Id="16" Modified="2009-06-02 07:36:03Z">Unlocker is our assembly name, hence a proper noun</Note> 784 808 <Note Id="17" Modified="2009-07-03 07:02:50Z">Can't think of a better exception to use</Note> 809 <Note Id="18" Modified="2009-07-06 08:09:47Z">Already is immutable</Note> 810 <Note Id="19" Modified="2009-09-28 06:26:12Z">There seems to be no suitable alternative.</Note> 811 <Note Id="20" Modified="2009-09-28 06:28:24Z">If CloseHandle fails, there's nothing we can do.</Note> 812 <Note Id="21" Modified="2009-09-28 06:29:02Z">If CloseHandle fails we cannot do anything to recover our state.</Note> 785 813 </User> 786 814 </Notes>
Note: See TracChangeset
for help on using the changeset viewer.
