├── .gitattributes
├── Key.snk
├── source
├── PowerStudio
│ ├── Templates
│ │ ├── Projects
│ │ │ ├── PsProject
│ │ │ │ ├── Script.ps1
│ │ │ │ ├── ProjectIcon.ico
│ │ │ │ ├── PowerShellProject.vstemplate
│ │ │ │ └── PowerShellProject.psproj
│ │ │ └── PowerShellProject.zip
│ │ └── ProjectItems
│ │ │ └── PsProject
│ │ │ ├── ModuleManifest.psd1
│ │ │ ├── ScriptModule.psm1
│ │ │ └── ScriptFile.ps1
│ ├── ProjectIcon.ico
│ ├── Resources
│ │ └── ProjectIcon.ico
│ ├── ProjectTemplates
│ │ └── PowerShellProject.zip
│ ├── GlobalSuppressions.cs
│ ├── NLog.dll.nlog
│ └── Properties
│ │ └── AssemblyInfo.cs
├── Microsoft.VisualStudio.Project
│ ├── Dev10
│ │ ├── Samples
│ │ │ └── CSharp
│ │ │ │ ├── NestedProject
│ │ │ │ ├── UnitTests
│ │ │ │ │ ├── Templates
│ │ │ │ │ │ ├── SampleClass.cs
│ │ │ │ │ │ └── TemplateClass.cs
│ │ │ │ │ ├── NestedProject.UnitTests.csproj.vspscc
│ │ │ │ │ ├── Properties
│ │ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ │ └── NestedProjectPackageTest.cs
│ │ │ │ ├── Src
│ │ │ │ │ ├── NestedProject.csproj
│ │ │ │ │ ├── Templates
│ │ │ │ │ │ ├── ProjectItems
│ │ │ │ │ │ │ └── Class.cs
│ │ │ │ │ │ └── Projects
│ │ │ │ │ │ │ ├── Program.cs
│ │ │ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ │ ├── NestedProject.csproj.vspscc
│ │ │ │ │ ├── ConfigurationPropertyPages.cs
│ │ │ │ │ ├── GeneralPropertyPageTag.cs
│ │ │ │ │ ├── source.extension.vsixmanifest
│ │ │ │ │ ├── extension.vsixmanifest
│ │ │ │ │ ├── GuidStrings.cs
│ │ │ │ │ ├── Attributes
│ │ │ │ │ │ └── ResourcesDescriptionAttribute.cs
│ │ │ │ │ └── Properties
│ │ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── NestedProject.UnitTests.vssscc
│ │ │ │ ├── NestedProject.UnitTests.vsmdi
│ │ │ │ ├── localtestrun.testrunconfig
│ │ │ │ └── NestedProject.sln
│ │ │ │ └── CustomProject
│ │ │ │ ├── Src
│ │ │ │ ├── Key.snk
│ │ │ │ ├── Resources
│ │ │ │ │ └── MyCustomProjectImageList.bmp
│ │ │ │ ├── Templates
│ │ │ │ │ ├── Projects
│ │ │ │ │ │ └── MyCustomProject
│ │ │ │ │ │ │ ├── MyCustomProject.ico
│ │ │ │ │ │ │ ├── Program.cs
│ │ │ │ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ │ │ │ └── MyCustomProject.myproj
│ │ │ │ │ └── ProjectItems
│ │ │ │ │ │ └── MyCustomProject
│ │ │ │ │ │ └── Class.cs
│ │ │ │ ├── GlobalSuppressions.cs
│ │ │ │ ├── GuidStrings.cs
│ │ │ │ ├── source.extension.vsixmanifest
│ │ │ │ ├── extension.vsixmanifest
│ │ │ │ ├── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── MyCustomProjectAutomation.cs
│ │ │ │ └── Attributes
│ │ │ │ │ └── ResourcesDescriptionAttribute.cs
│ │ │ │ ├── UnitTests
│ │ │ │ ├── Templates
│ │ │ │ │ ├── MyCustomProject.ico
│ │ │ │ │ ├── Program.cs
│ │ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ │ └── MyCustomProject.myproj
│ │ │ │ ├── Mocks
│ │ │ │ │ ├── MockIVsSolution.cs
│ │ │ │ │ ├── MockIVsTaskList.cs
│ │ │ │ │ ├── MockIVsRegisterProjectTypes.cs
│ │ │ │ │ ├── MockIVsUIShell.cs
│ │ │ │ │ ├── MockIVsSolutionBuildManager.cs
│ │ │ │ │ └── MockIVsFileChangeEx.cs
│ │ │ │ └── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── CustomProject.UnitTests.vsmdi
│ │ │ │ ├── LocalTestRun.testrunconfig
│ │ │ │ └── CustomProject.sln
│ │ ├── Src
│ │ │ └── CSharp
│ │ │ │ ├── Key.snk
│ │ │ │ ├── Utilities.cs
│ │ │ │ ├── ProjectNode.cs
│ │ │ │ ├── Resources
│ │ │ │ └── imagelis.bmp
│ │ │ │ ├── Automation
│ │ │ │ ├── OAProject.cs
│ │ │ │ └── OAFolderItem.cs
│ │ │ │ ├── MPFProjectAll.files
│ │ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── WebProjectBase.Files
│ │ │ │ ├── ProjectNode.Events.cs
│ │ │ │ └── Diagrams
│ │ │ │ └── DocumentManagerClasses.cd
│ │ ├── Tests
│ │ │ ├── IntegrationTests
│ │ │ │ ├── Utilities.cs
│ │ │ │ ├── packages.config
│ │ │ │ ├── Microsoft.VisualStudio.Project.IntegrationTests.csproj
│ │ │ │ ├── app.config
│ │ │ │ └── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ └── UnitTests
│ │ │ │ ├── Resources
│ │ │ │ ├── Image1.bmp
│ │ │ │ └── ImageList.bmp
│ │ │ │ ├── Microsoft.VisualStudio.Project.UnitTests.csproj
│ │ │ │ ├── TestProject.proj
│ │ │ │ ├── Utilities.cs
│ │ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ │ └── ProjectTestClass.cs
│ │ ├── Microsoft.VisualStudio.Project.Tests1.vsmdi
│ │ └── Microsoft.VisualStudio.Project.sln
│ └── readme.txt
├── GlobalAssemblyInfo.cs
├── PowerStudio.LanguageServices.PowerShell
│ ├── Project
│ │ ├── TODO.txt
│ │ ├── OAPsProject.cs
│ │ ├── OAPsProjectFileItem.cs
│ │ ├── PowerShellConfigProvider.cs
│ │ ├── GeneralProjectPropertiesPage.cs
│ │ └── GeneralSettingsPage.cs
│ ├── ProjectIcon.ico
│ ├── Tagging
│ │ ├── Tags
│ │ │ └── MethodTag.cs
│ │ ├── Taggers
│ │ │ ├── GlyphTokenTagger.cs
│ │ │ └── ErrorTokenTagger.cs
│ │ └── Providers
│ │ │ ├── OutliningTaggerProvider.cs
│ │ │ ├── ErrorTokenTaggerProvider.cs
│ │ │ ├── BraceMatchingTaggerProvider.cs
│ │ │ ├── MethodTokenTaggerProvider.cs
│ │ │ └── ClassificationTaggerProvider.cs
│ ├── Intellisense
│ │ └── Completion
│ │ │ ├── CompletionHandlerProvider.cs
│ │ │ ├── SmartCompletionSourceProvider.cs
│ │ │ └── BuiltInCompletionSourceProvider.cs
│ ├── Editor
│ │ ├── MethodGlyphFactory.cs
│ │ └── MethodGlyphFactoryProvider.cs
│ └── Properties
│ │ └── AssemblyInfo.cs
├── PowerStudio.DebugEngine.Tests
│ ├── Fakes
│ │ └── SampleEngineWithIncompatibilities.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Attributes
│ │ └── ProvideDebugEngineAttributeContext.cs
├── PowerStudio.LanguageServices.Tests
│ └── Tagging
│ │ ├── Tags
│ │ ├── TokenTagTests.cs
│ │ ├── TokenClassificationTagTests.cs
│ │ ├── BraceMatchingTagTests.cs
│ │ └── OutliningTagTests.cs
│ │ └── TokenTagSpanTests.cs
├── PowerStudio.LanguageServices.Batch
│ ├── Tagging
│ │ ├── BatchTokenType.cs
│ │ ├── Tags
│ │ │ └── BatchTokenTag.cs
│ │ └── BatchToken.cs
│ └── Properties
│ │ └── AssemblyInfo.cs
├── PowerStudio.DebugEngine
│ ├── ComThreadingModel.cs
│ ├── PortSuppliers
│ │ └── DefaultPortProvider.cs
│ ├── Events
│ │ ├── StoppingEvent.cs
│ │ ├── SynchronousEvent.cs
│ │ ├── AsynchronousEvent.cs
│ │ ├── AsyncBreakCompleteEvent.cs
│ │ ├── ProgramCreateEvent.cs
│ │ ├── SynchronousStoppingEvent.cs
│ │ ├── ThreadCreateEvent.cs
│ │ ├── LoadCompleteEvent.cs
│ │ ├── DebugEventBase.cs
│ │ ├── ThreadDestroyEvent.cs
│ │ ├── OutputDebugStringEvent.cs
│ │ └── ProgramDestroyEvent.cs
│ ├── Enumerators
│ │ ├── PropertyEnumerator.cs
│ │ ├── PropertyInfoEnumerator.cs
│ │ ├── FrameInfoEnumerator.cs
│ │ ├── ModuleEnumerator.cs
│ │ ├── ProgramEnumerator.cs
│ │ ├── ThreadEnumerator.cs
│ │ ├── CodeContextEnumerator.cs
│ │ ├── BoundBreakpointsEnumerator.cs
│ │ └── PendingBreakpointsEnumerator.cs
│ ├── Attributes
│ │ ├── IncompatibleWithSqlEngine2.cs
│ │ ├── IncompatibleWithPowerGUIEngine.cs
│ │ ├── IncompatibleWithScriptEngine.cs
│ │ ├── IncompatibleWithProteusEngine.cs
│ │ ├── IncompatibleWithNativeOnlyEngine.cs
│ │ ├── IncompatibleWithComPlusOnlyEngine.cs
│ │ ├── IncompatibleWithPowerStudioEngine.cs
│ │ ├── IncompatibleWithSilverlightEngine.cs
│ │ ├── IncompatibleWithComPlusNativeEngine.cs
│ │ ├── IncompatibleWithComPlusOnlyEngine2.cs
│ │ ├── IncompatibleWithComPlusOnlyEngine4.cs
│ │ ├── IncompatibleWithWorkflowDebugEngine.cs
│ │ ├── IncompatibleWithComPlusSqlLocalEngine.cs
│ │ ├── IncompatibleDebugEngineAttribute.cs
│ │ ├── ProvideProgramProviderAttribute.cs
│ │ └── ProvidePortSupplierAttribute.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Guids.cs
│ └── IDebugEngineEventSource.cs
├── PowerStudio.LanguageServices
│ ├── Tagging
│ │ ├── Tags
│ │ │ ├── GlyphTag.cs
│ │ │ ├── TokenTag.cs
│ │ │ └── HighlightWordTag.cs
│ │ ├── PredefinedTextMarkerTags.cs
│ │ ├── ITokenTag.cs
│ │ ├── TokenClass.cs
│ │ ├── ITokenClassifier.cs
│ │ ├── Providers
│ │ │ └── TaggerProviderBase.cs
│ │ └── TokenTagSpan.cs
│ ├── LanguageContentTypes.cs
│ ├── Intellisense
│ │ ├── QuickInfo
│ │ │ └── QuickInfoErrorSource.cs
│ │ └── Completion
│ │ │ └── CompletionSourceProvider.cs
│ └── Editor
│ │ └── IGlyphFactory.cs
├── PowerStudio.LanguageServices.Ini
│ ├── Tagging
│ │ ├── IniTokenType.cs
│ │ ├── IniToken.cs
│ │ └── Providers
│ │ │ └── ClassificationTaggerProvider.cs
│ ├── NumberIdenifier.cs
│ ├── LanguageConfiguration.cs
│ └── Properties
│ │ └── AssemblyInfo.cs
├── PowerStudio.Debugger
│ ├── PowerShellProgramProvider.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── PowerShellDebugPort.cs
│ └── PowerShellDebuggerEvents.cs
├── PowerStudio.LanguageServices.Ini.Tests
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── IniParserTests.cs
├── PowerStudio.Integration.Tests
│ ├── SignOff-Tests
│ │ └── SolutionTests.cs
│ ├── PackageTests.cs
│ └── PackageTest.cs
├── Resources
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── PsConstants.cs
└── PowerStudio.Debugger.Tests
│ └── Properties
│ └── AssemblyInfo.cs
├── graphics
├── FileIcon.png
└── ProjectIcon.ico
├── tools
├── NuGet
│ └── NuGet.exe
└── xunit
│ ├── xunit.dll
│ ├── xunit.extensions.dll
│ ├── xunit.console.clr4.exe
│ ├── xunit.runner.utility.dll
│ ├── xunit.console.clr4.x86.exe
│ ├── xunit.console.clr4.exe.config
│ └── xunit.console.clr4.x86.exe.config
├── PowerStudio.sln.docstates
├── .NugetFile
├── .gitignore
├── UnitTests.testsettings
├── HowToBuild.txt
├── VisualStudio.PowerShell.vsmdi
├── IntegrationTests.testsettings
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | * -crlf
--------------------------------------------------------------------------------
/Key.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/Key.snk
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/Projects/PsProject/Script.ps1:
--------------------------------------------------------------------------------
1 | #%scriptName%.ps1
2 |
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/ProjectItems/PsProject/ModuleManifest.psd1:
--------------------------------------------------------------------------------
1 | #%scriptName%.ps1
2 |
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/ProjectItems/PsProject/ScriptModule.psm1:
--------------------------------------------------------------------------------
1 | #%scriptName%.ps1
2 |
--------------------------------------------------------------------------------
/graphics/FileIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/graphics/FileIcon.png
--------------------------------------------------------------------------------
/tools/NuGet/NuGet.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/tools/NuGet/NuGet.exe
--------------------------------------------------------------------------------
/tools/xunit/xunit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/tools/xunit/xunit.dll
--------------------------------------------------------------------------------
/graphics/ProjectIcon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/graphics/ProjectIcon.ico
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/UnitTests/Templates/SampleClass.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/PowerStudio.sln.docstates:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/PowerStudio.sln.docstates
--------------------------------------------------------------------------------
/source/GlobalAssemblyInfo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/GlobalAssemblyInfo.cs
--------------------------------------------------------------------------------
/tools/xunit/xunit.extensions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/tools/xunit/xunit.extensions.dll
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Project/TODO.txt:
--------------------------------------------------------------------------------
1 | http://msdn.microsoft.com/en-us/library/bb166376(VS.100).aspx
--------------------------------------------------------------------------------
/source/PowerStudio/ProjectIcon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/PowerStudio/ProjectIcon.ico
--------------------------------------------------------------------------------
/tools/xunit/xunit.console.clr4.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/tools/xunit/xunit.console.clr4.exe
--------------------------------------------------------------------------------
/tools/xunit/xunit.runner.utility.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/tools/xunit/xunit.runner.utility.dll
--------------------------------------------------------------------------------
/tools/xunit/xunit.console.clr4.x86.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/tools/xunit/xunit.console.clr4.x86.exe
--------------------------------------------------------------------------------
/source/PowerStudio/Resources/ProjectIcon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/PowerStudio/Resources/ProjectIcon.ico
--------------------------------------------------------------------------------
/source/PowerStudio/ProjectTemplates/PowerShellProject.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/PowerStudio/ProjectTemplates/PowerShellProject.zip
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/Projects/PowerShellProject.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/PowerStudio/Templates/Projects/PowerShellProject.zip
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Key.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Key.snk
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/ProjectIcon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/PowerStudio.LanguageServices.PowerShell/ProjectIcon.ico
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/Projects/PsProject/ProjectIcon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/PowerStudio/Templates/Projects/PsProject/ProjectIcon.ico
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Utilities.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Utilities.cs
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/ProjectNode.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/ProjectNode.cs
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Resources/imagelis.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Resources/imagelis.bmp
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Automation/OAProject.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Automation/OAProject.cs
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/IntegrationTests/Utilities.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Tests/IntegrationTests/Utilities.cs
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Resources/Image1.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Resources/Image1.bmp
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Key.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Key.snk
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Resources/ImageList.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Resources/ImageList.bmp
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/NestedProject.csproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/NestedProject.csproj
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/IntegrationTests/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/.NugetFile:
--------------------------------------------------------------------------------
1 | install_to 'Packages'
2 | chew 'Moq' '4.0.10827'
3 | chew 'RhinoMocks' '3.6'
4 | chew 'Rx-Main' '1.0.10621'
5 | chew 'NLog' '2.0.0.2000'
6 | chew 'xunit' '1.8.0.1549'
7 | chew 'Pester' '1.0.1'
8 | chew 'psake' '4.0.1.0'
9 | chew 'Giles' '0.1.1.3'
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | _ReSharper.*
2 | bin
3 | obj
4 | dist
5 | debug
6 | release
7 | *.suo
8 | *resharper*
9 | *.user
10 | *.cache
11 | MSBuildOutput.txt
12 | TestResults
13 | parser.lst
14 | parser.report.html
15 | *.dotCover
16 | Packages/
17 | build/psake/
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Microsoft.VisualStudio.Project.UnitTests.csproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Microsoft.VisualStudio.Project.UnitTests.csproj
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Templates/MyCustomProject.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Templates/MyCustomProject.ico
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Resources/MyCustomProjectImageList.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Resources/MyCustomProjectImageList.bmp
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/IntegrationTests/Microsoft.VisualStudio.Project.IntegrationTests.csproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Tests/IntegrationTests/Microsoft.VisualStudio.Project.IntegrationTests.csproj
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Templates/Projects/MyCustomProject/MyCustomProject.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelliTect/PowerStudio/HEAD/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Templates/Projects/MyCustomProject/MyCustomProject.ico
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Templates/ProjectItems/MyCustomProject/Class.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace %namespace%
7 | {
8 | public class %className%
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/Templates/ProjectItems/Class.cs:
--------------------------------------------------------------------------------
1 | #region Using directives
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | #endregion
8 |
9 | namespace %namespace%
10 | {
11 | class %className%
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/UnitTests/Templates/TemplateClass.cs:
--------------------------------------------------------------------------------
1 | #region Using directives
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | #endregion
8 |
9 | namespace %namespace%
10 | {
11 | class %className%
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Templates/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace %namespace%
7 | {
8 | public class %className%
9 | {
10 | static void Main(string[] args)
11 | {
12 | Console.WriteLine("Hello VSX!!!");
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/NestedProject.UnitTests.vssscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
10 | }
11 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/NestedProject.csproj.vspscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Templates/Projects/MyCustomProject/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace %namespace%
7 | {
8 | public class %className%
9 | {
10 | static void Main(string[] args)
11 | {
12 | Console.WriteLine("Hello VSX!!!");
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/UnitTests/NestedProject.UnitTests.csproj.vspscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 |
--------------------------------------------------------------------------------
/UnitTests.testsettings:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | This test run configuration is used for running the unit tests
9 |
10 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/Templates/Projects/Program.cs:
--------------------------------------------------------------------------------
1 | #region Using directives
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | #endregion
8 |
9 | namespace %namespace%
10 | {
11 | class %className%
12 | {
13 | static void Main(string[] args)
14 | {
15 | Console.WriteLine("Hello");
16 |
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/readme.txt:
--------------------------------------------------------------------------------
1 | MPF for Projects
2 | Visual Studio 2010 Beta 1 Release
3 |
4 | This project is currently not accepting modifications.
5 |
6 | Download the source from the Downloads tab.
7 |
8 | When Visual Studio 2010 is RTM, we will update this source tree.
9 |
10 | At this point, this will be a community project.
11 |
12 | Chuck England
13 | Visual Studio Platform
14 | Program Manager - MSBuild
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/MPFProjectAll.files:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | .
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine.Tests/Fakes/SampleEngineWithIncompatibilities.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using PowerStudio.DebugEngine.Attributes;
6 |
7 | namespace PowerStudio.DebugEngine.Tests.Fakes
8 | {
9 | [IncompatibleWithComPlusNativeEngine]
10 | [IncompatibleWithComPlusNativeEngine(AutoSelect = true)]
11 | public class SampleEngineWithIncompatibilities
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Tests/Tagging/Tags/TokenTagTests.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Tests.Tagging.Tags
13 | {
14 | public class TokenTagTests
15 | {
16 | }
17 | }
--------------------------------------------------------------------------------
/HowToBuild.txt:
--------------------------------------------------------------------------------
1 | From the PowerShell console, execute build.cmd or build-release.cmd to download and install the dependent NuGet packages and build the extension. Once completed, you can open the solution.
2 |
3 | If you are not using Visual Studio 2010 to build the VSIX package, you can use the psake build scripts.
4 |
5 | If you want to build the VSIX and run the unit tests, Double click on the build-release.cmd file.
6 |
7 | If you want to build the VSIX without running the unit tests, Double click on the build.cmd file.
8 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/IntegrationTests/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Batch/Tagging/BatchTokenType.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Batch.Tagging
13 | {
14 | public enum BatchTokenType
15 | {
16 | Statement,
17 | Variable,
18 | Lable
19 | }
20 | }
--------------------------------------------------------------------------------
/VisualStudio.PowerShell.vsmdi:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/CustomProject.UnitTests.vsmdi:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/NestedProject.UnitTests.vsmdi:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/ComThreadingModel.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.DebugEngine
13 | {
14 | public enum ComThreadingModel
15 | {
16 | Apartment,
17 | Free,
18 | Main,
19 | Both,
20 | Neutral,
21 | NotSpecified
22 | }
23 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Microsoft.VisualStudio.Project.Tests1.vsmdi:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/Tags/GlyphTag.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Text.Editor;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices.Tagging.Tags
19 | {
20 | public class GlyphTag : TokenTag, IGlyphTag
21 | {
22 | }
23 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/PredefinedTextMarkerTags.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Tagging
13 | {
14 | public class PredefinedTextMarkerTags
15 | {
16 | public const string BraceHighlight = "bracehighlight";
17 | public const string WordHighlight = "wordhighlight";
18 | }
19 | }
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/Projects/PsProject/PowerShellProject.vstemplate:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | PowerShell Script Project
5 |
6 | A PowerShell project
7 | ProjectIcon.ico
8 | PowerShell
9 |
10 |
11 |
12 | Script.ps1
13 |
14 |
15 |
--------------------------------------------------------------------------------
/IntegrationTests.testsettings:
--------------------------------------------------------------------------------
1 |
2 |
7 | This test run configuration uses the VS IDE host type in the test run.
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Tagging/Tags/MethodTag.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Management.Automation;
15 | using PowerStudio.LanguageServices.Tagging.Tags;
16 |
17 | #endregion
18 |
19 | namespace PowerStudio.LanguageServices.PowerShell.Tagging.Tags
20 | {
21 | public class MethodTag : GlyphTag
22 | {
23 | }
24 | }
--------------------------------------------------------------------------------
/tools/xunit/xunit.console.clr4.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
14 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/PortSuppliers/DefaultPortProvider.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Runtime.InteropServices;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.PortSuppliers
19 | {
20 | [Guid( InterfaceGuids.DefaultPortSupplierGuidString )]
21 | public abstract class DefaultPortSupplier
22 | {
23 | }
24 | }
--------------------------------------------------------------------------------
/tools/xunit/xunit.console.clr4.x86.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
14 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Ini/Tagging/IniTokenType.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Ini.Tagging
13 | {
14 | public enum IniTokenType
15 | {
16 | None,
17 | Whitespace,
18 | Comment,
19 | Delimiter,
20 | Section,
21 | Attribute,
22 | AttributeValue,
23 | AttributeValueString,
24 | AttributeValueNumber,
25 | }
26 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/ITokenTag.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Text;
15 | using Microsoft.VisualStudio.Text.Tagging;
16 |
17 | #endregion
18 |
19 | namespace PowerStudio.LanguageServices.Tagging
20 | {
21 | public interface ITokenTag : ITag
22 | {
23 | TToken Token { get; }
24 | SnapshotSpan Span { get; }
25 | }
26 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/GlobalSuppressions.cs:
--------------------------------------------------------------------------------
1 | // This file is used by Code Analysis to maintain SuppressMessage
2 | // attributes that are applied to this project. Project-level
3 | // suppressions either have no target or are given a specific target
4 | // and scoped to a namespace, type, member, etc.
5 | //
6 | // To add a suppression to this file, right-click the message in the
7 | // Error List, point to "Suppress Message(s)", and click "In Project
8 | // Suppression File". You do not need to add suppressions to this
9 | // file manually.
10 |
11 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1017:MarkAssembliesWithComVisible")]
12 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/StoppingEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | public abstract class StoppingEvent : DebugEventBase
21 | {
22 | protected StoppingEvent()
23 | {
24 | Attributes = enum_EVENTATTRIBUTES.EVENT_ASYNC_STOP;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Batch/Tagging/Tags/BatchTokenTag.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using PowerStudio.LanguageServices.Tagging.Tags;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices.Batch.Tagging.Tags
19 | {
20 | public class BatchTokenTag : TokenTag
21 | {
22 | public BatchTokenTag( BatchToken token )
23 | {
24 | Token = token;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/source/PowerStudio/GlobalSuppressions.cs:
--------------------------------------------------------------------------------
1 | // This file is used by Code Analysis to maintain SuppressMessage
2 | // attributes that are applied to this project. Project-level
3 | // suppressions either have no target or are given a specific target
4 | // and scoped to a namespace, type, member, etc.
5 | //
6 | // To add a suppression to this file, right-click the message in the
7 | // Error List, point to "Suppress Message(s)", and click "In Project
8 | // Suppression File". You do not need to add suppressions to this
9 | // file manually.
10 |
11 | #region Using Directives
12 |
13 | using System.Diagnostics.CodeAnalysis;
14 |
15 | #endregion
16 |
17 | [assembly : SuppressMessage( "Microsoft.Design", "CA1017:MarkAssembliesWithComVisible" )]
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Ini/Tagging/IniToken.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Ini.Tagging
13 | {
14 | public class IniToken
15 | {
16 | public string Text { get; set; }
17 | public IniTokenType Type { get; set; }
18 | public int Start { get; set; }
19 |
20 | public int Length
21 | {
22 | get { return string.IsNullOrEmpty( Text ) ? 0 : Text.Length; }
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/SynchronousEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | public abstract class SynchronousEvent : DebugEventBase
21 | {
22 | protected SynchronousEvent()
23 | {
24 | Attributes = enum_EVENTATTRIBUTES.EVENT_SYNCHRONOUS;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/AsynchronousEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | public abstract class AsynchronousEvent : DebugEventBase
21 | {
22 | protected AsynchronousEvent()
23 | {
24 | Attributes = enum_EVENTATTRIBUTES.EVENT_ASYNCHRONOUS;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Batch/Tagging/BatchToken.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Batch.Tagging
13 | {
14 | public class BatchToken
15 | {
16 | public string Text { get; set; }
17 | public BatchTokenType TokenType { get; set; }
18 | public int Start { get; set; }
19 |
20 | public int Length
21 | {
22 | get { return string.IsNullOrEmpty(Text) ? 0 : Text.Length; }
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/Tags/TokenTag.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Text;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices.Tagging.Tags
19 | {
20 | public class TokenTag : ITokenTag
21 | {
22 | #region ITokenTag Members
23 |
24 | public TTokenTag Token { get; set; }
25 | public SnapshotSpan Span { get; set; }
26 |
27 | #endregion
28 | }
29 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/AsyncBreakCompleteEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | ///
21 | /// This interface tells the session debug manager (SDM) that an asynchronous break has been successfully completed.
22 | ///
23 | public class AsyncBreakCompleteEvent : StoppingEvent, IDebugBreakEvent2
24 | {
25 | }
26 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/ProgramCreateEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | ///
21 | /// This interface is sent by the debug DebugEngine (DE) to the session debug manager (SDM) when a program is attached to.
22 | ///
23 | public class ProgramCreateEvent : AsynchronousEvent, IDebugProgramCreateEvent2
24 | {
25 | }
26 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/SynchronousStoppingEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | public abstract class SynchronousStoppingEvent : DebugEventBase
21 | {
22 | protected SynchronousStoppingEvent()
23 | {
24 | Attributes = enum_EVENTATTRIBUTES.EVENT_STOPPING | enum_EVENTATTRIBUTES.EVENT_SYNCHRONOUS;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/ThreadCreateEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | ///
21 | /// This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a thread is created in a program being debugged.
22 | ///
23 | public class ThreadCreateEvent : AsynchronousEvent, IDebugThreadCreateEvent2
24 | {
25 | }
26 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Events/LoadCompleteEvent.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Events
19 | {
20 | ///
21 | /// This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a program is loaded, but before any code is executed.
22 | ///
23 | public class LoadCompleteEvent : StoppingEvent, IDebugLoadCompleteEvent2
24 | {
25 | }
26 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/PropertyEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class PropertyEnumerator : EnumeratorBase,
21 | IEnumDebugPropertyInfo2
22 | {
23 | public PropertyEnumerator( DEBUG_PROPERTY_INFO[] properties )
24 | : base( properties )
25 | {
26 | }
27 | }
28 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/PropertyInfoEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class PropertyInfoEnumerator : EnumeratorBase,
21 | IEnumDebugPropertyInfo2
22 | {
23 | public PropertyInfoEnumerator( DEBUG_PROPERTY_INFO[] data )
24 | : base( data )
25 | {
26 | }
27 | }
28 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/TokenClass.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | namespace PowerStudio.LanguageServices.Tagging
13 | {
14 | public enum TokenClass
15 | {
16 | CharacterLiteral,
17 | Comment,
18 | ExcludedCode,
19 | FormalLanguage,
20 | Identifier,
21 | Keyword,
22 | Literal,
23 | NaturalLanguage,
24 | NumberLiteral,
25 | Operator,
26 | Other,
27 | PreprocessorKeyword,
28 | StringLiteral,
29 | SymbolDefinition,
30 | SymbolReference,
31 | WhiteSpace
32 | }
33 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/LanguageContentTypes.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.ComponentModel;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices
19 | {
20 | public enum LanguageContentTypes
21 | {
22 | Basic,
23 | [Description( "C/C++" )]
24 | CPlusPlus,
25 | ConsoleOutput,
26 | CSharp,
27 | CSS,
28 | ENC,
29 | FindResults,
30 | [Description( "F#" )]
31 | FSharp,
32 | HTML,
33 | JScript,
34 | XAML,
35 | XML,
36 | }
37 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/ITokenClassifier.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Text.Classification;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices.Tagging
19 | {
20 | ///
21 | ///
22 | public interface ITokenClassifier
23 | {
24 | ///
25 | /// Gets the with the specified token type.
26 | ///
27 | IClassificationType this[ TToken token ] { get; }
28 | }
29 | }
--------------------------------------------------------------------------------
/source/PowerStudio/NLog.dll.nlog:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
21 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Project/OAPsProject.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Runtime.InteropServices;
15 | using Microsoft.VisualStudio.Project.Automation;
16 | using NLog;
17 |
18 | #endregion
19 |
20 | namespace PowerStudio.LanguageServices.PowerShell.Project
21 | {
22 | [ComVisible( true )]
23 | public class OAPsProject : OAProject
24 | {
25 | private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
26 |
27 | public OAPsProject( PowerShellProjectNode project )
28 | : base( project )
29 | {
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/GuidStrings.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 |
14 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject
15 | {
16 | ///
17 | /// This class contains the package GUID for this sample
18 | ///
19 | public static class GuidStrings
20 | {
21 | public const string guidCustomProjectPkgString = "A4A21AD2-9481-4D82-94EA-70E9C96AB4F1";
22 | }
23 | }
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/ProjectItems/PsProject/ScriptFile.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | This is the default script created by PowerStudio.
4 | .DESCRIPTION
5 | Use this as a starting point your PowerShell scripting file.
6 | .NOTES
7 | This is a sample note for the script.
8 | .PARAMETER fileName
9 | The filename that the script will use.
10 | .PARAMETER taskList
11 | A list of the possible tasks to execute.
12 | .PARAMETER dwarf
13 | A validated set of options.
14 | .EXAMPLE
15 | Sample command to execute.
16 | %scriptName% myFile.txt 1,2,4 doc
17 | #>
18 | #requires -version 2.0
19 | param(
20 | [Parameter(Mandatory=$true)]
21 | [string]$fileName = 'defaultFile.txt',
22 |
23 | [Parameter(Mandatory=$false)]
24 | [string[]]$taskList = @(),
25 |
26 | [ValidateSet('happy', 'sleepy', 'grumpy', 'doc', 'bashful', 'sneezy', 'dopey')]
27 | [string]$dwarf="happy"
28 | )
29 |
30 | write-host "$fileName for `"$taskList`" given I am `"$dwarf`""
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/ConfigurationPropertyPages.cs:
--------------------------------------------------------------------------------
1 |
2 | /***************************************************************************
3 |
4 | Copyright (c) Microsoft Corporation. All rights reserved.
5 | This code is licensed under the Visual Studio SDK license terms.
6 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
7 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
8 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
9 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
10 |
11 | ***************************************************************************/
12 |
13 | using System;
14 | using System.Runtime.InteropServices;
15 | using Microsoft.VisualStudio.Project;
16 |
17 | namespace Microsoft.VisualStudio.Project.Samples.NestedProject
18 | {
19 | [ComVisible(true), Guid("C43AD3DC-7468-48e1-B4D2-AAC0C74A0109")]
20 | public class NestedProjectBuildPropertyPage : BuildPropertyPage
21 | {
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/GeneralPropertyPageTag.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 | Copyright (c) Microsoft Corporation. All rights reserved.
3 | This code is licensed under the Visual Studio SDK license terms.
4 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
5 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
6 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
7 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
8 | ***************************************************************************/
9 |
10 | namespace Microsoft.VisualStudio.Project.Samples.NestedProject
11 | {
12 | ///
13 | /// Enumeration of the general properties.
14 | ///
15 | internal enum GeneralPropertyPageTag
16 | {
17 | AssemblyName,
18 | OutputType,
19 | RootNamespace,
20 | StartupObject,
21 | ApplicationIcon,
22 | TargetPlatform,
23 | TargetPlatformLocation,
24 | }
25 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithSqlEngine2.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithSqlEngine2 : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidSQLEng2"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.SqlEngine2; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.Debugger/PowerShellProgramProvider.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Runtime.InteropServices;
15 | using PowerStudio.DebugEngine;
16 | using NLog;
17 | using PowerStudio.Resources;
18 |
19 | #endregion
20 |
21 | namespace PowerStudio.Debugger
22 | {
23 | [ComVisible( true )]
24 | [Guid( PsConstants.ProgramProviderGuid )]
25 | public class PowerShellProgramProvider : DebugProgramProvider
26 | {
27 | private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
28 |
29 | public PowerShellProgramProvider()
30 | {
31 | Logger.Debug( string.Empty );
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Reflection;
4 | using System.Runtime.InteropServices;
5 | using System.Security.Permissions;
6 | using System.Resources;
7 |
8 | [assembly: AssemblyTitle("Microsoft.VisualStudio.Project")]
9 | [assembly: AssemblyDescription("MPF Implementation of VS Projects")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("Microsoft.VisualStudio.Project")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | [assembly: ComVisible(false)]
18 | [assembly: CLSCompliant(false)]
19 |
20 | [assembly: Guid("084954ec-af04-4ea3-b166-b1fced604dc8")]
21 |
22 | [assembly: AssemblyVersion("1.0.0.0")]
23 | [assembly: AssemblyFileVersion("1.0.0.0")]
24 |
25 | [assembly: NeutralResourcesLanguageAttribute("en")]
26 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithPowerGUIEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithPowerGUIEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "PowerShell"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.PowerGUIEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithScriptEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithScriptEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidScriptEng"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ScriptEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 |
8 | [assembly : AssemblyTitle( "DebugEngine" )]
9 | [assembly : AssemblyDescription( "" )]
10 | [assembly : AssemblyConfiguration( "" )]
11 | [assembly : AssemblyTrademark( "" )]
12 | [assembly : AssemblyCulture( "" )]
13 |
14 | // Setting ComVisible to false makes the types in this assembly not visible
15 | // to COM components. If you need to access a type in this assembly from
16 | // COM, set the ComVisible attribute to true on that type.
17 |
18 | [assembly : ComVisible( false )]
19 |
20 | // The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 | [assembly : Guid( "436ca1be-b4aa-4c84-96e4-330de5d1035a" )]
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithProteusEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithProteusEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidProteusEngine"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ProteusEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.Debugger/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 |
8 | [assembly : AssemblyTitle( "PowerStudio.Debugger" )]
9 | [assembly : AssemblyDescription( "" )]
10 | [assembly : AssemblyConfiguration( "" )]
11 | [assembly : AssemblyTrademark( "" )]
12 | [assembly : AssemblyCulture( "" )]
13 |
14 | // Setting ComVisible to false makes the types in this assembly not visible
15 | // to COM components. If you need to access a type in this assembly from
16 | // COM, set the ComVisible attribute to true on that type.
17 |
18 | [assembly : ComVisible( false )]
19 |
20 | // The following GUID is for the ID of the typelib if this project is exposed to COM
21 |
22 | [assembly : Guid( "409d589b-d62d-42ae-b775-e7607c4ae558" )]
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Ini.Tests/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("PowerStudio.LanguageServices.Ini.Tests")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyTrademark("")]
11 | [assembly: AssemblyCulture("")]
12 |
13 | // Setting ComVisible to false makes the types in this assembly not visible
14 | // to COM components. If you need to access a type in this assembly from
15 | // COM, set the ComVisible attribute to true on that type.
16 | [assembly: ComVisible(false)]
17 |
18 | // The following GUID is for the ID of the typelib if this project is exposed to COM
19 | [assembly: Guid("477591c8-2294-43fc-ad7d-8bc2308e4544")]
20 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Tagging/Taggers/GlyphTokenTagger.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Management.Automation;
15 | using Microsoft.VisualStudio.Text;
16 | using PowerStudio.LanguageServices.Tagging.Taggers;
17 | using PowerStudio.LanguageServices.Tagging.Tags;
18 |
19 | #endregion
20 |
21 | namespace PowerStudio.LanguageServices.PowerShell.Tagging.Taggers
22 | {
23 | public abstract class GlyphTokenTagger : PsTokenTagger
24 | where TTokenTag : GlyphTag
25 | {
26 | protected GlyphTokenTagger( ITextBuffer buffer )
27 | : base( buffer )
28 | {
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithNativeOnlyEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithNativeOnlyEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidNativeOnlyEng"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.NativeOnlyEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithComPlusOnlyEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithComPlusOnlyEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidCOMPlusOnlyEng"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ComPlusOnlyEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithPowerStudioEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 |
19 | namespace PowerStudio.DebugEngine.Attributes
20 | {
21 | public sealed class IncompatibleWithPowerStudioEngine : IncompatibleDebugEngineAttribute
22 | {
23 | #region Overrides of IncompatibleDebugEngineAttribute
24 |
25 | public override string Name
26 | {
27 | get { return "PowerShell"; }
28 | }
29 |
30 | public override Guid Guid
31 | {
32 | get { return EngineGuids.PowerStudioEngineGuid; }
33 | }
34 |
35 | #endregion
36 | }
37 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithSilverlightEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithSilverlightEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidSilverlightEng"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.SilverlightEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithComPlusNativeEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithComPlusNativeEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidCOMPlusNativeEng"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ComPlusNativeEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithComPlusOnlyEngine2.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithComPlusOnlyEngine2 : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidCOMPlusOnlyEng2"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ComPlusOnlyEngine2; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithComPlusOnlyEngine4.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithComPlusOnlyEngine4 : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidCOMPlusOnlyEng4"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ComPlusOnlyEngine4; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithWorkflowDebugEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithWorkflowDebugEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "GUID_WorkflowDebugEngine"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.WorkflowDebugEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/source.extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | VSIXProject1
5 | Microsoft IT
6 | 1.0
7 | Empty VSIX Project.
8 | 1033
9 | VSIXProject_small.png
10 | VSIXProject_large.png
11 |
12 |
13 | Pro
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/source.extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | VSIXProject1
5 | Microsoft IT
6 | 1.0
7 | Empty VSIX Project.
8 | 1033
9 | VSIXProject_small.png
10 | VSIXProject_large.png
11 |
12 |
13 | Pro
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleWithComPlusSqlLocalEngine.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | public sealed class IncompatibleWithComPlusSqlLocalEngine : IncompatibleDebugEngineAttribute
21 | {
22 | #region Overrides of IncompatibleDebugEngineAttribute
23 |
24 | public override string Name
25 | {
26 | get { return "guidCOMPlusSQLLocalEng"; }
27 | }
28 |
29 | public override Guid Guid
30 | {
31 | get { return EngineGuids.ComPlusSqlLocalEngine; }
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/TestProject.proj:
--------------------------------------------------------------------------------
1 |
2 |
3 | 8.0.50727
4 | 2.0
5 | {1231F66C-FF21-4DC6-8EEE-2BA88186DC16}
6 | VisualStudio.Project.UnitTests
7 |
8 | Global
9 |
10 |
11 |
12 | DebugValue
13 |
14 |
15 | ReleaseValue
16 |
17 |
18 |
19 |
20 |
21 | OtherFileProperty
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Templates/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | //
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | //
9 | [assembly: AssemblyTitle("")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("")]
14 | [assembly: AssemblyCopyright("")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 |
18 | //
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Revision and Build Numbers
27 | // by using the '*' as shown below:
28 |
29 | [assembly: AssemblyVersion("1.0.*")]
30 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/Templates/Projects/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | //
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | //
9 | [assembly: AssemblyTitle("")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("")]
14 | [assembly: AssemblyCopyright("")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 |
18 | //
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Revision and Build Numbers
27 | // by using the '*' as shown below:
28 |
29 | [assembly: AssemblyVersion("1.0.*")]
30 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NestedProj - da0eb39c-13bc-41b4-8c29-889d52713634
6 | Company
7 | 1.0
8 | Information about my package
9 | 1033
10 | false
11 |
12 |
13 | Pro
14 | VST_All
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | Microsoft.VisualStudio.Project.Samples.NestedProject.pkgdef
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/FrameInfoEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class FrameInfoEnumerator : EnumeratorBase, IEnumDebugFrameInfo2
21 | {
22 | public FrameInfoEnumerator( FRAMEINFO[] threads )
23 | : base( threads )
24 | {
25 | }
26 |
27 | #region IEnumDebugFrameInfo2 Members
28 |
29 | public virtual int Next( uint celt, FRAMEINFO[] rgelt, ref uint celtFetched )
30 | {
31 | return Next( celt, rgelt, out celtFetched );
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/ModuleEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class ModuleEnumerator : EnumeratorBase, IEnumDebugModules2
21 | {
22 | public ModuleEnumerator( IDebugModule2[] modules )
23 | : base( modules )
24 | {
25 | }
26 |
27 | #region IEnumDebugModules2 Members
28 |
29 | public virtual int Next( uint celt, IDebugModule2[] rgelt, ref uint celtFetched )
30 | {
31 | return Next( celt, rgelt, out celtFetched );
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/ProgramEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class ProgramEnumerator : EnumeratorBase, IEnumDebugPrograms2
21 | {
22 | public ProgramEnumerator( IDebugProgram2[] data )
23 | : base( data )
24 | {
25 | }
26 |
27 | #region IEnumDebugPrograms2 Members
28 |
29 | public virtual int Next( uint celt, IDebugProgram2[] rgelt, ref uint celtFetched )
30 | {
31 | return Next( celt, rgelt, out celtFetched );
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/ThreadEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class ThreadEnumerator : EnumeratorBase, IEnumDebugThreads2
21 | {
22 | public ThreadEnumerator( IDebugThread2[] threads )
23 | : base( threads )
24 | {
25 | }
26 |
27 | #region IEnumDebugThreads2 Members
28 |
29 | public virtual int Next( uint celt, IDebugThread2[] rgelt, ref uint celtFetched )
30 | {
31 | return Next( celt, rgelt, out celtFetched );
32 | }
33 |
34 | #endregion
35 | }
36 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | CustomProj - AC4F6611-3817-478E-A1A4-ADF38CDBF1DB
5 | Company
6 | 1.0
7 | Information about my package
8 | 1033
9 | false
10 |
11 |
12 | Pro
13 | VST_All
14 |
15 |
16 |
17 |
18 |
19 |
20 | Microsoft.VisualStudio.Project.Samples.CustomProject.pkgdef
21 |
22 |
23 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Templates/Projects/MyCustomProject/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | //
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | //
9 | [assembly: AssemblyTitle("")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("")]
14 | [assembly: AssemblyCopyright("")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 |
18 | //
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Revision and Build Numbers
27 | // by using the '*' as shown below:
28 |
29 | [assembly: AssemblyVersion("1.0.*")]
30 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Project/OAPsProjectFileItem.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Runtime.InteropServices;
15 | using Microsoft.VisualStudio.Project;
16 | using Microsoft.VisualStudio.Project.Automation;
17 | using NLog;
18 | using PowerStudio.Resources;
19 |
20 | #endregion
21 |
22 | namespace PowerStudio.LanguageServices.PowerShell.Project
23 | {
24 | [ComVisible( true )]
25 | [Guid( PsConstants.ProjectFileItemGuid )]
26 | public class OAPsProjectFileItem : OAFileItem
27 | {
28 | private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
29 |
30 | public OAPsProjectFileItem( OAProject project, FileNode node )
31 | : base( project, node )
32 | {
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Ini/NumberIdenifier.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Text.RegularExpressions;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices.Ini
19 | {
20 | public static class NumberIdenifier
21 | {
22 | public static readonly Regex FloatingPointNumberRegexWithExponent =
23 | new Regex( @"[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?", RegexOptions.Compiled );
24 |
25 | public static bool IsNumber( string value )
26 | {
27 | if ( string.IsNullOrWhiteSpace( value ) )
28 | {
29 | return false;
30 | }
31 | bool isMatch = FloatingPointNumberRegexWithExponent.IsMatch( value );
32 | return isMatch;
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/localtestrun.testrunconfig:
--------------------------------------------------------------------------------
1 |
2 |
3 | This is a default test run configuration for a local test run.
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/LocalTestRun.testrunconfig:
--------------------------------------------------------------------------------
1 |
2 |
3 | This is a default test run configuration for a local test run.
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | PowerStudio
2 | =============
3 | PowerStudio is a Windows PowerShell integration for Visual Studio 2010. We currently support
4 |
5 | 1. Code coloring
6 | 1. Built-in and declared variable auto-completion IntelliSense
7 | 1. Error detection for tokens and expressions
8 | 1. Tooltips for error information
9 | 1. Code folding
10 | 1. Brace matching
11 | 1. Project and file templates
12 |
13 | Prerequisites
14 | -------
15 | In order to build and run the code (only needed for contributing to the project), you will need to install a few items:
16 |
17 | Either
18 |
19 | * [Visual Studio 2010 SDK](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=21307c23-f0ff-4ef2-a0a4-dca54ddb1e21)
20 |
21 | Or
22 |
23 | * [Visual Studio 2010 SP1](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5)
24 |
25 | * [Visual Studio 2010 SP1 SDK](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=21307c23-f0ff-4ef2-a0a4-dca54ddb1e21)
26 |
27 | Optional:
28 |
29 | * [PowerShell 2.0 SDK](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=50633A1F-A665-425D-923C-1A269F8AC084)
30 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/IncompatibleDebugEngineAttribute.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Attributes
19 | {
20 | [AttributeUsage( AttributeTargets.Class, Inherited = true, AllowMultiple = true )]
21 | public abstract class IncompatibleDebugEngineAttribute : Attribute
22 | {
23 | protected IncompatibleDebugEngineAttribute()
24 | : this( false )
25 | {
26 | }
27 |
28 | private IncompatibleDebugEngineAttribute( bool autoSelect )
29 | {
30 | AutoSelect = autoSelect;
31 | }
32 |
33 | public abstract string Name { get; }
34 | public abstract Guid Guid { get; }
35 | public bool AutoSelect { get; set; }
36 | }
37 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Tagging/Tags/HighlightWordTag.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Text.Tagging;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.LanguageServices.Tagging.Tags
19 | {
20 | public class HighlightWordTag : TokenTag, ITextMarkerTag
21 | {
22 | ///
23 | /// Initializes a new instance of the class.
24 | ///
25 | public HighlightWordTag()
26 | {
27 | Type = PredefinedTextMarkerTags.WordHighlight;
28 | }
29 |
30 | #region ITextMarkerTag Members
31 |
32 | ///
33 | /// Gets the type of adornment to use.
34 | ///
35 | public string Type { get; private set; }
36 |
37 | #endregion
38 | }
39 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/CodeContextEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class CodeContextEnumerator : EnumeratorBase,
21 | IEnumDebugCodeContexts2
22 | {
23 | public CodeContextEnumerator( IDebugCodeContext2[] codeContexts )
24 | : base( codeContexts )
25 | {
26 | }
27 |
28 | #region IEnumDebugCodeContexts2 Members
29 |
30 | public virtual int Next( uint celt, IDebugCodeContext2[] rgelt, ref uint celtFetched )
31 | {
32 | return Next( celt, rgelt, out celtFetched );
33 | }
34 |
35 | #endregion
36 | }
37 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Project/PowerShellConfigProvider.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Project;
15 | using NLog;
16 |
17 | #endregion
18 |
19 | namespace PowerStudio.LanguageServices.PowerShell.Project
20 | {
21 | public class PowerShellConfigProvider : ConfigProvider
22 | {
23 | private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
24 |
25 | public PowerShellConfigProvider( ProjectNode manager )
26 | : base( manager )
27 | {
28 | Logger.Debug( string.Empty );
29 | }
30 |
31 | protected override ProjectConfig CreateProjectConfiguration( string configName )
32 | {
33 | Logger.Debug( string.Empty );
34 | return new PowerShellProjectConfig( ProjectMgr, configName );
35 | }
36 | }
37 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/ProvideProgramProviderAttribute.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 | using Microsoft.VisualStudio.Debugger.Interop;
16 |
17 | #endregion
18 |
19 | namespace PowerStudio.DebugEngine.Attributes
20 | {
21 | [AttributeUsage( AttributeTargets.Class, Inherited = true, AllowMultiple = true )]
22 | public sealed class ProvideProgramProviderAttribute : ProvideTypeAttribute
23 | {
24 | public ProvideProgramProviderAttribute( Type type )
25 | : base( type )
26 | {
27 | if ( !typeof (IDebugProgramProvider2).IsAssignableFrom( type ) )
28 | {
29 | string message = string.Format( "The specified type [{0}] must be a debug program provider.", type );
30 | throw new ArgumentException( message );
31 | }
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Ini/LanguageConfiguration.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.ComponentModel.Composition;
15 | using Microsoft.VisualStudio.Utilities;
16 |
17 | #endregion
18 |
19 | namespace PowerStudio.LanguageServices.Ini
20 | {
21 | public static class LanguageConfiguration
22 | {
23 | public const string Name = "ini";
24 |
25 | public const string BaseDefinitionName = "text";
26 |
27 | #pragma warning disable 0649
28 |
29 | [Export]
30 | [Name( Name )]
31 | [BaseDefinition( BaseDefinitionName )]
32 | internal static ContentTypeDefinition IniContentTypeDefinition;
33 |
34 | [Export]
35 | [FileExtension( ".ini" )]
36 | [ContentType( Name )]
37 | internal static FileExtensionToContentTypeDefinition IniFileExtensionDefinition;
38 |
39 | #pragma warning restore 0649
40 | }
41 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/BoundBreakpointsEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class BoundBreakpointsEnumerator : EnumeratorBase,
21 | IEnumDebugBoundBreakpoints2
22 | {
23 | public BoundBreakpointsEnumerator( IDebugBoundBreakpoint2[] breakpoints )
24 | : base( breakpoints )
25 | {
26 | }
27 |
28 | #region IEnumDebugBoundBreakpoints2 Members
29 |
30 | public virtual int Next( uint celt, IDebugBoundBreakpoint2[] rgelt, ref uint celtFetched )
31 | {
32 | return Next( celt, rgelt, out celtFetched );
33 | }
34 |
35 | #endregion
36 | }
37 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Enumerators/PendingBreakpointsEnumerator.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Debugger.Interop;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine.Enumerators
19 | {
20 | public class PendingBreakpointsEnumerator : EnumeratorBase,
21 | IEnumDebugPendingBreakpoints2
22 | {
23 | public PendingBreakpointsEnumerator( IDebugPendingBreakpoint2[] breakpoints )
24 | : base( breakpoints )
25 | {
26 | }
27 |
28 | #region IEnumDebugPendingBreakpoints2 Members
29 |
30 | public virtual int Next( uint celt, IDebugPendingBreakpoint2[] rgelt, ref uint celtFetched )
31 | {
32 | return Next( celt, rgelt, out celtFetched );
33 | }
34 |
35 | #endregion
36 | }
37 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Mocks/MockIVsSolution.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 | using System.Text;
16 | using Microsoft.VsSDK.UnitTestLibrary;
17 | using Microsoft.VisualStudio.Shell.Interop;
18 |
19 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests
20 | {
21 | public static class MockIVsSolution
22 | {
23 | private static GenericMockFactory factory;
24 |
25 | static MockIVsSolution()
26 | {
27 | factory = new GenericMockFactory("MockIVsSolution", new Type[] { typeof(IVsSolution) });
28 | }
29 |
30 | public static BaseMock GetInstance()
31 | {
32 | return factory.GetInstance();
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Mocks/MockIVsTaskList.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 | using System.Text;
16 | using Microsoft.VsSDK.UnitTestLibrary;
17 | using Microsoft.VisualStudio.Shell.Interop;
18 |
19 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests
20 | {
21 | public static class MockIVsTaskList
22 | {
23 | private static GenericMockFactory factory;
24 |
25 | static MockIVsTaskList()
26 | {
27 | factory = new GenericMockFactory("MockIVsTaskList", new Type[] { typeof(IVsTaskList) });
28 | }
29 |
30 | public static BaseMock GetInstance()
31 | {
32 | return factory.GetInstance();
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/source/PowerStudio.Integration.Tests/SignOff-Tests/SolutionTests.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Microsoft.VisualStudio.Shell.Interop;
3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
4 | using Microsoft.VsSDK.IntegrationTestLibrary;
5 | using Microsoft.VSSDK.Tools.VsIdeTesting;
6 |
7 | namespace PowerShell.LanguageService_IntegrationTests.IntegrationTests
8 | {
9 | [TestClass]
10 | public class SolutionTests
11 | {
12 | ///
13 | ///Gets or sets the test context which provides
14 | ///information about and functionality for the current test run.
15 | ///
16 | public TestContext TestContext { get; set; }
17 |
18 |
19 | [TestMethod]
20 | [HostType( "VS IDE" )]
21 | public void AnEmptySolutionCanBeCreated()
22 | {
23 | UIThreadInvoker.Invoke( (Action) CreateEmptySolution );
24 | }
25 |
26 | public void CreateEmptySolution()
27 | {
28 | var testUtils = new TestUtils();
29 | testUtils.CloseCurrentSolution(
30 | __VSSLNSAVEOPTIONS.SLNSAVEOPT_NoSave );
31 | testUtils.CreateEmptySolution( TestContext.TestDir, "EmptySolution" );
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/GuidStrings.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 |
14 | namespace Microsoft.VisualStudio.Project.Samples.NestedProject
15 | {
16 | ///
17 | /// This class contains a list of GUIDs specific to this sample,
18 | /// especially the package GUID and the commands group GUID.
19 | ///
20 | public static class GuidStrings
21 | {
22 | public const string GuidNestedProjectPackage = "E8DB7025-3FC3-45ff-9E3A-F6C0B2FE69B4";
23 | public const string GuidNestedProjectNode = "EBFA6841-822F-4eb6-9B82-626828F28CF1";
24 | public const string GuidNestedProjectFactory = "1CFCDD29-C8A2-4556-9C2E-5ABBD9952B20";
25 | public const string GuidGeneralPropertyPage = "BC23D1AF-627C-4e75-8673-1D79DB684962";
26 |
27 | }
28 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/Src/Attributes/ResourcesDescriptionAttribute.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.ComponentModel;
14 |
15 | namespace Microsoft.VisualStudio.Project.Samples.NestedProject
16 | {
17 | [AttributeUsage(AttributeTargets.All)]
18 | internal sealed class ResourcesDescriptionAttribute : DescriptionAttribute
19 | {
20 | private bool replaced;
21 |
22 | public ResourcesDescriptionAttribute(string description)
23 | : base(description)
24 | {
25 | }
26 |
27 | public override string Description
28 | {
29 | get
30 | {
31 | if(!replaced)
32 | {
33 | replaced = true;
34 | DescriptionValue = Resources.GetString(base.Description);
35 | }
36 | return base.Description;
37 | }
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Guids.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 |
16 | #endregion
17 |
18 | namespace PowerStudio.DebugEngine
19 | {
20 | public static class Guids
21 | {
22 | public static readonly Guid FilterRegistersGuid = new Guid("223ae797-bd09-4f28-8241-2763bdc5f713");
23 | public static readonly Guid FilterLocalsGuid = new Guid("b200f725-e725-4c53-b36a-1ec27aef12ef");
24 | public static readonly Guid FilterAllLocalsGuid = new Guid("196db21f-5f22-45a9-b5a3-32cddb30db06");
25 | public static readonly Guid FilterArgsGuid = new Guid("804bccea-0475-4ae7-8a46-1862688ab863");
26 | public static readonly Guid FilterLocalsPlusArgsGuid = new Guid("e74721bb-10c0-40f5-807f-920d37f95419");
27 | public static readonly Guid FilterAllLocalsPlusArgsGuid = new Guid("939729a8-4cb0-4647-9831-7ff465240d5f");
28 | public static readonly Guid CppLanguageGuid = new Guid("3a12d0b7-c26c-11d0-b442-00a0244a1dd2");
29 | }
30 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Mocks/MockIVsRegisterProjectTypes.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 | using System.Text;
16 | using Microsoft.VsSDK.UnitTestLibrary;
17 | using Microsoft.VisualStudio.Shell.Interop;
18 |
19 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests
20 | {
21 | public static class MockIVsRegisterProjectTypes
22 | {
23 | private static GenericMockFactory factory;
24 |
25 | static MockIVsRegisterProjectTypes()
26 | {
27 | factory = new GenericMockFactory("MockIVsRegisterProjectTypes", new Type[] { typeof(IVsRegisterProjectTypes) });
28 | }
29 |
30 | public static BaseMock GetInstance()
31 | {
32 | return factory.GetInstance();
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Mocks/MockIVsUIShell.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 | using System.Text;
16 | using Microsoft.VsSDK.UnitTestLibrary;
17 | using Microsoft.VisualStudio.Shell.Interop;
18 | using Microsoft.VisualStudio;
19 |
20 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests
21 | {
22 | public static class MockIVsUIShell
23 | {
24 | private static GenericMockFactory factory;
25 |
26 | static MockIVsUIShell()
27 | {
28 | factory = new GenericMockFactory("MockIVsUIShell", new Type[] { typeof(IVsUIShell), typeof(IVsUIShellOpenDocument) });
29 | }
30 |
31 | public static BaseMock GetInstance()
32 | {
33 | return factory.GetInstance();
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Src/CSharp/WebProjectBase.Files:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | ProjectBase\Web\CodeBehindCodeGenerator.cs
12 | true
13 |
14 |
15 | ProjectBase\Web\FieldData.cs
16 | true
17 |
18 |
19 | ProjectBase\Web\LockedDocData.cs
20 | true
21 |
22 |
23 | ProjectBase\Web\VsHierarchyItem.cs
24 | true
25 |
26 |
27 | ProjectBase\Web\WAUtilities.cs
28 | true
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Intellisense/QuickInfo/QuickInfoErrorSource.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using Microsoft.VisualStudio.Text;
15 | using Microsoft.VisualStudio.Text.Tagging;
16 | using PowerStudio.LanguageServices.Tagging.Tags;
17 |
18 | #endregion
19 |
20 | namespace PowerStudio.LanguageServices.Intellisense.QuickInfo
21 | {
22 | public class QuickInfoErrorSource : QuickInfoSource, TToken>
23 | {
24 | public QuickInfoErrorSource( ITextBuffer buffer,
25 | ITagAggregator> aggregator,
26 | QuickInfoSourceProvider, TToken> quickInfoErrorSourceProvider )
27 | : base( buffer, aggregator, quickInfoErrorSourceProvider )
28 | {
29 | }
30 |
31 | protected override object GetToolTip( ErrorTokenTag tokenTag )
32 | {
33 | return tokenTag.ToolTipContent;
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio/Templates/Projects/PsProject/PowerShellProject.psproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | Debug
4 | 2.0
5 | 6CAFC0C6-A428-4d30-A9F9-700E829FEA51
6 | Exe
7 | Scripts
8 | Scripts
9 |
10 |
11 | true
12 | bin\Debug\
13 | false
14 |
15 |
16 | true
17 | bin\Release\
18 | false
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/source/PowerStudio.DebugEngine/Attributes/ProvidePortSupplierAttribute.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio.DebugEngine Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 | using Microsoft.VisualStudio.Debugger.Interop;
16 |
17 | #endregion
18 |
19 | namespace PowerStudio.DebugEngine.Attributes
20 | {
21 | [AttributeUsage( AttributeTargets.Class, Inherited = true, AllowMultiple = true )]
22 | public class ProvidePortSupplierAttribute : ProvideTypeAttribute
23 | {
24 | public ProvidePortSupplierAttribute( Type objectType )
25 | : base( objectType )
26 | {
27 | if ( !typeof (IDebugPortSupplier2).IsAssignableFrom( objectType ) )
28 | {
29 | string message = string.Format( "The specified type [{0}] must be a debug program provider.", objectType );
30 | throw new ArgumentException( message );
31 | }
32 | }
33 |
34 | public ProvidePortSupplierAttribute( string id )
35 | : base( id )
36 | {
37 | }
38 | }
39 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices/Editor/IGlyphFactory.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System.Windows;
15 | using Microsoft.VisualStudio.Text.Editor;
16 | using Microsoft.VisualStudio.Text.Formatting;
17 | using PowerStudio.LanguageServices.Tagging.Tags;
18 |
19 | #endregion
20 |
21 | namespace PowerStudio.LanguageServices.Editor
22 | {
23 | public interface IGlyphFactory : IGlyphFactory
24 | where TTokenTag : GlyphTag
25 | {
26 | ///
27 | /// Generates a new glyph visual for the given line and token.
28 | ///
29 | /// The line that this glyph will be placed on.
30 | /// Information about the token glyph for which the visual is being generated.
31 | ///
32 | /// The visual element for the given tag.
33 | ///
34 | UIElement CreateGlyph( IWpfTextViewLine line, TTokenTag token );
35 | }
36 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Mocks/MockIVsSolutionBuildManager.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 | using System.Text;
16 | using Microsoft.VsSDK.UnitTestLibrary;
17 | using Microsoft.VisualStudio.Shell.Interop;
18 |
19 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests
20 | {
21 | public static class MockIVsSolutionBuildManager
22 | {
23 | private static GenericMockFactory factory;
24 |
25 | static MockIVsSolutionBuildManager()
26 | {
27 | factory = new GenericMockFactory("MockIVsSolutionBuildManager", new Type[] { typeof(IVsSolutionBuildManager2), typeof(IVsSolutionBuildManager3) });
28 | }
29 |
30 | public static BaseMock GetInstance()
31 | {
32 | return factory.GetInstance();
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Tests/UnitTests/Utilities.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Reflection;
14 | using System.Runtime;
15 |
16 | namespace Microsoft.VisualStudio.Project.UnitTests
17 | {
18 | internal static class Utilities
19 | {
20 | public delegate void ThrowingFunction();
21 | public static bool HasFunctionThrown(ThrowingFunction func)
22 | where ExceptionType : Exception
23 | {
24 | bool hasThrown = false;
25 | try
26 | {
27 | func();
28 | }
29 | catch(ExceptionType)
30 | {
31 | hasThrown = true;
32 | }
33 | catch(TargetInvocationException e)
34 | {
35 | ExceptionType inner = e.InnerException as ExceptionType;
36 | if(null != inner)
37 | {
38 | hasThrown = true;
39 | }
40 | }
41 |
42 | return hasThrown;
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/Src/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Reflection;
14 | using System.Runtime.InteropServices;
15 |
16 | [assembly: AssemblyTitle("Microsoft.VisualStudio.Project.Samples.CustomProject")]
17 | [assembly: AssemblyDescription("")]
18 | [assembly: AssemblyConfiguration("")]
19 | [assembly: AssemblyCompany("Microsoft")]
20 | [assembly: AssemblyProduct("Microsoft.VisualStudio.Project.Samples.CustomProject")]
21 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
22 | [assembly: AssemblyTrademark("")]
23 | [assembly: AssemblyCulture("")]
24 | [assembly: ComVisible(false)]
25 | [assembly: Guid("d2711c50-1063-4d9d-a00b-fe78b59cdc68")]
26 | [assembly: AssemblyVersion("1.0.0.0")]
27 | [assembly: AssemblyFileVersion("1.0.0.0")]
28 | [assembly: CLSCompliant(false)]
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System.Reflection;
13 | using System.Runtime.CompilerServices;
14 | using System.Runtime.InteropServices;
15 |
16 | [assembly: AssemblyTitle("Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests")]
17 | [assembly: AssemblyDescription("")]
18 | [assembly: AssemblyConfiguration("")]
19 | [assembly: AssemblyCompany("Microsoft")]
20 | [assembly: AssemblyProduct("Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests")]
21 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
22 | [assembly: AssemblyTrademark("")]
23 | [assembly: AssemblyCulture("")]
24 | [assembly: ComVisible(false)]
25 | [assembly: Guid("cbdae589-7705-4c6c-ac94-7a511f9ff36a")]
26 | [assembly: AssemblyVersion("1.0.0.0")]
27 | [assembly: AssemblyFileVersion("1.0.0.0")]
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/NestedProject/UnitTests/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System.Reflection;
13 | using System.Runtime.CompilerServices;
14 | using System.Runtime.InteropServices;
15 |
16 | [assembly: AssemblyTitle("Microsoft.VisualStudio.Project.Samples.NestedProject.UnitTests")]
17 | [assembly: AssemblyDescription("")]
18 | [assembly: AssemblyConfiguration("")]
19 | [assembly: AssemblyCompany("Microsoft")]
20 | [assembly: AssemblyProduct("Microsoft.VisualStudio.Project.Samples.NestedProject.UnitTests")]
21 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
22 | [assembly: AssemblyTrademark("")]
23 | [assembly: AssemblyCulture("")]
24 | [assembly: ComVisible(false)]
25 | [assembly: Guid("d052eb35-e54e-46d7-99e3-bfb2eb03a1ee")]
26 | [assembly: AssemblyVersion("1.0.0.0")]
27 | [assembly: AssemblyFileVersion("1.0.0.0")]
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.PowerShell/Tagging/Providers/OutliningTaggerProvider.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 | using System.ComponentModel.Composition;
16 | using System.Management.Automation;
17 | using Microsoft.VisualStudio.Text;
18 | using Microsoft.VisualStudio.Text.Tagging;
19 | using Microsoft.VisualStudio.Utilities;
20 | using PowerStudio.LanguageServices.PowerShell.Tagging.Taggers;
21 | using PowerStudio.LanguageServices.Tagging.Providers;
22 | using PowerStudio.LanguageServices.Tagging.Tags;
23 |
24 | #endregion
25 |
26 | namespace PowerStudio.LanguageServices.PowerShell.Tagging.Providers
27 | {
28 | [Export( typeof (ITaggerProvider) )]
29 | [TagType(typeof(OutliningTag))]
30 | [ContentType( LanguageConfiguration.Name )]
31 | public class OutliningTaggerProvider : TaggerProviderBase
32 | {
33 | protected override Func> GetFactory( ITextBuffer buffer )
34 | {
35 | return () => new OutliningTagger( buffer ) as ITagger;
36 | }
37 | }
38 | }
--------------------------------------------------------------------------------
/source/Microsoft.VisualStudio.Project/Dev10/Samples/CSharp/CustomProject/UnitTests/Mocks/MockIVsFileChangeEx.cs:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 | This code is licensed under the Visual Studio SDK license terms.
5 | THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 | ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 | IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 | PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
9 |
10 | ***************************************************************************/
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 | using System.Text;
16 | using Microsoft.VsSDK.UnitTestLibrary;
17 | using Microsoft.VisualStudio.Shell.Interop;
18 | using Microsoft.VisualStudio;
19 |
20 | namespace Microsoft.VisualStudio.Project.Samples.CustomProject.UnitTests
21 | {
22 | public static class MockIVsFileChangeEx
23 | {
24 | private static GenericMockFactory factory;
25 |
26 | static MockIVsFileChangeEx()
27 | {
28 | factory = new GenericMockFactory("MockIVsFileChangeEx", new Type[] { typeof(IVsFileChangeEx)});
29 | }
30 |
31 | public static BaseMock GetInstance()
32 | {
33 | return factory.GetInstance();
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/source/PowerStudio.LanguageServices.Tests/Tagging/Tags/TokenClassificationTagTests.cs:
--------------------------------------------------------------------------------
1 | #region License
2 |
3 | //
4 | // Copyright (c) 2011, PowerStudio Project Contributors
5 | //
6 | // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7 | // See the file LICENSE.txt for details.
8 | //
9 |
10 | #endregion
11 |
12 | #region Using Directives
13 |
14 | using System;
15 | using Microsoft.VisualStudio.Text.Classification;
16 | using PowerStudio.LanguageServices.Tagging.Tags;
17 | using Moq;
18 | using Xunit;
19 |
20 | #endregion
21 |
22 | namespace PowerStudio.LanguageServices.Tests.Tagging.Tags
23 | {
24 | public class TokenClassificationTagTests
25 | {
26 | [Fact]
27 | public void WhenNullIsPassedIntoTheCtor_ThenAnExceptionIsThrown()
28 | {
29 | Assert.Throws( () => new TokenClassificationTag