| GetWindowsRuntimeBuffer method comparing to each other, 292 comparing with null, 291 setting to default value, 291
generic types, 265
constructing, 596
defining, 273
inheritance and, 274
out and ref parameters, 282 parameters, 266
reference, 269
type arguments, 266 type objects for, 272 using directive and, 276
generics
backwards compatibility, 270
benefits of, 267
constraints, 285
explicit declarations, 281 in and out keywords, 281 in FCL, 270
infrastructure of, 271 interface constraints and, 305 members and, 284
overview of, 265
performance gain with, 267, 268
verifiability, 284, 290
variance and, 280
GetAssemblyName method, 586
GetAsync method, 742
GetAvailableThreads method, 724
GetAwaiter method, 652, 738, 740
GetBaseException method, 703
GetByteArrayAsync method, 742, 770
GetBytes method, 353, 356, 658
GetCharCount method, 353, 356
GetChars method, 356
GetCustomAttribute method, 430, 431, 437
GetDecoder method, 356
GetDomain method, 562
GetEncoder method, 356
GetEncoding method, 352
GetEnumerator method, 820
GetEnumUnderlyingType method, 363
GetEnumValues method, 364
GetFileAsync method, 650
GetFormat method, 342, 347
GetGenericArguments method, 602
GetHashCode method, 142, 164, 238, 355
algorithms for, 143
overriding, 142
System.Object, 92
GetHttp method, 750
GetInvocationList method, 405
GetLowerBound method, 383
GetMaxByteCount method, 353
GetMaxCharCount method, 353
GetMaxThreads method, 724
GetMetaObject method, 148
GetMinThreads method, 724
GetNumericValue method, 318
GetObjectData method, 623, 626, 630, 635
ISerializationSurrogate interface, 637
GetParameters method, 602
GetPreamble method, 355
GetRealObject method, 635
GetRequestStreamAsync method, 742
GetResponseAsync method, 742
GetResult method, 738
GetRuntime function, 554
GetSingleton method, 809
GetStreamAsync method, 742
GetString method, 355
GetTextElementEnumerator method, 333
GetTotalMemory method, 524
GetType method, 93, 135, 591, 608 calling via nullable type, 448 overloads, 591
System.Object, 92
GetTypeInfo method, 592
GetUnderlyingType method, 363
GetUnicodeCategory method, 317
GetUninitializedObject method, 624, 628, 637
GetUpperBound method, 383
GetValue method, 364, 603
GetVersionInfo method, 54
GetWindowsRuntimeBuffer method, 658
global assembly cache (GAC)
global assembly cache (GAC). See GAC (global assembly cache)
globally deployed assemblies, 67, 72
GlobalMemoryStatusEx function, 550
graceful aborts, 577
GUI (graphical user interface) applications, 36
H
handle-recycling exploits, 531
handle tables, 545, 547
HandleCollector class, 539
handles, 529, 531
HasFlag method, 368
hash codes, 142
algorithms for, 143
persisting values, avoiding, 143 read-only property for, 238
hashes, 70
helper types, 169
hidden files
determining, 368 setting attribute for, 368
High priority class, 685
high surrogate code value, 333
host applications, retrieving threads, 578 Host SDK assemblies, 597
hosting, 553
CLR (Common Language Runtime), 554 hybrid constructs, 761, 789, 805
Barrier class, 805
CountdownEvent class, 804
in Framework Class Library (FCL), 793 hybrid locks, 790
ManualResetEventSlim class, 794
Monitor class, 794
OneManyLock class, 802
ReaderWriterLockSlim class, 800
SemaphoreSlim class, 794
sync blocks, 794
hybrid locks, 790
performance issues, 790
performance of, 793
with spinning, ownership, and recursion, 791 hyperthreaded CPUs, 677
I
IAsyncAction interfaces, 651
IAsyncOperation interface, 651, 652 IAsyncXxx method, conversion into Task
method, 654
IAsyncXxxWithProgress interfaces, 651
IBuffer interface, 656
IBufferByteAccess interface, 656, 658
IClosable interface, 648
ICLRMetaHost interface, 554 ICollection interface, arrays and, 381 IComparable interface, 298, 308
IConvertible interface, 319
IConvertible method, 310
IDisposable interface, 358, 533, 534, 648, 708 BlockingCollection class and, 821
Idle priority class, 685
Idle thread priority level, 687 IEnumerable interface, arrays and, 381 IFormatProvider
interface, 340, 341, 343, 344
parameter, 348
IFormattable interface, 340, 344
IFormatter interface, 614, 632 ignoring response files, 38 IInputStream interface, 655, 657 IL
code defined, 5
converting into CPU instructions, 104 intellectual property and, 19 verification and, 16
ILDasm.exe, 40, 259, 659
IList interface, arrays and, 381 implicit type casts, 114 implicitly typed arrays, 239, 376
with anonymous types, 377 implicitly typed local variables, 237
arrays and, 377
incomplete asynchronous operations, displaying, 738
Increment method, 791
IndexerName attribute, 245
indexers. See parameterful properties accessing, 245
accessor methods, 244
Date: 2016-03-03; view: 979
|