Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. VS2010 C# intellisense crash - reproduce and confirm

VS2010 C# intellisense crash - reproduce and confirm

Scheduled Pinned Locked Moved The Lounge
csharpc++visual-studiohelpsharepoint
17 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Mike Nakis

    Can anyone please reproduce and confirm this? Create a new project, make it a C# console application, use all default settings. Open the generated "Program.cs" file and replace its contents with the following:

    namespace ConsoleApplication1
    {
    public class ParameterAttribute: System.Attribute
    {
    }

    class Program
    {
        \[Parameter( name:"name1" )\]
        int Field1;
    
        static void Main( string\[\] args )
        {
        }
    }
    

    }

    I know, there is an error in the code. Please bear with me. Just do the following: move the mouse pointer over the word "name" in the code, and click. In other words, place the caret in "name". Does anything happen? Cause when I do that, Visual Studio 2010 disappears without even saying good bye. It panic-quits. More information: I am on Win7 x64 SP1, and this is what I get from Visual Studio / Help / About / Copy Info:

    Microsoft Visual Studio 2010
    Version 10.0.40219.1 SP1Rel
    Microsoft .NET Framework
    Version 4.5.50709 SP1Rel

    Installed Version: Ultimate

    Microsoft Visual C# 2010 01019-532-2002102-70075
    Microsoft Visual C# 2010

    Microsoft Visual C++ 2010 01019-532-2002102-70075
    Microsoft Visual C++ 2010

    Microsoft Visual F# 2010 01019-532-2002102-70075
    Microsoft Visual F# 2010

    Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70075
    Microsoft Visual Studio 2010 Architecture and Modeling Tools

    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70075
    Microsoft Visual Studio 2010 Code Analysis Spell Checker

    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

    Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70075
    Microsoft Visual Studio 2010 Team Explorer

    Microsoft Visual Web Developer 2010 01019-532-2002102-70075
    Microsoft Visual Web Developer 2010

    Crystal Reports Templates for Microsoft Visual Studio 2010
    Crystal Reports Templates for Microsoft Visual Studio 2010

    Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219

    _ Offline
    _ Offline
    _Damian S_
    wrote on last edited by
    #2

    Ohhhhhhhh hope you are wearing your asbestos pants... this looks suspiciously like a programming question in the lounge!!

    Quad skating his way through the world since the early 80's... Booger Mobile - My bright green 1964 Ford Falcon - check out the blog here!! | If you feel generous - make a donation to Camp Quality!!

    M 1 Reply Last reply
    0
    • _ _Damian S_

      Ohhhhhhhh hope you are wearing your asbestos pants... this looks suspiciously like a programming question in the lounge!!

      Quad skating his way through the world since the early 80's... Booger Mobile - My bright green 1964 Ford Falcon - check out the blog here!! | If you feel generous - make a donation to Camp Quality!!

      M Offline
      M Offline
      Mike Nakis
      wrote on last edited by
      #3

      No, it is not a programming question, it is an incitement for a technical discussion, which, according to the launge rules, is not only allowed, but encouraged even.

      L 1 Reply Last reply
      0
      • M Mike Nakis

        No, it is not a programming question, it is an incitement for a technical discussion, which, according to the launge rules, is not only allowed, but encouraged even.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #4

        There is a forum for Visual Studio questions, and this is not it.

        Use the best guess

        M 1 Reply Last reply
        0
        • M Mike Nakis

          Can anyone please reproduce and confirm this? Create a new project, make it a C# console application, use all default settings. Open the generated "Program.cs" file and replace its contents with the following:

          namespace ConsoleApplication1
          {
          public class ParameterAttribute: System.Attribute
          {
          }

          class Program
          {
              \[Parameter( name:"name1" )\]
              int Field1;
          
              static void Main( string\[\] args )
              {
              }
          }
          

          }

          I know, there is an error in the code. Please bear with me. Just do the following: move the mouse pointer over the word "name" in the code, and click. In other words, place the caret in "name". Does anything happen? Cause when I do that, Visual Studio 2010 disappears without even saying good bye. It panic-quits. More information: I am on Win7 x64 SP1, and this is what I get from Visual Studio / Help / About / Copy Info:

          Microsoft Visual Studio 2010
          Version 10.0.40219.1 SP1Rel
          Microsoft .NET Framework
          Version 4.5.50709 SP1Rel

          Installed Version: Ultimate

          Microsoft Visual C# 2010 01019-532-2002102-70075
          Microsoft Visual C# 2010

          Microsoft Visual C++ 2010 01019-532-2002102-70075
          Microsoft Visual C++ 2010

          Microsoft Visual F# 2010 01019-532-2002102-70075
          Microsoft Visual F# 2010

          Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70075
          Microsoft Visual Studio 2010 Architecture and Modeling Tools

          UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

          Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70075
          Microsoft Visual Studio 2010 Code Analysis Spell Checker

          Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

          The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

          Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70075
          Microsoft Visual Studio 2010 Team Explorer

          Microsoft Visual Web Developer 2010 01019-532-2002102-70075
          Microsoft Visual Web Developer 2010

          Crystal Reports Templates for Microsoft Visual Studio 2010
          Crystal Reports Templates for Microsoft Visual Studio 2010

          Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #5

          Worked ok for me: New instance VS2010, (Pro, V 10.0.40219.1 SP1Rel) "About" Info:

          Microsoft Visual Studio 2010
          Version 10.0.40219.1 SP1Rel
          Microsoft .NET Framework
          Version 4.5.50709 SP1Rel

          Installed Version: Professional

          Microsoft Office Developer Tools 01018-532-2002102-70650
          Microsoft Office Developer Tools

          Microsoft Visual Basic 2010 01018-532-2002102-70650
          Microsoft Visual Basic 2010

          Microsoft Visual C# 2010 01018-532-2002102-70650
          Microsoft Visual C# 2010

          Microsoft Visual C++ 2010 01018-532-2002102-70650
          Microsoft Visual C++ 2010

          Microsoft Visual F# 2010 01018-532-2002102-70650
          Microsoft Visual F# 2010

          Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70650
          Microsoft Visual Studio 2010 Team Explorer

          Microsoft Visual Web Developer 2010 01018-532-2002102-70650
          Microsoft Visual Web Developer 2010

          Add Reference Dialog Plus! 1.0
          An significantly enhanced Add Reference dialog for managed code projects.

          AlignAssignments 1.0
          Command for aligning assignments.

          Collapse Selected Nodes in Solution Explorer 1.0
          Recursively collapses selected nodes in the Solution Explorer tool window.

          Crystal Reports Templates for Microsoft Visual Studio 2010
          Crystal Reports Templates for Microsoft Visual Studio 2010

          Document Well 2010 Plus 1.0.10916.0
          This package provides configurable behavior for the Document Well and its tabs. Please be sure to let us know what you like/dislike about this extension.

          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927) KB2529927
          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
          For more information, visit http://support.microsoft.com/kb/2529927.

          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2542054) KB2542054
          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
          For more information, visit http://support.microsoft.com/kb/2542054.

          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139) KB2548139
          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
          For more information, visit http://support.microsoft.com/kb/2548139.

          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864) KB254

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          M 2 Replies Last reply
          0
          • L Lost User

            There is a forum for Visual Studio questions, and this is not it.

            Use the best guess

            M Offline
            M Offline
            Mike Nakis
            wrote on last edited by
            #6

            Uh-oh, I did not see that. In this case I hope someone will move it there.

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Worked ok for me: New instance VS2010, (Pro, V 10.0.40219.1 SP1Rel) "About" Info:

              Microsoft Visual Studio 2010
              Version 10.0.40219.1 SP1Rel
              Microsoft .NET Framework
              Version 4.5.50709 SP1Rel

              Installed Version: Professional

              Microsoft Office Developer Tools 01018-532-2002102-70650
              Microsoft Office Developer Tools

              Microsoft Visual Basic 2010 01018-532-2002102-70650
              Microsoft Visual Basic 2010

              Microsoft Visual C# 2010 01018-532-2002102-70650
              Microsoft Visual C# 2010

              Microsoft Visual C++ 2010 01018-532-2002102-70650
              Microsoft Visual C++ 2010

              Microsoft Visual F# 2010 01018-532-2002102-70650
              Microsoft Visual F# 2010

              Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70650
              Microsoft Visual Studio 2010 Team Explorer

              Microsoft Visual Web Developer 2010 01018-532-2002102-70650
              Microsoft Visual Web Developer 2010

              Add Reference Dialog Plus! 1.0
              An significantly enhanced Add Reference dialog for managed code projects.

              AlignAssignments 1.0
              Command for aligning assignments.

              Collapse Selected Nodes in Solution Explorer 1.0
              Recursively collapses selected nodes in the Solution Explorer tool window.

              Crystal Reports Templates for Microsoft Visual Studio 2010
              Crystal Reports Templates for Microsoft Visual Studio 2010

              Document Well 2010 Plus 1.0.10916.0
              This package provides configurable behavior for the Document Well and its tabs. Please be sure to let us know what you like/dislike about this extension.

              Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927) KB2529927
              This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
              If you later install a more recent service pack, this hotfix will be uninstalled automatically.
              For more information, visit http://support.microsoft.com/kb/2529927.

              Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2542054) KB2542054
              This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
              If you later install a more recent service pack, this hotfix will be uninstalled automatically.
              For more information, visit http://support.microsoft.com/kb/2542054.

              Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139) KB2548139
              This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
              If you later install a more recent service pack, this hotfix will be uninstalled automatically.
              For more information, visit http://support.microsoft.com/kb/2548139.

              Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864) KB254

              M Offline
              M Offline
              Mike Nakis
              wrote on last edited by
              #7

              Thank you very much. It looks like I should be installing all those updates!

              1 Reply Last reply
              0
              • M Mike Nakis

                Can anyone please reproduce and confirm this? Create a new project, make it a C# console application, use all default settings. Open the generated "Program.cs" file and replace its contents with the following:

                namespace ConsoleApplication1
                {
                public class ParameterAttribute: System.Attribute
                {
                }

                class Program
                {
                    \[Parameter( name:"name1" )\]
                    int Field1;
                
                    static void Main( string\[\] args )
                    {
                    }
                }
                

                }

                I know, there is an error in the code. Please bear with me. Just do the following: move the mouse pointer over the word "name" in the code, and click. In other words, place the caret in "name". Does anything happen? Cause when I do that, Visual Studio 2010 disappears without even saying good bye. It panic-quits. More information: I am on Win7 x64 SP1, and this is what I get from Visual Studio / Help / About / Copy Info:

                Microsoft Visual Studio 2010
                Version 10.0.40219.1 SP1Rel
                Microsoft .NET Framework
                Version 4.5.50709 SP1Rel

                Installed Version: Ultimate

                Microsoft Visual C# 2010 01019-532-2002102-70075
                Microsoft Visual C# 2010

                Microsoft Visual C++ 2010 01019-532-2002102-70075
                Microsoft Visual C++ 2010

                Microsoft Visual F# 2010 01019-532-2002102-70075
                Microsoft Visual F# 2010

                Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70075
                Microsoft Visual Studio 2010 Architecture and Modeling Tools

                UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

                Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70075
                Microsoft Visual Studio 2010 Code Analysis Spell Checker

                Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

                The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

                Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70075
                Microsoft Visual Studio 2010 Team Explorer

                Microsoft Visual Web Developer 2010 01019-532-2002102-70075
                Microsoft Visual Web Developer 2010

                Crystal Reports Templates for Microsoft Visual Studio 2010
                Crystal Reports Templates for Microsoft Visual Studio 2010

                Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219

                P Offline
                P Offline
                Prerak Patel
                wrote on last edited by
                #8

                Crashed - Debug info

                System.AccessViolationException was unhandled
                HResult=-2147467261
                Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
                Source=Microsoft.VisualStudio.CSharp.Services.Language
                StackTrace:
                at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.RefactoringInterop.Refactoring_FindSourceDefinitionsAndDetermineSymbolFromParseTree(Handle compilationScope, IRefactorProgressUI progressUI, IntPtr refNodePointer, NamedSymbolKind& definitionKind, String& rqName, String& RQNameForParameterFromOtherPartialMethod, String& assemblyName, String[]& namespaceDefiningAssemblies, Handle& anonymousTypePropertyRefOwner, IntPtr& anonymousTypePropertyRefPointer, Int32& hasExternalVisibility, String[]& sourceLocationFilenames, IntPtr[]& sourceLocationOwners, IntPtr[]& sourceLocationNodePointers, Int32[]& anonymousTypePropertyReferenceToSelf)
                at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.RefactoringInterop.FindSourceDefinitionsAndDetermineSymbolFromParseTree(IDECompilation compilation, IRefactorProgressUI progressUI, ParseTreeNode parseTreeNode)
                at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.IDENamedSymbolSearcherBase.DetermineSymbolBase(Compilation compilation, SourceFile sourceFile, ParseTreeNode node, List`1& candidateStringSet, NamedSymbol& namedSymbol)
                at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.HighlightReferenceSymbolSearcher.DetermineSymbol(Compilation compilation, SourceFile sourceFile, ParseTreeNode node)
                at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.ManagedHighlightReferences.<>c__DisplayClass15.b__d()
                at System.Threading.Tasks.Task`1.InnerInvoke()
                at System.Threading.Tasks.Task.Execute()
                at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
                at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
                at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
                at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
                at System.Threading.Threa

                M 1 Reply Last reply
                0
                • M Mike Nakis

                  Can anyone please reproduce and confirm this? Create a new project, make it a C# console application, use all default settings. Open the generated "Program.cs" file and replace its contents with the following:

                  namespace ConsoleApplication1
                  {
                  public class ParameterAttribute: System.Attribute
                  {
                  }

                  class Program
                  {
                      \[Parameter( name:"name1" )\]
                      int Field1;
                  
                      static void Main( string\[\] args )
                      {
                      }
                  }
                  

                  }

                  I know, there is an error in the code. Please bear with me. Just do the following: move the mouse pointer over the word "name" in the code, and click. In other words, place the caret in "name". Does anything happen? Cause when I do that, Visual Studio 2010 disappears without even saying good bye. It panic-quits. More information: I am on Win7 x64 SP1, and this is what I get from Visual Studio / Help / About / Copy Info:

                  Microsoft Visual Studio 2010
                  Version 10.0.40219.1 SP1Rel
                  Microsoft .NET Framework
                  Version 4.5.50709 SP1Rel

                  Installed Version: Ultimate

                  Microsoft Visual C# 2010 01019-532-2002102-70075
                  Microsoft Visual C# 2010

                  Microsoft Visual C++ 2010 01019-532-2002102-70075
                  Microsoft Visual C++ 2010

                  Microsoft Visual F# 2010 01019-532-2002102-70075
                  Microsoft Visual F# 2010

                  Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70075
                  Microsoft Visual Studio 2010 Architecture and Modeling Tools

                  UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

                  Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70075
                  Microsoft Visual Studio 2010 Code Analysis Spell Checker

                  Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

                  The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

                  Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70075
                  Microsoft Visual Studio 2010 Team Explorer

                  Microsoft Visual Web Developer 2010 01019-532-2002102-70075
                  Microsoft Visual Web Developer 2010

                  Crystal Reports Templates for Microsoft Visual Studio 2010
                  Crystal Reports Templates for Microsoft Visual Studio 2010

                  Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #9

                  Confirmed. The space before "name" was crucial and I had to edit it back in, so you may get some false negatives.

                  Microsoft Visual Studio 2010
                  Version 10.0.40219.1 SP1Rel
                  Microsoft .NET Framework
                  Version 4.0.30319 SP1Rel

                  Installed Version: Professional

                  Microsoft Visual C# 2010 01018-532-2002102-70106
                  Microsoft Visual C# 2010

                  Microsoft Visual C++ 2010 01018-532-2002102-70106
                  Microsoft Visual C++ 2010

                  Microsoft Visual F# 2010 01018-532-2002102-70106
                  Microsoft Visual F# 2010

                  Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70106
                  Microsoft Visual Studio 2010 Team Explorer

                  Coco/R 1.0
                  This plugin enables the use of Coco/R inside Visual Studio 2010

                  Crystal Reports Templates for Microsoft Visual Studio 2010
                  Crystal Reports Templates for Microsoft Visual Studio 2010

                  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927) KB2529927
                  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                  For more information, visit http://support.microsoft.com/kb/2529927.

                  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139) KB2548139
                  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                  For more information, visit http://support.microsoft.com/kb/2548139.

                  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864) KB2549864
                  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                  For more information, visit http://support.microsoft.com/kb/2549864.

                  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2565057) KB2565057
                  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                  For more information, visit http://support.microsoft.com/kb/2565057.

                  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2635973) KB2635973
                  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                  For more information, visit http://support.microsoft.com/kb/2635973.

                  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2736182) KB2736182
                  This hotfix is for Mic

                  M 2 Replies Last reply
                  0
                  • P Prerak Patel

                    Crashed - Debug info

                    System.AccessViolationException was unhandled
                    HResult=-2147467261
                    Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
                    Source=Microsoft.VisualStudio.CSharp.Services.Language
                    StackTrace:
                    at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.RefactoringInterop.Refactoring_FindSourceDefinitionsAndDetermineSymbolFromParseTree(Handle compilationScope, IRefactorProgressUI progressUI, IntPtr refNodePointer, NamedSymbolKind& definitionKind, String& rqName, String& RQNameForParameterFromOtherPartialMethod, String& assemblyName, String[]& namespaceDefiningAssemblies, Handle& anonymousTypePropertyRefOwner, IntPtr& anonymousTypePropertyRefPointer, Int32& hasExternalVisibility, String[]& sourceLocationFilenames, IntPtr[]& sourceLocationOwners, IntPtr[]& sourceLocationNodePointers, Int32[]& anonymousTypePropertyReferenceToSelf)
                    at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.RefactoringInterop.FindSourceDefinitionsAndDetermineSymbolFromParseTree(IDECompilation compilation, IRefactorProgressUI progressUI, ParseTreeNode parseTreeNode)
                    at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.IDENamedSymbolSearcherBase.DetermineSymbolBase(Compilation compilation, SourceFile sourceFile, ParseTreeNode node, List`1& candidateStringSet, NamedSymbol& namedSymbol)
                    at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.HighlightReferenceSymbolSearcher.DetermineSymbol(Compilation compilation, SourceFile sourceFile, ParseTreeNode node)
                    at Microsoft.VisualStudio.CSharp.Services.Language.Refactoring.ManagedHighlightReferences.<>c__DisplayClass15.b__d()
                    at System.Threading.Tasks.Task`1.InnerInvoke()
                    at System.Threading.Tasks.Task.Execute()
                    at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
                    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
                    at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
                    at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
                    at System.Threading.Threa

                    M Offline
                    M Offline
                    Mike Nakis
                    wrote on last edited by
                    #10

                    Thank you very much!

                    1 Reply Last reply
                    0
                    • L Lost User

                      Confirmed. The space before "name" was crucial and I had to edit it back in, so you may get some false negatives.

                      Microsoft Visual Studio 2010
                      Version 10.0.40219.1 SP1Rel
                      Microsoft .NET Framework
                      Version 4.0.30319 SP1Rel

                      Installed Version: Professional

                      Microsoft Visual C# 2010 01018-532-2002102-70106
                      Microsoft Visual C# 2010

                      Microsoft Visual C++ 2010 01018-532-2002102-70106
                      Microsoft Visual C++ 2010

                      Microsoft Visual F# 2010 01018-532-2002102-70106
                      Microsoft Visual F# 2010

                      Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70106
                      Microsoft Visual Studio 2010 Team Explorer

                      Coco/R 1.0
                      This plugin enables the use of Coco/R inside Visual Studio 2010

                      Crystal Reports Templates for Microsoft Visual Studio 2010
                      Crystal Reports Templates for Microsoft Visual Studio 2010

                      Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927) KB2529927
                      This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                      If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                      For more information, visit http://support.microsoft.com/kb/2529927.

                      Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139) KB2548139
                      This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                      If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                      For more information, visit http://support.microsoft.com/kb/2548139.

                      Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864) KB2549864
                      This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                      If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                      For more information, visit http://support.microsoft.com/kb/2549864.

                      Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2565057) KB2565057
                      This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                      If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                      For more information, visit http://support.microsoft.com/kb/2565057.

                      Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2635973) KB2635973
                      This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                      If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                      For more information, visit http://support.microsoft.com/kb/2635973.

                      Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2736182) KB2736182
                      This hotfix is for Mic

                      M Offline
                      M Offline
                      Mike Nakis
                      wrote on last edited by
                      #11

                      Thank you very much!

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Worked ok for me: New instance VS2010, (Pro, V 10.0.40219.1 SP1Rel) "About" Info:

                        Microsoft Visual Studio 2010
                        Version 10.0.40219.1 SP1Rel
                        Microsoft .NET Framework
                        Version 4.5.50709 SP1Rel

                        Installed Version: Professional

                        Microsoft Office Developer Tools 01018-532-2002102-70650
                        Microsoft Office Developer Tools

                        Microsoft Visual Basic 2010 01018-532-2002102-70650
                        Microsoft Visual Basic 2010

                        Microsoft Visual C# 2010 01018-532-2002102-70650
                        Microsoft Visual C# 2010

                        Microsoft Visual C++ 2010 01018-532-2002102-70650
                        Microsoft Visual C++ 2010

                        Microsoft Visual F# 2010 01018-532-2002102-70650
                        Microsoft Visual F# 2010

                        Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70650
                        Microsoft Visual Studio 2010 Team Explorer

                        Microsoft Visual Web Developer 2010 01018-532-2002102-70650
                        Microsoft Visual Web Developer 2010

                        Add Reference Dialog Plus! 1.0
                        An significantly enhanced Add Reference dialog for managed code projects.

                        AlignAssignments 1.0
                        Command for aligning assignments.

                        Collapse Selected Nodes in Solution Explorer 1.0
                        Recursively collapses selected nodes in the Solution Explorer tool window.

                        Crystal Reports Templates for Microsoft Visual Studio 2010
                        Crystal Reports Templates for Microsoft Visual Studio 2010

                        Document Well 2010 Plus 1.0.10916.0
                        This package provides configurable behavior for the Document Well and its tabs. Please be sure to let us know what you like/dislike about this extension.

                        Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927) KB2529927
                        This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                        If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                        For more information, visit http://support.microsoft.com/kb/2529927.

                        Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2542054) KB2542054
                        This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                        If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                        For more information, visit http://support.microsoft.com/kb/2542054.

                        Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139) KB2548139
                        This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                        If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                        For more information, visit http://support.microsoft.com/kb/2548139.

                        Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864) KB254

                        M Offline
                        M Offline
                        Mike Nakis
                        wrote on last edited by
                        #12

                        Harold aptroot wrote further down: "Confirmed. The space before "name" was crucial and I had to edit it back in, so you may get some false negatives." So, did you try it with, or without a space before "name" ?

                        OriginalGriffO 2 Replies Last reply
                        0
                        • L Lost User

                          Confirmed. The space before "name" was crucial and I had to edit it back in, so you may get some false negatives.

                          Microsoft Visual Studio 2010
                          Version 10.0.40219.1 SP1Rel
                          Microsoft .NET Framework
                          Version 4.0.30319 SP1Rel

                          Installed Version: Professional

                          Microsoft Visual C# 2010 01018-532-2002102-70106
                          Microsoft Visual C# 2010

                          Microsoft Visual C++ 2010 01018-532-2002102-70106
                          Microsoft Visual C++ 2010

                          Microsoft Visual F# 2010 01018-532-2002102-70106
                          Microsoft Visual F# 2010

                          Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70106
                          Microsoft Visual Studio 2010 Team Explorer

                          Coco/R 1.0
                          This plugin enables the use of Coco/R inside Visual Studio 2010

                          Crystal Reports Templates for Microsoft Visual Studio 2010
                          Crystal Reports Templates for Microsoft Visual Studio 2010

                          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927) KB2529927
                          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                          For more information, visit http://support.microsoft.com/kb/2529927.

                          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139) KB2548139
                          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                          For more information, visit http://support.microsoft.com/kb/2548139.

                          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864) KB2549864
                          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                          For more information, visit http://support.microsoft.com/kb/2549864.

                          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2565057) KB2565057
                          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                          For more information, visit http://support.microsoft.com/kb/2565057.

                          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2635973) KB2635973
                          This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
                          If you later install a more recent service pack, this hotfix will be uninstalled automatically.
                          For more information, visit http://support.microsoft.com/kb/2635973.

                          Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2736182) KB2736182
                          This hotfix is for Mic

                          M Offline
                          M Offline
                          Mike Nakis
                          wrote on last edited by
                          #13

                          To me it happens regardless of whether I put a space before "name".

                          1 Reply Last reply
                          0
                          • M Mike Nakis

                            Harold aptroot wrote further down: "Confirmed. The space before "name" was crucial and I had to edit it back in, so you may get some false negatives." So, did you try it with, or without a space before "name" ?

                            OriginalGriffO Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #14

                            Copy 'n' paste from your original post, so the space would have been there.

                            The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                            1 Reply Last reply
                            0
                            • M Mike Nakis

                              Harold aptroot wrote further down: "Confirmed. The space before "name" was crucial and I had to edit it back in, so you may get some false negatives." So, did you try it with, or without a space before "name" ?

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #15

                              Interesting one for you: I just tried it again, with a new project, pasted your code in. The space disappeared (I assume intellisense autoformatted it out when I pasted to fit my settings) Crashed this time.

                              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              M 1 Reply Last reply
                              0
                              • M Mike Nakis

                                Can anyone please reproduce and confirm this? Create a new project, make it a C# console application, use all default settings. Open the generated "Program.cs" file and replace its contents with the following:

                                namespace ConsoleApplication1
                                {
                                public class ParameterAttribute: System.Attribute
                                {
                                }

                                class Program
                                {
                                    \[Parameter( name:"name1" )\]
                                    int Field1;
                                
                                    static void Main( string\[\] args )
                                    {
                                    }
                                }
                                

                                }

                                I know, there is an error in the code. Please bear with me. Just do the following: move the mouse pointer over the word "name" in the code, and click. In other words, place the caret in "name". Does anything happen? Cause when I do that, Visual Studio 2010 disappears without even saying good bye. It panic-quits. More information: I am on Win7 x64 SP1, and this is what I get from Visual Studio / Help / About / Copy Info:

                                Microsoft Visual Studio 2010
                                Version 10.0.40219.1 SP1Rel
                                Microsoft .NET Framework
                                Version 4.5.50709 SP1Rel

                                Installed Version: Ultimate

                                Microsoft Visual C# 2010 01019-532-2002102-70075
                                Microsoft Visual C# 2010

                                Microsoft Visual C++ 2010 01019-532-2002102-70075
                                Microsoft Visual C++ 2010

                                Microsoft Visual F# 2010 01019-532-2002102-70075
                                Microsoft Visual F# 2010

                                Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70075
                                Microsoft Visual Studio 2010 Architecture and Modeling Tools

                                UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

                                Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70075
                                Microsoft Visual Studio 2010 Code Analysis Spell Checker

                                Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

                                The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

                                Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70075
                                Microsoft Visual Studio 2010 Team Explorer

                                Microsoft Visual Web Developer 2010 01019-532-2002102-70075
                                Microsoft Visual Web Developer 2010

                                Crystal Reports Templates for Microsoft Visual Studio 2010
                                Crystal Reports Templates for Microsoft Visual Studio 2010

                                Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219

                                M Offline
                                M Offline
                                Mike Nakis
                                wrote on last edited by
                                #16

                                Update: installing all the hotfixes & stuff from windows update did *not* solve the problem.

                                1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  Interesting one for you: I just tried it again, with a new project, pasted your code in. The space disappeared (I assume intellisense autoformatted it out when I pasted to fit my settings) Crashed this time.

                                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                  M Offline
                                  M Offline
                                  Mike Nakis
                                  wrote on last edited by
                                  #17

                                  Grrrreat. C-:=

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups