UML
dynamic code generation, advantage of, 310
unboxing, IL, 81
Idind commands, 82
unchanging expressions, moving outside loops
JIT optimizations, 245
unconditional branches
programming IL, 35
unicode keyword
.class directive, 34
Unified Modelling Language, see UML.
unmanaged code
calling from managed code
performance issues, 264
calling unmanaged code DllImport attribute, 142
IJW, 141
Internal Call, 141
P/Invoke, 141
compared to managed code, 240
embedding binary data in assembly, 94
interoperability with managed code, 240
performance, 238
comparing languages, 240
referencing managed types problems, 151
sequential layout, advantage of using, 126
unmanaged keyword
.method directive, 113
unmanaged metadata API
DllImportAttribute class, 102
pseudo-custom attributes, 102
unmanaged pointers, 28
* pointer type, 28
managed heaps, locating, 126
managed type, using in, 151
unmanaged types, referencing, 151
unmanaged reflection API
disadvantages, 176
System.Reflection classes, compared to, 176
unmanaged resources
classes with managed and unmanaged resources, 226
cleaning up, 221
Dispose() method, 223
finalizers, 230
ObjectDisposedException, 224
Windows operating system, 222
unmanaged threads
compared to managed threads, 338
enumerating unmanaged threads, 343
unmanaged type
interoperability with managed type, 146
referencing managed types, 151–54
Unrestricted value
PermissionState enumeration, 481
unsafe code
care in using, 126
unsigned data types, 27
compared to signed data types, 27
unverifiable code
compile-time IL errors, 59
executing using SkipVerificatlon permission, 60
Update() method
Control class, 422
user errors
certificate security issues, 518
UseResources example, 282
user-Interface thread, 342