| Index: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OAComReference.cs
|
| diff --git a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OAComReference.cs b/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OAComReference.cs
|
| deleted file mode 100644
|
| index d7fc817a1d32dafeacb5e2cb703cb49ea20fa9de..0000000000000000000000000000000000000000
|
| --- a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Automation/OAComReference.cs
|
| +++ /dev/null
|
| @@ -1,77 +0,0 @@
|
| -/// Copyright (c) Microsoft Corporation. All rights reserved.
|
| -
|
| -using System;
|
| -using System.Diagnostics.CodeAnalysis;
|
| -using System.Globalization;
|
| -using System.Runtime.InteropServices;
|
| -
|
| -namespace Microsoft.VisualStudio.Project.Automation
|
| -{
|
| - [SuppressMessage("Microsoft.Interoperability", "CA1405:ComVisibleTypeBaseTypesShouldBeComVisible")]
|
| - [ComVisible(true)]
|
| - public class OAComReference : OAReferenceBase<ComReferenceNode>
|
| - {
|
| - public OAComReference(ComReferenceNode comReference) :
|
| - base(comReference)
|
| - {
|
| - }
|
| -
|
| - #region Reference override
|
| - public override string Culture
|
| - {
|
| - get
|
| - {
|
| - int locale = 0;
|
| - try
|
| - {
|
| - locale = int.Parse(BaseReferenceNode.LCID, CultureInfo.InvariantCulture);
|
| - }
|
| - catch(System.FormatException)
|
| - {
|
| - // Do Nothing
|
| - }
|
| - if(0 == locale)
|
| - {
|
| - return string.Empty;
|
| - }
|
| - CultureInfo culture = new CultureInfo(locale);
|
| - return culture.Name;
|
| - }
|
| - }
|
| - public override string Identity
|
| - {
|
| - get
|
| - {
|
| - return string.Format(CultureInfo.InvariantCulture, "{0}\\{1}", BaseReferenceNode.TypeGuid.ToString("B"), this.Version);
|
| - }
|
| - }
|
| - public override int MajorVersion
|
| - {
|
| - get { return BaseReferenceNode.MajorVersionNumber; }
|
| - }
|
| - public override int MinorVersion
|
| - {
|
| - get { return BaseReferenceNode.MinorVersionNumber; }
|
| - }
|
| - public override string Name
|
| - {
|
| - get { return BaseReferenceNode.Caption; }
|
| - }
|
| - public override VSLangProj.prjReferenceType Type
|
| - {
|
| - get
|
| - {
|
| - return VSLangProj.prjReferenceType.prjReferenceTypeActiveX;
|
| - }
|
| - }
|
| - public override string Version
|
| - {
|
| - get
|
| - {
|
| - Version version = new Version(BaseReferenceNode.MajorVersionNumber, BaseReferenceNode.MinorVersionNumber);
|
| - return version.ToString();
|
| - }
|
| - }
|
| - #endregion
|
| - }
|
| -}
|
|
|