bugDotGNU Portable.NET - Bugs: bug #9543, System.Runtime import strangeness

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9543: System.Runtime import strangeness

Submitted by:  None
Submitted on:  Sun 04 Jul 2004 02:50:47 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 19 Jul 2005 11:04:26 AM UTC, comment #1: 

This operation is correct.  The System class library does not contain the Runtime namespace, it is contained in the System.Runtime.InteropServices namespace.

Deryk Robosson <drobosson>
Project Member
Sun 04 Jul 2004 02:50:47 AM UTC, original submission:  

The following code does not compile ("`Runtime' is not a member of the namespace `System'") unless the "using" is uncommented.  cscc 0.6.7, compiled from CVS on June 26.

// uncomment this to allow this code to compile:
// using System.Runtime.CompilerServices;

public class Bug1 {
    public static void Main() {
        string version = System.Runtime.InteropServices.
            RuntimeEnvironment.GetSystemVersion();
    }
}

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-19 drobosson StatusNone => Wont Fix
    Open/ClosedOpen => Closed

Back to the top


Powered by Savane 3.5