T

T destructor function, 257

!T finalization function, 257

tamper detection, public keys and, 54

templates, compilation models and, 170

text files, assemblies and, 50

TextReader class, 38

TextWriter class, 38

this pointer, 109, 265

ThreadAbortException, 270

throw exc, 42

throw statement, 41

thunks, 204

double thunking and, 219, 222 generic, 231

managed-to-unmanaged, 276 optimization and, 225 performance and, 223, 307-317 timing problem, finalization and, 260-266 .tlb files, 31 tools

AL.EXE, 58 CASPOL.EXE, 154 dumpbin.exe, 146 GACUtil.exe, 57

ILDASM, 50 MSBUILD, 32

performance monitors, 160 PEVerify.exe, 152 Reflector, 50 RegAsm.exe, 160 RegSvr32.exe, 160 SN.EXE, 54 XSD.EXE, 150 ToString method, 12 Enum structure, 78 Object class, 93 Type class, 60 Toub, Stephen, 273 tracking handles, 16

auto_handle helper template and, 136 delete operator and, 126 implicitly dereferenced variables and, 129 managed arrays of, 28 tracking references, 82 transitions managed-unmanaged, 203-232 overhead of, 223 trivial events, 105-114 try...catch construct, 40 try...finally construct, 42, 271, 273 Type class, 60, 63, 68 type identifiers, 17, 120 type information, 31. See also metadata type initialization, 86 type instantiation, 61 type members accessing dynamically, 64-66 consuming metadata for, 59-69 recommendations for, 250 runtime information about, 63 visibility and, 79-82 type system interoperability, 173-201 C structures and, 177-180 type definitions and, 188 typed collection classes, 100 typeid keyword, 60 TypeInitializationException class, 87 TypeLoadException, 97 types, consuming metadata for, 59-69 types names, 34

Was this article helpful?

0 0

Post a comment