Skip to content

Commit 002915a

Browse files
akoeplingerjoncham
authored andcommitted
[Facades] Add missing Facades that exist in .NET 4.7.1 (mono#7541)
Some of them we had on mobile only, others were missing completely. Fixes mono#7536
1 parent cb33cc6 commit 002915a

File tree

13 files changed

+258
-2
lines changed

13 files changed

+258
-2
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
3+
//
4+
// Permission is hereby granted, free of charge, to any person obtaining a copy
5+
// of this software and associated documentation files (the "Software"), to deal
6+
// in the Software without restriction, including without limitation the rights
7+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
// copies of the Software, and to permit persons to whom the Software is
9+
// furnished to do so, subject to the following conditions:
10+
//
11+
// The above copyright notice and this permission notice shall be included in
12+
// all copies or substantial portions of the Software.
13+
//
14+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
// THE SOFTWARE.
21+
//
22+
23+
using System;
24+
using System.Reflection;
25+
using System.Runtime.CompilerServices;
26+
27+
[assembly: AssemblyTitle ("System.Net.Http.Rtc")]
28+
[assembly: AssemblyDescription ("System.Net.Http.Rtc")]
29+
[assembly: AssemblyDefaultAlias ("System.Net.Http.Rtc")]
30+
[assembly: AssemblyCompany ("Mono development team")]
31+
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
32+
[assembly: AssemblyCopyright ("(c) Various Mono authors")]
33+
[assembly: AssemblyVersion ("4.0.0.0")]
34+
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
35+
[assembly: AssemblyFileVersion ("4.0.0.0")]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MCS_BUILD_DIR = ../../../build
2+
3+
thisdir = class/Facades/System.Net.Http.Rtc
4+
SUBDIRS =
5+
include $(MCS_BUILD_DIR)/rules.make
6+
7+
LIBRARY_SUBDIR = Facades
8+
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
9+
10+
LIBRARY = System.Net.Http.Rtc.dll
11+
12+
KEYFILE = ../../msfinal.pub
13+
SIGN_FLAGS = /delaysign /nowarn:1616,1699
14+
LIB_REFS = System
15+
LIB_MCS_FLAGS = $(SIGN_FLAGS)
16+
17+
PLATFORM_DEBUG_FLAGS =
18+
19+
NO_TEST = yes
20+
21+
include $(MCS_BUILD_DIR)/library.make
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TypeForwarders.cs
2+
AssemblyInfo.cs
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// Copyright (c) 2016 Xamarin Inc. (http://www.xamarin.com)
3+
//
4+
// Permission is hereby granted, free of charge, to any person obtaining a copy
5+
// of this software and associated documentation files (the "Software"), to deal
6+
// in the Software without restriction, including without limitation the rights
7+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
// copies of the Software, and to permit persons to whom the Software is
9+
// furnished to do so, subject to the following conditions:
10+
//
11+
// The above copyright notice and this permission notice shall be included in
12+
// all copies or substantial portions of the Software.
13+
//
14+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
// THE SOFTWARE.
21+
//
22+
23+
#if false // it is forwarded to System.Net.Http.WebRequest.dll but doesn't actually exist there in the .NET 4.7.1 reference assemblies ...
24+
[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Http.RtcRequestFactory))]
25+
#endif
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// Copyright (c) 2015 Xamarin Inc. (http://www.xamarin.com)
3+
//
4+
// Permission is hereby granted, free of charge, to any person obtaining a copy
5+
// of this software and associated documentation files (the "Software"), to deal
6+
// in the Software without restriction, including without limitation the rights
7+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
// copies of the Software, and to permit persons to whom the Software is
9+
// furnished to do so, subject to the following conditions:
10+
//
11+
// The above copyright notice and this permission notice shall be included in
12+
// all copies or substantial portions of the Software.
13+
//
14+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
// THE SOFTWARE.
21+
//
22+
23+
using System;
24+
using System.Reflection;
25+
using System.Runtime.CompilerServices;
26+
27+
[assembly: AssemblyTitle ("System.Resources.Reader")]
28+
[assembly: AssemblyDescription ("System.Resources.Reader")]
29+
[assembly: AssemblyDefaultAlias ("System.Resources.Reader")]
30+
[assembly: AssemblyCompany ("Mono development team")]
31+
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
32+
[assembly: AssemblyCopyright ("(c) Various Mono authors")]
33+
[assembly: AssemblyVersion ("4.0.2.0")]
34+
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
35+
[assembly: AssemblyFileVersion ("4.0.0.0")]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
MCS_BUILD_DIR = ../../../build
2+
3+
thisdir = class/Facades/System.Resources.Reader
4+
SUBDIRS =
5+
include $(MCS_BUILD_DIR)/rules.make
6+
7+
LIBRARY_SUBDIR = Facades
8+
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
9+
10+
LIBRARY = System.Resources.Reader.dll
11+
12+
KEYFILE = ../../msfinal.pub
13+
SIGN_FLAGS = /delaysign /nowarn:1616,1699
14+
LIB_REFS = System
15+
LIB_MCS_FLAGS = $(SIGN_FLAGS)
16+
17+
PLATFORM_DEBUG_FLAGS =
18+
19+
NO_TEST = yes
20+
21+
include $(MCS_BUILD_DIR)/library.make
22+
23+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TypeForwarders.cs
2+
AssemblyInfo.cs
3+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// Copyright (c) 2015 Xamarin Inc. (http://www.xamarin.com)
3+
//
4+
// Permission is hereby granted, free of charge, to any person obtaining a copy
5+
// of this software and associated documentation files (the "Software"), to deal
6+
// in the Software without restriction, including without limitation the rights
7+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
// copies of the Software, and to permit persons to whom the Software is
9+
// furnished to do so, subject to the following conditions:
10+
//
11+
// The above copyright notice and this permission notice shall be included in
12+
// all copies or substantial portions of the Software.
13+
//
14+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
// THE SOFTWARE.
21+
//
22+
23+
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.ResourceReader))]
24+
25+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// Copyright (c) 2015 Xamarin Inc. (http://www.xamarin.com)
3+
//
4+
// Permission is hereby granted, free of charge, to any person obtaining a copy
5+
// of this software and associated documentation files (the "Software"), to deal
6+
// in the Software without restriction, including without limitation the rights
7+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
// copies of the Software, and to permit persons to whom the Software is
9+
// furnished to do so, subject to the following conditions:
10+
//
11+
// The above copyright notice and this permission notice shall be included in
12+
// all copies or substantial portions of the Software.
13+
//
14+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
// THE SOFTWARE.
21+
//
22+
23+
using System;
24+
using System.Reflection;
25+
using System.Runtime.CompilerServices;
26+
27+
[assembly: AssemblyTitle ("System.Resources.Writer")]
28+
[assembly: AssemblyDescription ("System.Resources.Writer")]
29+
[assembly: AssemblyDefaultAlias ("System.Resources.Writer")]
30+
[assembly: AssemblyCompany ("Mono development team")]
31+
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
32+
[assembly: AssemblyCopyright ("(c) Various Mono authors")]
33+
[assembly: AssemblyVersion ("4.0.2.0")]
34+
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
35+
[assembly: AssemblyFileVersion ("4.0.0.0")]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
MCS_BUILD_DIR = ../../../build
2+
3+
thisdir = class/Facades/System.Resources.Writer
4+
SUBDIRS =
5+
include $(MCS_BUILD_DIR)/rules.make
6+
7+
LIBRARY_SUBDIR = Facades
8+
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
9+
10+
LIBRARY = System.Resources.Writer.dll
11+
12+
KEYFILE = ../../msfinal.pub
13+
SIGN_FLAGS = /delaysign /nowarn:1616,1699
14+
LIB_REFS = System
15+
LIB_MCS_FLAGS = $(SIGN_FLAGS)
16+
17+
PLATFORM_DEBUG_FLAGS =
18+
19+
NO_TEST = yes
20+
21+
include $(MCS_BUILD_DIR)/library.make
22+
23+

0 commit comments

Comments
 (0)