Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -37,9 +37,7 @@ namespace System.Drawing.Printing
/// <summary>
/// Summary description for PaperSize.
/// </summary>
#if NET_2_0
[Serializable]
#endif
public class PaperSize
{
string name;
@ -48,12 +46,10 @@ namespace System.Drawing.Printing
PaperKind kind;
internal bool is_default;
#if NET_2_0
public PaperSize ()
{
}
#endif
public PaperSize(string name, int width, int height)
{
this.width = width;
@ -111,7 +107,6 @@ namespace System.Drawing.Printing
return kind;
}
}
#if NET_2_0
public int RawKind {
get {
return (int)kind;
@ -121,7 +116,6 @@ namespace System.Drawing.Printing
}
}
#endif
internal bool IsDefault {
get { return this.is_default; }