Skip to content

Commit b8ddde3

Browse files
committed
Revert changes for packages that were already existed
1 parent e34b65a commit b8ddde3

File tree

13 files changed

+9602
-16136
lines changed

13 files changed

+9602
-16136
lines changed

src/referencePackages/src/system.diagnostics.debug/4.3.0/ref/netstandard1.0/System.Diagnostics.Debug.cs

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,63 @@ public static void Break() { }
4545
public static bool Launch() { throw null; }
4646
}
4747

48+
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
49+
public sealed partial class DebuggerBrowsableAttribute : Attribute
50+
{
51+
public DebuggerBrowsableAttribute(DebuggerBrowsableState state) { }
52+
53+
public DebuggerBrowsableState State { get { throw null; } }
54+
}
55+
4856
public enum DebuggerBrowsableState
4957
{
5058
Never = 0,
5159
Collapsed = 2,
5260
RootHidden = 3
5361
}
62+
63+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Delegate, AllowMultiple = true)]
64+
public sealed partial class DebuggerDisplayAttribute : Attribute
65+
{
66+
public DebuggerDisplayAttribute(string value) { }
67+
68+
public string Name { get { throw null; } set { } }
69+
70+
public Type Target { get { throw null; } set { } }
71+
72+
public string TargetTypeName { get { throw null; } set { } }
73+
74+
public string Type { get { throw null; } set { } }
75+
76+
public string Value { get { throw null; } }
77+
}
78+
79+
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
80+
public sealed partial class DebuggerHiddenAttribute : Attribute
81+
{
82+
}
83+
84+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
85+
public sealed partial class DebuggerNonUserCodeAttribute : Attribute
86+
{
87+
}
88+
89+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
90+
public sealed partial class DebuggerStepThroughAttribute : Attribute
91+
{
92+
}
93+
94+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
95+
public sealed partial class DebuggerTypeProxyAttribute : Attribute
96+
{
97+
public DebuggerTypeProxyAttribute(string typeName) { }
98+
99+
public DebuggerTypeProxyAttribute(Type type) { }
100+
101+
public string ProxyTypeName { get { throw null; } }
102+
103+
public Type Target { get { throw null; } set { } }
104+
105+
public string TargetTypeName { get { throw null; } set { } }
106+
}
54107
}

src/referencePackages/src/system.diagnostics.debug/4.3.0/ref/netstandard1.3/System.Diagnostics.Debug.cs

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,63 @@ public static void Break() { }
8282
public static bool Launch() { throw null; }
8383
}
8484

85+
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
86+
public sealed partial class DebuggerBrowsableAttribute : Attribute
87+
{
88+
public DebuggerBrowsableAttribute(DebuggerBrowsableState state) { }
89+
90+
public DebuggerBrowsableState State { get { throw null; } }
91+
}
92+
8593
public enum DebuggerBrowsableState
8694
{
8795
Never = 0,
8896
Collapsed = 2,
8997
RootHidden = 3
9098
}
99+
100+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Delegate, AllowMultiple = true)]
101+
public sealed partial class DebuggerDisplayAttribute : Attribute
102+
{
103+
public DebuggerDisplayAttribute(string value) { }
104+
105+
public string Name { get { throw null; } set { } }
106+
107+
public Type Target { get { throw null; } set { } }
108+
109+
public string TargetTypeName { get { throw null; } set { } }
110+
111+
public string Type { get { throw null; } set { } }
112+
113+
public string Value { get { throw null; } }
114+
}
115+
116+
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
117+
public sealed partial class DebuggerHiddenAttribute : Attribute
118+
{
119+
}
120+
121+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
122+
public sealed partial class DebuggerNonUserCodeAttribute : Attribute
123+
{
124+
}
125+
126+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
127+
public sealed partial class DebuggerStepThroughAttribute : Attribute
128+
{
129+
}
130+
131+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
132+
public sealed partial class DebuggerTypeProxyAttribute : Attribute
133+
{
134+
public DebuggerTypeProxyAttribute(string typeName) { }
135+
136+
public DebuggerTypeProxyAttribute(Type type) { }
137+
138+
public string ProxyTypeName { get { throw null; } }
139+
140+
public Type Target { get { throw null; } set { } }
141+
142+
public string TargetTypeName { get { throw null; } set { } }
143+
}
91144
}

src/referencePackages/src/system.memory/4.5.4/lib/netstandard1.1/System.Memory.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public readonly void CopyTo(Memory<T> destination) { }
303303
public readonly bool TryCopyTo(Memory<T> destination) { throw null; }
304304
}
305305

306-
public readonly partial struct ReadOnlySpan<T>
306+
public readonly ref partial struct ReadOnlySpan<T>
307307
{
308308
private readonly object _dummy;
309309
private readonly int _dummyPrimitive;
@@ -352,7 +352,7 @@ public readonly void CopyTo(Span<T> destination) { }
352352

353353
public readonly bool TryCopyTo(Span<T> destination) { throw null; }
354354

355-
public partial struct Enumerator
355+
public ref partial struct Enumerator
356356
{
357357
private ReadOnlySpan<T> _span;
358358
private object _dummy;
@@ -380,7 +380,7 @@ public SequencePosition(object @object, int integer) { }
380380
public readonly object GetObject() { throw null; }
381381
}
382382

383-
public readonly partial struct Span<T>
383+
public readonly ref partial struct Span<T>
384384
{
385385
private readonly object _dummy;
386386
private readonly int _dummyPrimitive;
@@ -435,7 +435,7 @@ public readonly void Fill(T value) { }
435435

436436
public readonly bool TryCopyTo(Span<T> destination) { throw null; }
437437

438-
public partial struct Enumerator
438+
public ref partial struct Enumerator
439439
{
440440
private Span<T> _span;
441441
private object _dummy;

src/referencePackages/src/system.memory/4.5.4/lib/netstandard2.0/System.Memory.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public readonly void CopyTo(Memory<T> destination) { }
303303
public readonly bool TryCopyTo(Memory<T> destination) { throw null; }
304304
}
305305

306-
public readonly partial struct ReadOnlySpan<T>
306+
public readonly ref partial struct ReadOnlySpan<T>
307307
{
308308
private readonly object _dummy;
309309
private readonly int _dummyPrimitive;
@@ -352,7 +352,7 @@ public readonly void CopyTo(Span<T> destination) { }
352352

353353
public readonly bool TryCopyTo(Span<T> destination) { throw null; }
354354

355-
public partial struct Enumerator
355+
public ref partial struct Enumerator
356356
{
357357
private ReadOnlySpan<T> _span;
358358
private object _dummy;
@@ -380,7 +380,7 @@ public SequencePosition(object @object, int integer) { }
380380
public readonly object GetObject() { throw null; }
381381
}
382382

383-
public readonly partial struct Span<T>
383+
public readonly ref partial struct Span<T>
384384
{
385385
private readonly object _dummy;
386386
private readonly int _dummyPrimitive;
@@ -435,7 +435,7 @@ public readonly void Fill(T value) { }
435435

436436
public readonly bool TryCopyTo(Span<T> destination) { throw null; }
437437

438-
public partial struct Enumerator
438+
public ref partial struct Enumerator
439439
{
440440
private Span<T> _span;
441441
private object _dummy;

src/referencePackages/src/system.runtime.interopservices/4.3.0/ref/netcoreapp1.1/System.Runtime.InteropServices.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ public ComAwareEventInfo(Type type, string eventName) { }
132132
public override void AddEventHandler(object target, Delegate handler) { }
133133

134134
public override void RemoveEventHandler(object target, Delegate handler) { }
135+
136+
public override Reflection.MethodInfo GetAddMethod(bool nonPublic) { throw null; }
137+
138+
public override Reflection.MethodInfo GetRaiseMethod(bool nonPublic) { throw null; }
139+
140+
public override Reflection.MethodInfo GetRemoveMethod(bool nonPublic) { throw null; }
135141
}
136142

137143
[AttributeUsage(AttributeTargets.Interface, Inherited = false)]

src/referencePackages/src/system.runtime.interopservices/4.3.0/ref/netstandard1.5/System.Runtime.InteropServices.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ public ComAwareEventInfo(Type type, string eventName) { }
132132
public override void AddEventHandler(object target, Delegate handler) { }
133133

134134
public override void RemoveEventHandler(object target, Delegate handler) { }
135+
136+
public override Reflection.MethodInfo GetAddMethod(bool nonPublic) { throw null; }
137+
138+
public override Reflection.MethodInfo GetRaiseMethod(bool nonPublic) { throw null; }
139+
140+
public override Reflection.MethodInfo GetRemoveMethod(bool nonPublic) { throw null; }
135141
}
136142

137143
[AttributeUsage(AttributeTargets.Interface, Inherited = false)]

src/referencePackages/src/system.runtime/4.3.0/System.Runtime.4.3.0.csproj

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,38 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard1.0;netstandard1.2;netstandard1.3;netstandard1.5</TargetFrameworks>
5-
<AssemblyName>System.Runtime</AssemblyName>
6-
<ProjectTemplateVersion>2</ProjectTemplateVersion>
5+
<NuspecFile>$(ArtifactsBinDir)system.runtime/4.3.0/system.runtime.nuspec</NuspecFile>
76
</PropertyGroup>
87

9-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
8+
<PropertyGroup>
9+
<OutputPath>$(ArtifactsBinDir)system.runtime/4.3.0/ref/</OutputPath>
10+
<IntermediateOutputPath>$(ArtifactsObjDir)system.runtime/4.3.0</IntermediateOutputPath>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<Compile Include="**/ref/$(TargetFramework)/*.cs" />
15+
<Compile Include="**/lib/$(TargetFramework)/*.cs" />
16+
</ItemGroup>
17+
18+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
1019
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" />
1120
<PackageReference Include="Microsoft.NETCore.Targets" Version="1.1.0" />
1221
</ItemGroup>
1322

14-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.2'">
23+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.2' ">
1524
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" />
1625
<PackageReference Include="Microsoft.NETCore.Targets" Version="1.1.0" />
1726
</ItemGroup>
1827

19-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
28+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
2029
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" />
2130
<PackageReference Include="Microsoft.NETCore.Targets" Version="1.1.0" />
2231
</ItemGroup>
2332

24-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.5'">
33+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' ">
2534
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" />
2635
<PackageReference Include="Microsoft.NETCore.Targets" Version="1.1.0" />
2736
</ItemGroup>
2837

38+
2939
</Project>

src/referencePackages/src/system.runtime/4.3.0/ref/net45/_._

Whitespace-only changes.

0 commit comments

Comments
 (0)