Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7626,7 +7626,7 @@ public void M1()
[Fact, WorkItem("http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/994328")]
public async Task TestDisposePatternWhenAdditionalUsingsAreIntroduced1()
{
#if NET9_0_OR_GREATER
#if NET
var extraUsing = """

using System.Diagnostics.CodeAnalysis;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>$(NetRoslyn);net472</TargetFrameworks>
<!-- Test our primary scenarios: VS OOP, VS Code, devenv -->
<TargetFrameworks>$(NetVSShared);net472</TargetFrameworks>
<RootNamespace>Microsoft.CodeAnalysis.CSharp.UnitTests</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand All @@ -21,7 +22,7 @@

<CopyPublishedOutputProjectReference Include="..\..\Tools\SemanticSearch\ReferenceAssemblies\SemanticSearch.ReferenceAssemblies.csproj">
<OutputItemType>SemanticSearch_RefAssemblies</OutputItemType>
<SetTargetFramework>TargetFramework=$(NetRoslyn)</SetTargetFramework>
<SetTargetFramework>TargetFramework=$(NetVS)</SetTargetFramework>
</CopyPublishedOutputProjectReference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.UnitTests</RootNamespace>
<TargetFrameworks>$(NetRoslyn);net472</TargetFrameworks>
<!-- Test our primary scenarios: VS OOP, VS Code, devenv -->
<TargetFrameworks>$(NetVSShared);net472</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup Label="Project References">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.Test.Utilities</RootNamespace>
<TargetFrameworks>$(NetRoslynAll);net472</TargetFrameworks>
<TargetFrameworks>$(NetVS);net472</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsShipping>false</IsShipping>
<IsTestUtilityProject>true</IsTestUtilityProject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>$(NetRoslyn);net472</TargetFrameworks>
<!-- Test our primary scenarios: VS OOP, VS Code, devenv -->
<TargetFrameworks>$(NetVSShared);net472</TargetFrameworks>
<RootNamespace></RootNamespace>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,14 @@ System.Collections.Frozen.FrozenDictionary.ToFrozenDictionary``2(System.Collecti
System.Collections.Frozen.FrozenDictionary.ToFrozenDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})
System.Collections.Frozen.FrozenDictionary.ToFrozenDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1})
System.Collections.Frozen.FrozenDictionary`2
System.Collections.Frozen.FrozenDictionary`2.AlternateLookup`1
System.Collections.Frozen.FrozenDictionary`2.AlternateLookup`1.ContainsKey(`2)
System.Collections.Frozen.FrozenDictionary`2.AlternateLookup`1.TryGetValue(`2,`1@)
System.Collections.Frozen.FrozenDictionary`2.AlternateLookup`1.get_Dictionary
System.Collections.Frozen.FrozenDictionary`2.AlternateLookup`1.get_Item(`2)
System.Collections.Frozen.FrozenDictionary`2.ContainsKey(`0)
System.Collections.Frozen.FrozenDictionary`2.CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)
System.Collections.Frozen.FrozenDictionary`2.CopyTo(System.Span{System.Collections.Generic.KeyValuePair{`0,`1}})
System.Collections.Frozen.FrozenDictionary`2.Enumerator
System.Collections.Frozen.FrozenDictionary`2.Enumerator.MoveNext
System.Collections.Frozen.FrozenDictionary`2.Enumerator.get_Current
System.Collections.Frozen.FrozenDictionary`2.GetAlternateLookup``1
System.Collections.Frozen.FrozenDictionary`2.GetEnumerator
System.Collections.Frozen.FrozenDictionary`2.GetValueRefOrNullRef(`0)
System.Collections.Frozen.FrozenDictionary`2.TryGetAlternateLookup``1(System.Collections.Frozen.FrozenDictionary{`0,`1}.AlternateLookup{``0}@)
System.Collections.Frozen.FrozenDictionary`2.TryGetValue(`0,`1@)
System.Collections.Frozen.FrozenDictionary`2.get_Comparer
System.Collections.Frozen.FrozenDictionary`2.get_Count
Expand All @@ -27,29 +20,21 @@ System.Collections.Frozen.FrozenDictionary`2.get_Item(`0)
System.Collections.Frozen.FrozenDictionary`2.get_Keys
System.Collections.Frozen.FrozenDictionary`2.get_Values
System.Collections.Frozen.FrozenSet
System.Collections.Frozen.FrozenSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},System.ReadOnlySpan{``0})
System.Collections.Frozen.FrozenSet.Create``1(System.ReadOnlySpan{``0})
System.Collections.Frozen.FrozenSet.ToFrozenSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})
System.Collections.Frozen.FrozenSet`1
System.Collections.Frozen.FrozenSet`1.AlternateLookup`1
System.Collections.Frozen.FrozenSet`1.AlternateLookup`1.Contains(`1)
System.Collections.Frozen.FrozenSet`1.AlternateLookup`1.TryGetValue(`1,`0@)
System.Collections.Frozen.FrozenSet`1.AlternateLookup`1.get_Set
System.Collections.Frozen.FrozenSet`1.Contains(`0)
System.Collections.Frozen.FrozenSet`1.CopyTo(System.Span{`0})
System.Collections.Frozen.FrozenSet`1.CopyTo(`0[],System.Int32)
System.Collections.Frozen.FrozenSet`1.Enumerator
System.Collections.Frozen.FrozenSet`1.Enumerator.MoveNext
System.Collections.Frozen.FrozenSet`1.Enumerator.get_Current
System.Collections.Frozen.FrozenSet`1.GetAlternateLookup``1
System.Collections.Frozen.FrozenSet`1.GetEnumerator
System.Collections.Frozen.FrozenSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.Frozen.FrozenSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.Frozen.FrozenSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.Frozen.FrozenSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.Frozen.FrozenSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})
System.Collections.Frozen.FrozenSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})
System.Collections.Frozen.FrozenSet`1.TryGetAlternateLookup``1(System.Collections.Frozen.FrozenSet{`0}.AlternateLookup{``0}@)
System.Collections.Frozen.FrozenSet`1.TryGetValue(`0,`0@)
System.Collections.Frozen.FrozenSet`1.get_Comparer
System.Collections.Frozen.FrozenSet`1.get_Count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,6 @@ System.Collections.Generic.Dictionary`2.#ctor(System.Int32)
System.Collections.Generic.Dictionary`2.#ctor(System.Int32,System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.Dictionary`2.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary`2.Add(`0,`1)
System.Collections.Generic.Dictionary`2.AlternateLookup`1
System.Collections.Generic.Dictionary`2.AlternateLookup`1.ContainsKey(`2)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.Remove(`2)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.Remove(`2,`0@,`1@)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.TryAdd(`2,`1)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.TryGetValue(`2,`0@,`1@)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.TryGetValue(`2,`1@)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.get_Dictionary
System.Collections.Generic.Dictionary`2.AlternateLookup`1.get_Item(`2)
System.Collections.Generic.Dictionary`2.AlternateLookup`1.set_Item(`2,`1)
System.Collections.Generic.Dictionary`2.Clear
System.Collections.Generic.Dictionary`2.ContainsKey(`0)
System.Collections.Generic.Dictionary`2.ContainsValue(`1)
Expand All @@ -72,7 +62,6 @@ System.Collections.Generic.Dictionary`2.Enumerator
System.Collections.Generic.Dictionary`2.Enumerator.Dispose
System.Collections.Generic.Dictionary`2.Enumerator.MoveNext
System.Collections.Generic.Dictionary`2.Enumerator.get_Current
System.Collections.Generic.Dictionary`2.GetAlternateLookup``1
System.Collections.Generic.Dictionary`2.GetEnumerator
System.Collections.Generic.Dictionary`2.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary`2.KeyCollection
Expand All @@ -91,7 +80,6 @@ System.Collections.Generic.Dictionary`2.Remove(`0,`1@)
System.Collections.Generic.Dictionary`2.TrimExcess
System.Collections.Generic.Dictionary`2.TrimExcess(System.Int32)
System.Collections.Generic.Dictionary`2.TryAdd(`0,`1)
System.Collections.Generic.Dictionary`2.TryGetAlternateLookup``1(System.Collections.Generic.Dictionary{`0,`1}.AlternateLookup{``0}@)
System.Collections.Generic.Dictionary`2.TryGetValue(`0,`1@)
System.Collections.Generic.Dictionary`2.ValueCollection
System.Collections.Generic.Dictionary`2.ValueCollection.#ctor(System.Collections.Generic.Dictionary{`0,`1})
Expand All @@ -102,7 +90,6 @@ System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext
System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.get_Current
System.Collections.Generic.Dictionary`2.ValueCollection.GetEnumerator
System.Collections.Generic.Dictionary`2.ValueCollection.get_Count
System.Collections.Generic.Dictionary`2.get_Capacity
System.Collections.Generic.Dictionary`2.get_Comparer
System.Collections.Generic.Dictionary`2.get_Count
System.Collections.Generic.Dictionary`2.get_Item(`0)
Expand All @@ -124,12 +111,6 @@ System.Collections.Generic.HashSet`1.#ctor(System.Int32)
System.Collections.Generic.HashSet`1.#ctor(System.Int32,System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.HashSet`1.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.HashSet`1.Add(`0)
System.Collections.Generic.HashSet`1.AlternateLookup`1
System.Collections.Generic.HashSet`1.AlternateLookup`1.Add(`1)
System.Collections.Generic.HashSet`1.AlternateLookup`1.Contains(`1)
System.Collections.Generic.HashSet`1.AlternateLookup`1.Remove(`1)
System.Collections.Generic.HashSet`1.AlternateLookup`1.TryGetValue(`1,`0@)
System.Collections.Generic.HashSet`1.AlternateLookup`1.get_Set
System.Collections.Generic.HashSet`1.Clear
System.Collections.Generic.HashSet`1.Contains(`0)
System.Collections.Generic.HashSet`1.CopyTo(`0[])
Expand All @@ -142,7 +123,6 @@ System.Collections.Generic.HashSet`1.Enumerator.Dispose
System.Collections.Generic.HashSet`1.Enumerator.MoveNext
System.Collections.Generic.HashSet`1.Enumerator.get_Current
System.Collections.Generic.HashSet`1.ExceptWith(System.Collections.Generic.IEnumerable{`0})
System.Collections.Generic.HashSet`1.GetAlternateLookup``1
System.Collections.Generic.HashSet`1.GetEnumerator
System.Collections.Generic.HashSet`1.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.HashSet`1.IntersectWith(System.Collections.Generic.IEnumerable{`0})
Expand All @@ -157,11 +137,8 @@ System.Collections.Generic.HashSet`1.RemoveWhere(System.Predicate{`0})
System.Collections.Generic.HashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})
System.Collections.Generic.HashSet`1.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})
System.Collections.Generic.HashSet`1.TrimExcess
System.Collections.Generic.HashSet`1.TrimExcess(System.Int32)
System.Collections.Generic.HashSet`1.TryGetAlternateLookup``1(System.Collections.Generic.HashSet{`0}.AlternateLookup{``0}@)
System.Collections.Generic.HashSet`1.TryGetValue(`0,`0@)
System.Collections.Generic.HashSet`1.UnionWith(System.Collections.Generic.IEnumerable{`0})
System.Collections.Generic.HashSet`1.get_Capacity
System.Collections.Generic.HashSet`1.get_Comparer
System.Collections.Generic.HashSet`1.get_Count
System.Collections.Generic.LinkedListNode`1
Expand Down Expand Up @@ -264,58 +241,6 @@ System.Collections.Generic.List`1.get_Count
System.Collections.Generic.List`1.get_Item(System.Int32)
System.Collections.Generic.List`1.set_Capacity(System.Int32)
System.Collections.Generic.List`1.set_Item(System.Int32,`0)
System.Collections.Generic.OrderedDictionary`2
System.Collections.Generic.OrderedDictionary`2.#ctor
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Collections.Generic.IDictionary{`0,`1})
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Collections.Generic.IDictionary{`0,`1},System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}},System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Int32)
System.Collections.Generic.OrderedDictionary`2.#ctor(System.Int32,System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.OrderedDictionary`2.Add(`0,`1)
System.Collections.Generic.OrderedDictionary`2.Clear
System.Collections.Generic.OrderedDictionary`2.ContainsKey(`0)
System.Collections.Generic.OrderedDictionary`2.ContainsValue(`1)
System.Collections.Generic.OrderedDictionary`2.EnsureCapacity(System.Int32)
System.Collections.Generic.OrderedDictionary`2.Enumerator
System.Collections.Generic.OrderedDictionary`2.Enumerator.MoveNext
System.Collections.Generic.OrderedDictionary`2.Enumerator.get_Current
System.Collections.Generic.OrderedDictionary`2.GetAt(System.Int32)
System.Collections.Generic.OrderedDictionary`2.GetEnumerator
System.Collections.Generic.OrderedDictionary`2.IndexOf(`0)
System.Collections.Generic.OrderedDictionary`2.Insert(System.Int32,`0,`1)
System.Collections.Generic.OrderedDictionary`2.KeyCollection
System.Collections.Generic.OrderedDictionary`2.KeyCollection.Contains(`0)
System.Collections.Generic.OrderedDictionary`2.KeyCollection.CopyTo(`0[],System.Int32)
System.Collections.Generic.OrderedDictionary`2.KeyCollection.Enumerator
System.Collections.Generic.OrderedDictionary`2.KeyCollection.Enumerator.MoveNext
System.Collections.Generic.OrderedDictionary`2.KeyCollection.Enumerator.get_Current
System.Collections.Generic.OrderedDictionary`2.KeyCollection.GetEnumerator
System.Collections.Generic.OrderedDictionary`2.KeyCollection.get_Count
System.Collections.Generic.OrderedDictionary`2.Remove(`0)
System.Collections.Generic.OrderedDictionary`2.Remove(`0,`1@)
System.Collections.Generic.OrderedDictionary`2.RemoveAt(System.Int32)
System.Collections.Generic.OrderedDictionary`2.SetAt(System.Int32,`0,`1)
System.Collections.Generic.OrderedDictionary`2.SetAt(System.Int32,`1)
System.Collections.Generic.OrderedDictionary`2.TrimExcess
System.Collections.Generic.OrderedDictionary`2.TrimExcess(System.Int32)
System.Collections.Generic.OrderedDictionary`2.TryAdd(`0,`1)
System.Collections.Generic.OrderedDictionary`2.TryGetValue(`0,`1@)
System.Collections.Generic.OrderedDictionary`2.ValueCollection
System.Collections.Generic.OrderedDictionary`2.ValueCollection.CopyTo(`1[],System.Int32)
System.Collections.Generic.OrderedDictionary`2.ValueCollection.Enumerator
System.Collections.Generic.OrderedDictionary`2.ValueCollection.Enumerator.MoveNext
System.Collections.Generic.OrderedDictionary`2.ValueCollection.Enumerator.get_Current
System.Collections.Generic.OrderedDictionary`2.ValueCollection.GetEnumerator
System.Collections.Generic.OrderedDictionary`2.ValueCollection.get_Count
System.Collections.Generic.OrderedDictionary`2.get_Capacity
System.Collections.Generic.OrderedDictionary`2.get_Comparer
System.Collections.Generic.OrderedDictionary`2.get_Count
System.Collections.Generic.OrderedDictionary`2.get_Item(`0)
System.Collections.Generic.OrderedDictionary`2.get_Keys
System.Collections.Generic.OrderedDictionary`2.get_Values
System.Collections.Generic.OrderedDictionary`2.set_Item(`0,`1)
System.Collections.Generic.PriorityQueue`2
System.Collections.Generic.PriorityQueue`2.#ctor
System.Collections.Generic.PriorityQueue`2.#ctor(System.Collections.Generic.IComparer{`1})
Expand All @@ -332,7 +257,6 @@ System.Collections.Generic.PriorityQueue`2.EnqueueRange(System.Collections.Gener
System.Collections.Generic.PriorityQueue`2.EnqueueRange(System.Collections.Generic.IEnumerable{`0},`1)
System.Collections.Generic.PriorityQueue`2.EnsureCapacity(System.Int32)
System.Collections.Generic.PriorityQueue`2.Peek
System.Collections.Generic.PriorityQueue`2.Remove(`0,`0@,`1@,System.Collections.Generic.IEqualityComparer{`0})
System.Collections.Generic.PriorityQueue`2.TrimExcess
System.Collections.Generic.PriorityQueue`2.TryDequeue(`0@,`1@)
System.Collections.Generic.PriorityQueue`2.TryPeek(`0@,`1@)
Expand Down Expand Up @@ -364,10 +288,8 @@ System.Collections.Generic.Queue`1.GetEnumerator
System.Collections.Generic.Queue`1.Peek
System.Collections.Generic.Queue`1.ToArray
System.Collections.Generic.Queue`1.TrimExcess
System.Collections.Generic.Queue`1.TrimExcess(System.Int32)
System.Collections.Generic.Queue`1.TryDequeue(`0@)
System.Collections.Generic.Queue`1.TryPeek(`0@)
System.Collections.Generic.Queue`1.get_Capacity
System.Collections.Generic.Queue`1.get_Count
System.Collections.Generic.ReferenceEqualityComparer
System.Collections.Generic.ReferenceEqualityComparer.Equals(System.Object,System.Object)
Expand Down Expand Up @@ -502,24 +424,9 @@ System.Collections.Generic.Stack`1.Pop
System.Collections.Generic.Stack`1.Push(`0)
System.Collections.Generic.Stack`1.ToArray
System.Collections.Generic.Stack`1.TrimExcess
System.Collections.Generic.Stack`1.TrimExcess(System.Int32)
System.Collections.Generic.Stack`1.TryPeek(`0@)
System.Collections.Generic.Stack`1.TryPop(`0@)
System.Collections.Generic.Stack`1.get_Capacity
System.Collections.Generic.Stack`1.get_Count
System.Collections.ObjectModel.ReadOnlySet`1
System.Collections.ObjectModel.ReadOnlySet`1.#ctor(System.Collections.Generic.ISet{`0})
System.Collections.ObjectModel.ReadOnlySet`1.Contains(`0)
System.Collections.ObjectModel.ReadOnlySet`1.GetEnumerator
System.Collections.ObjectModel.ReadOnlySet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.ObjectModel.ReadOnlySet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.ObjectModel.ReadOnlySet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.ObjectModel.ReadOnlySet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})
System.Collections.ObjectModel.ReadOnlySet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})
System.Collections.ObjectModel.ReadOnlySet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})
System.Collections.ObjectModel.ReadOnlySet`1.get_Count
System.Collections.ObjectModel.ReadOnlySet`1.get_Empty
System.Collections.ObjectModel.ReadOnlySet`1.get_Set
System.Collections.StructuralComparisons
System.Collections.StructuralComparisons.get_StructuralComparer
System.Collections.StructuralComparisons.get_StructuralEqualityComparer
Loading
Loading