﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1612</ErrorName>
  <Examples>
    <string>// cs1612-2.cs: Cannot modify the return value of `X.P' because it is not a variable
// Line: 9

using System;
class X {
	static void Main ()
	{

		P.x = 10;
		Console.WriteLine ("Got: " + P.x);
	}

	static G P {
	 get {
		return g;
	 }
	}

	static G g = new G ();

	struct G {
		public int x;
	}
}
		
</string>
    <string>// cs1612.cs: Cannot modify the return value of `X.P' because it is not a variable
// Line: 9

using System;
class X {
	static void Main ()
	{

		P.x += 10;
		Console.WriteLine ("Got: " + P.x);
	}

	static G P {
	 get {
		return g;
	 }
	}

	static G g = new G ();

	struct G {
		public int x;
	}
}
		
</string>
  </Examples>
</ErrorDocumentation>