[w32handle] Stop returning 0 in every cases for locking/unlocking (#3926)
[mono.git] / mcs / tools / linker / Mono.Linker / AssemblyAction.cs
index 9d675f23e4af7eeeb500b860475ce98dcd010ffd..14282b376be1b1091e0481d5286606deedd8f170 100644 (file)
 namespace Mono.Linker {
 
        public enum AssemblyAction {
+               // Ignore the assembly
                Skip,
+               // Copy the existing files, assembly and symbols, into the output destination. E.g. .dll and .mdb
+               // The linker still analyze the assemblies (to know what they require) but does not modify them
                Copy,
-               Link
+               // Link the assembly
+               Link,
+               // Remove the assembly from the output
+               Delete,
+               // Save the assembly/symbols in memory without linking it. 
+               // E.g. useful to remove unneeded assembly references (as done in SweepStep), 
+               //  resolving [TypeForwardedTo] attributes (like PCL) to their final location
+               Save
        }
 }