| Thread | Last Post | Replies |
|
| Compile assembly in runtime and execute in sandbox | 26 Feb 2005 09:22 GMT | 1 |
I'm trying to use C# as a script language for my .NET application. Users able to write a method (say, Foo(Myclass parameter)) Then in run time I'm wrapping this method into namespace code, compile into assembly signed with special key and execute.
|
| Copy constructor for structs. | 25 Feb 2005 17:38 GMT | 3 |
It is my understanding that structs are value types in .NET and are not passed by reference. However, if the struct contains objects, they will still be copied by reference. Is there any way to provide a copy constructor for a struct that will automatically clone any objects that ...
|
| branch constraints vs CIL validation | 25 Feb 2005 12:56 GMT | 1 |
I've read in ECMA that the CIL validation requires that the evaluation stack should be empty at any instruction following an unconditional branch (e.g. br). However, in the following example - accepted by the verifier !! - the
|
| Problem with retrieving documents for sequence points | 22 Feb 2005 21:56 GMT | 1 |
I got some troubles retrieving documents for sequence points in call to ISymUnmanagedMethod::GetSequencePoints. It returns valid offsets, lines and columns, but nulls for documents. I'm using this API from managed (C#) code via COM Interop. Actually
|
| Using Interlocked.Increment with a ThreadPool ? | 18 Feb 2005 17:25 GMT | 2 |
I'm trying to see how works the ThreadingPool : Dim iNumThread As Integer = 0 Sub Main() For i = 1 To 5
|
| Passing Parameters to Functions Performance | 15 Feb 2005 17:48 GMT | 3 |
I have recently read that passing parameters by value provides better performance then passing parameters by reference. Besides that I have also read that VB.NET does not
|
| Proposal: Default Parameters/Named Parameters | 15 Feb 2005 08:43 GMT | 17 |
Why doesn't C# allow default parameters for methods? An argument against I hear often is that the default parameters would have to be hardbaken into the assembly, but why? The Jit can take care of this, if the code is jitted the
|
| Primitive Type Definition | 14 Feb 2005 06:51 GMT | 10 |
All - Up till now (at least in my opinion) the definition of a primitive type has been at a language level. You can refer to this definition on msdn at ms-help://MS.NETFrameworkSDKv1.1/vblsnet/html/vblrfVBSpec6_2.htm
|
| initlocals must be set for verifiable methods with one or more local variables. | 12 Feb 2005 10:59 GMT | 3 |
When I use PEVERIFY on a DLL I get the following - This is just a snippet. Microsoft (R) .NET Framework PE Verifier Version 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
|
| How to get function enter/leave events on functions like Thread.Sleep | 11 Feb 2005 16:55 GMT | 1 |
Does anyone know wht function enter/leave events might be missing for the Thread.Sleep function? WBR, Oleg
|
| Urgent : Event Handling in Visual Studio Extensibility | 10 Feb 2005 05:01 GMT | 2 |
Hi Friends, I'm working with Visual Studio Add-Ins. Using Visual Studio Extensibility (EnvDTE) I have disabled the context-menu (right-click) mouse event of deleting a project item. But I'm unable to lock/disable the Keyboard events.
|
| Setting a .NET C# App to use Concurrent Workstation GC | 09 Feb 2005 20:06 GMT | 2 |
I have a .NET application written in C#. My understanding is that the default GC is the Workstation non-concurrent GC. I need predictability more than I need low latency and would like to know if that is the default and if so, how I can set my own application to use the
|
| Deriving from the Process class. | 09 Feb 2005 11:59 GMT | 3 |
I would like to associate an object derived from the System.Diagnostics.Process class with an existing process. Something like this: public class MyProcess : System.Diagnostics.Process
|
| Impersonate in ThreadPool | 09 Feb 2005 07:22 GMT | 2 |
I have an ASP.NET application that uses impersonate account to connect to DB, this works good. But in some cases I need to put some methods in ThreadPool. The methods from ThreadPool should do some foreground operations with DB. But .NET throws me the sql exception "Login failed for ...
|
| Calling a private base constructor from within a constructor in MSIL | 08 Feb 2005 08:17 GMT | 4 |
I am trying to implement proxies for a certain group of classes, using System.Reflection.Emit. Subclassing works fine as long as the base class have a non-private default constructor. Here is a part of my code:
|