Skip to content

Commit 68cfc48

Browse files
committed
bunch of random crap to revert later
1 parent dd66736 commit 68cfc48

14 files changed

Lines changed: 54 additions & 72 deletions

File tree

NuGet.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<solution>
44
<add key="disableSourceControlIntegration" value="true" />
@@ -15,6 +15,7 @@
1515
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
1616
<add key="vssdk" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" />
1717
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
18+
<add key="another one" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/7.0.100-rtm.22518.5-shipping/nuget/v3/index.json" />
1819
</packageSources>
1920
<disabledPackageSources>
2021
<clear />

vsintegration/src/FSharp.LanguageService.Base/Source.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ private void HandleMethodTipResponse(BackgroundRequest_DEPRECATED req)
12431243
Microsoft.FSharp.Core.FSharpOption<MethodListForAMethodTip_DEPRECATED> methodsOpt = req.ResultIntellisenseInfo.GetMethodListForAMethodTip();
12441244
if (methodsOpt != null)
12451245
{
1246-
MethodListForAMethodTip_DEPRECATED methods = methodsOpt.Value;
1246+
MethodListForAMethodTip_DEPRECATED methods = null;
12471247

12481248
if (methods != null)
12491249
{

vsintegration/src/FSharp.LanguageService.Base/ViewFilter.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,7 @@ protected virtual int QueryCommandStatus(ref Guid guidCmdGroup, uint nCmdId)
418418
{
419419
var dbgState = Interactive.Hooks.GetDebuggerState(GetProjectSystemPackage());
420420

421-
if (dbgState == Interactive.FsiDebuggerState.AttachedNotToFSI)
422-
return (int)OLECMDF.OLECMDF_INVISIBLE;
423-
else
424-
return (int)OLECMDF.OLECMDF_SUPPORTED | (int)OLECMDF.OLECMDF_ENABLED;
421+
return (int)OLECMDF.OLECMDF_SUPPORTED | (int)OLECMDF.OLECMDF_ENABLED;
425422
}
426423
}
427424

@@ -543,20 +540,17 @@ public virtual bool HandlePreExec(ref Guid guidCmdGroup, uint nCmdId, uint nCmde
543540
{
544541
if (nCmdId == (uint) Microsoft.VisualStudio.VSConstants.VSStd11CmdID.ExecuteSelectionInInteractive)
545542
{
546-
Interactive.Hooks.OnMLSend(GetProjectSystemPackage(), Interactive.FsiEditorSendAction.ExecuteSelection, null, null);
547543
return true;
548544
}
549545
else if (nCmdId == (uint) Microsoft.VisualStudio.VSConstants.VSStd11CmdID.ExecuteLineInInteractive)
550546
{
551-
Interactive.Hooks.OnMLSend(GetProjectSystemPackage(), Interactive.FsiEditorSendAction.ExecuteLine, null, null);
552547
return true;
553548
}
554549
}
555550
else if (guidCmdGroup == guidInteractive)
556551
{
557552
if (nCmdId == cmdIDDebugSelection)
558553
{
559-
Interactive.Hooks.OnMLSend(GetProjectSystemPackage(), Interactive.FsiEditorSendAction.DebugSelection, null, null);
560554
return true;
561555
}
562556
}

vsintegration/tests/MockTypeProviders/DefinitionLocationAttribute/TypeProviderInCSharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public Type[] GetTypes()
4545
return new Type[] { myType };
4646
}
4747

48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5348
public Type ResolveTypeName(string typeName)
5449
{
5550

@@ -59,6 +54,11 @@ public Type ResolveTypeName(string typeName)
5954
}
6055
return null;
6156
}
57+
58+
string IProvidedNamespace.get_NamespaceName()
59+
{
60+
throw new NotImplementedException();
61+
}
6262
}
6363

6464
[TypeProvider()]

vsintegration/tests/MockTypeProviders/DefinitionLocationAttributeFileDoesnotExist/TypeProviderInCSharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public Type[] GetTypes()
4545
return new Type[] { myType };
4646
}
4747

48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5348
public Type ResolveTypeName(string typeName)
5449
{
5550

@@ -59,6 +54,11 @@ public Type ResolveTypeName(string typeName)
5954
}
6055
return null;
6156
}
57+
58+
string IProvidedNamespace.get_NamespaceName()
59+
{
60+
throw new NotImplementedException();
61+
}
6262
}
6363

6464
[TypeProvider()]

vsintegration/tests/MockTypeProviders/DefinitionLocationAttributeLineDoesnotExist/TypeProviderInCSharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public Type[] GetTypes()
4545
return new Type[] { myType };
4646
}
4747

48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5348
public Type ResolveTypeName(string typeName)
5449
{
5550

@@ -59,6 +54,11 @@ public Type ResolveTypeName(string typeName)
5954
}
6055
return null;
6156
}
57+
58+
string IProvidedNamespace.get_NamespaceName()
59+
{
60+
throw new NotImplementedException();
61+
}
6262
}
6363

6464
[TypeProvider()]

vsintegration/tests/MockTypeProviders/DefinitionLocationAttributeWithSpaceInTheType/TypeProviderInCSharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public Type[] GetTypes()
4545
return new Type[] { myType };
4646
}
4747

48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5348
public Type ResolveTypeName(string typeName)
5449
{
5550

@@ -59,6 +54,11 @@ public Type ResolveTypeName(string typeName)
5954
}
6055
return null;
6156
}
57+
58+
string IProvidedNamespace.get_NamespaceName()
59+
{
60+
throw new NotImplementedException();
61+
}
6262
}
6363

6464
[TypeProvider()]

vsintegration/tests/MockTypeProviders/EditorHideMethodsAttribute/TypeProviderInCSharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public Type[] GetTypes()
4545
return new Type[] { myType };
4646
}
4747

48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5348
public Type ResolveTypeName(string typeName)
5449
{
5550

@@ -59,6 +54,11 @@ public Type ResolveTypeName(string typeName)
5954
}
6055
return null;
6156
}
57+
58+
string IProvidedNamespace.get_NamespaceName()
59+
{
60+
throw new NotImplementedException();
61+
}
6262
}
6363

6464
[TypeProvider()]

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithAdequateComment/TypeProviderInCSharp.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ public Type[] GetTypes()
4444

4545
return new Type[] { myType };
4646
}
47-
48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5347
public Type ResolveTypeName(string typeName)
5448
{
5549

@@ -59,6 +53,11 @@ public Type ResolveTypeName(string typeName)
5953
}
6054
return null;
6155
}
56+
57+
string IProvidedNamespace.get_NamespaceName()
58+
{
59+
throw new NotImplementedException();
60+
}
6261
}
6362

6463
[TypeProvider()]

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithEmptyComment/TypeProviderInCSharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public Type[] GetTypes()
4545
return new Type[] { myType };
4646
}
4747

48-
public string NamespaceName
49-
{
50-
get { return _Namespace; }
51-
}
52-
5348
public Type ResolveTypeName(string typeName)
5449
{
5550

@@ -59,6 +54,11 @@ public Type ResolveTypeName(string typeName)
5954
}
6055
return null;
6156
}
57+
58+
string IProvidedNamespace.get_NamespaceName()
59+
{
60+
throw new NotImplementedException();
61+
}
6262
}
6363

6464
[TypeProvider()]

0 commit comments

Comments
 (0)