all groups > dotnet clr > january 2005 > threads for january 15 - 21, 2005
Filter by week: 1 2 3 4 5
Can I SET InitOnly(readonly) attribute in FieldInfo ??
Posted by Dmitri Sazonov at 1/21/2005 6:15:42 AM
Hi
I need to be able to pass const parameters to function.
And I'm using reflection to get class (which I will when
pass as parameter) and I'm using FieldInfo.SetValue to
set that's class fields.
So, best way to acheve constness, will be to set change
FieldAttributes of that field. I need ... more >>
CSC.EXE Compiler Error when /Lib switch have path with space
Posted by Pratik Mehta at 1/19/2005 1:17:06 AM
Hi Friends,
I am facing trouble with dynamically compiling C# source files. Here is the
example:
Following command works:
csc.exe /out:test.dll /target:library /r:system.dll,Infineon.FD.Repository.S
hared.dll
/lib:E:\Pratik\FD\SourceCode\RE_TB\GUI\REGUI\bin\Debug\RepositoryBin\
test.cs
... more >>
Method header alignment
Posted by mps at 1/18/2005 10:05:07 AM
According to Partition II (and several other documents) method headers are
supposed to be aligned. However, examining a hex dump of
System.Messaging.dll shows the following tiny method headers (Surrounded by
*'s).
0013300 00 00 00 00*36*02 28 2f 00 00 0a 03 6f 30 00 00
0013320 0a 2a*3a*02... more >>
GCHandles - are there any "special" GCHandle values?
Posted by Bern McCarty at 1/18/2005 9:12:58 AM
Currently, when I use a GCHandle member I declare another boolean member to record whether or not
the GCHandle is in an allocated state. I do this because I don't see anything in the documentation
anywhere that leads me to believe that you can avoid it. In order to know if a handle needs freeing
... more >>
Accessing GC section metrics
Posted by John Lemire at 1/17/2005 1:33:06 PM
Hi,
I would like to know if there is a way to access the section metrics to
programatically query the same data that sos reports via the eeheap -gc
command. I would like to access this from managed code ideally through the GC
class or the the System.Diagnostics class. Some what less ideal al... more >>
.data segments and accessing idividual bytes in bytearray declerat
Posted by James Moore at 1/16/2005 11:21:02 AM
Hi,
I am currently working on a compiler and generating order preserving perfect
minimal hashes, since the generated hash tables are availible at compile
time I have been trying to embed these into the data segment of my IL file
but when the test program is run I get the following exceptio... more >>
Threading and CPU Registers
Posted by herbert at 1/15/2005 11:25:02 PM
Is it true that CPU registers are not saved and restored on a switch between
threads of the same process?... more >>
|