Fixed test issue - PEVerify is now called with a quoted assembly path (to allow for...
[castle.git] / Tools / Castle.DynamicProxy2 / Castle.DynamicProxy.Tests / Classes / DiffAccessLevelOnProperties.cs
blob33340b8b911b91e3cfbe0bd2341d6e300393c288
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.DynamicProxy.Tests.Classes
17 using System;
19 public class DiffAccessLevelOnProperties
21 private int age, age2;
22 private int maxval, maxval2;
23 private String name;
25 public void SetProperties()
27 Age = 10;
28 Age2 = 11;
29 Maxval = 12;
30 Maxval2 = 13;
31 name = "name";
34 public virtual int Age
36 protected get { return age; }
37 set { age = value; }
40 public virtual int Age2
42 get { return age2; }
43 protected set { age2 = value; }
46 public virtual int Maxval
48 private get { return maxval; }
49 set { maxval = value; }
52 public int Maxval2
54 get { return maxval2; }
55 private set { maxval2 = value; }
58 public virtual string Name
60 internal get { return name; }
61 set { name = value; }
64 public override string ToString()
66 return String.Format("{0} {1} {2} {3} {4}", Age, Age2, Maxval, Maxval2, Name);