Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2016-10-13 15:07:16 +0300
committerStephen Toub <stoub@microsoft.com>2016-10-13 16:43:23 +0300
commita9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679 (patch)
tree737a82012482e92e9b52a6d0a4d4926780ba7dd1 /src/System.Drawing.Primitives/ref
parentc5c75db7c00047d603522fd6e21f350099e09bbb (diff)
Change all refs to use "throw null;" as member bodies
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter). I made the change programatically using a simple Roslyn-based tool.
Diffstat (limited to 'src/System.Drawing.Primitives/ref')
-rw-r--r--src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs b/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs
index d3c00d57dd..aafd0d6a2a 100644
--- a/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs
+++ b/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs
@@ -358,9 +358,9 @@ namespace System.Drawing
public partial struct Point
{
public static readonly System.Drawing.Point Empty;
- public Point(System.Drawing.Size sz) { throw null;}
- public Point(int dw) { throw null;}
- public Point(int x, int y) { throw null;}
+ public Point(System.Drawing.Size sz) { throw null; }
+ public Point(int dw) { throw null; }
+ public Point(int x, int y) { throw null; }
public bool IsEmpty { get { throw null; } }
public int X { get { throw null; } set { } }
public int Y { get { throw null; } set { } }
@@ -384,7 +384,7 @@ namespace System.Drawing
public partial struct PointF
{
public static readonly System.Drawing.PointF Empty;
- public PointF(float x, float y) { throw null;}
+ public PointF(float x, float y) { throw null; }
public bool IsEmpty { get { throw null; } }
public float X { get { throw null; } set { } }
public float Y { get { throw null; } set { } }
@@ -405,8 +405,8 @@ namespace System.Drawing
public partial struct Rectangle
{
public static readonly System.Drawing.Rectangle Empty;
- public Rectangle(System.Drawing.Point location, System.Drawing.Size size) { throw null;}
- public Rectangle(int x, int y, int width, int height) { throw null;}
+ public Rectangle(System.Drawing.Point location, System.Drawing.Size size) { throw null; }
+ public Rectangle(int x, int y, int width, int height) { throw null; }
public int Bottom { get { throw null; } }
public int Height { get { throw null; } set { } }
public bool IsEmpty { get { throw null; } }
@@ -443,8 +443,8 @@ namespace System.Drawing
public partial struct RectangleF
{
public static readonly System.Drawing.RectangleF Empty;
- public RectangleF(System.Drawing.PointF location, System.Drawing.SizeF size) { throw null;}
- public RectangleF(float x, float y, float width, float height) { throw null;}
+ public RectangleF(System.Drawing.PointF location, System.Drawing.SizeF size) { throw null; }
+ public RectangleF(float x, float y, float width, float height) { throw null; }
public float Bottom { get { throw null; } }
public float Height { get { throw null; } set { } }
public bool IsEmpty { get { throw null; } }
@@ -479,8 +479,8 @@ namespace System.Drawing
public partial struct Size
{
public static readonly System.Drawing.Size Empty;
- public Size(System.Drawing.Point pt) { throw null;}
- public Size(int width, int height) { throw null;}
+ public Size(System.Drawing.Point pt) { throw null; }
+ public Size(int width, int height) { throw null; }
public int Height { get { throw null; } set { } }
public bool IsEmpty { get { throw null; } }
public int Width { get { throw null; } set { } }
@@ -502,9 +502,9 @@ namespace System.Drawing
public partial struct SizeF
{
public static readonly System.Drawing.SizeF Empty;
- public SizeF(System.Drawing.PointF pt) { throw null;}
- public SizeF(System.Drawing.SizeF size) { throw null;}
- public SizeF(float width, float height) { throw null;}
+ public SizeF(System.Drawing.PointF pt) { throw null; }
+ public SizeF(System.Drawing.SizeF size) { throw null; }
+ public SizeF(float width, float height) { throw null; }
public float Height { get { throw null; } set { } }
public bool IsEmpty { get { throw null; } }
public float Width { get { throw null; } set { } }