示例#1
0
		public IdentifierTest() {
			boolFieldTest = true;
			byteFieldTest = 50;
			charFieldTest = 'x';
			decimalFieldTest = 3.14156m;
			doubleFieldTest = 5.12345d;
			floatFieldTest = 2.345f;
			intFieldTest = -2309;
			longFieldTest = 89302L;
			sbyteFieldTest = -100;
			shortFieldTest = 10;
			stringFieldTest = "Hello World";
			uintFieldTest = 78u;
			ulongFieldTest = 928ul;
			ushortFieldTest = 23;
			colorFieldTest = Color.Blue;
			vector3FieldTest = new Vector3(1f, 2f, 3f);
			strBuilderFieldTest = new StringBuilder("Init");
			@if = 3;
			@this = 3;

			boolPropertyTest = true;
			bytePropertyTest = 50;
			charPropertyTest = 'x';
			decimalPropertyTest = 3.14156m;
			doublePropertyTest = 5.12345d;
			floatPropertyTest = 2.345f;
			intPropertyTest = -2309;
			longPropertyTest = 89302L;
			sbytePropertyTest = -100;
			shortPropertyTest = 10;
			stringPropertyTest = "Hello World";
			uintPropertyTest = 78u;
			ulongPropertyTest = 928ul;
			ushortPropertyTest = 23;
			colorPropertyTest = Color.Blue;
			vector3PropertyTest = new Vector3(1f, 2f, 3f);
			strBuilderPropertyTest = new StringBuilder("Init");
			@If = 3;
		}
示例#2
0
		void ArgTestRefTypes(Color color, Vector3 vector3) {
			if (color != null)
				argTestRefTypesRan = true;
		}