Lines Matching refs:property
255 __declspec(property(get=GetV)) int V1;
256 __declspec(property(put=SetV)) int V2;
257 __declspec(property(get=GetV, put=SetV_NotExist)) int V3;
258 __declspec(property(get=GetV_NotExist, put=SetV)) int V4;
259 __declspec(property(get=GetV, put=SetV)) int V5;
266 int i = sp.V2; // expected-error{{no getter defined for property 'V2'}}
267 sp.V1 = 12; // expected-error{{no setter defined for property 'V1'}}
268 int j = sp.V4; // expected-error{{no member named 'GetV_NotExist' in 'StructWithProperty'}} expected-error{{cannot find suitable getter for property 'V4'}}
269 sp.V3 = 14; // expected-error{{no member named 'SetV_NotExist' in 'StructWithProperty'}} expected-error{{cannot find suitable setter for property 'V3'}}
281 __declspec(property(get=GetV)) SP1 V;
296 __declspec(property(get=GetV)) int V;
308 __declspec(property(get=GetV)) T V;
317 __declspec(property(get=GetV)) T V;
327 // Property access: explicit, implicit, with Qualifier
329 __declspec(property(get=GetV, put=SetV)) int V;
340 // Property usage
343 __declspec(property(get=GetV, put=SetV)) T V;
384 // Property getter using reference.
386 __declspec(property(get=GetV)) int V;
402 __declspec(property(get=GetV)) int : 10; // expected-error {{anonymous property is not supported}}
407 int __declspec(property(get = get)) n;
411 return &x.n; // expected-error {{address of property expression requested}}
414 return &MSPropertyClass::n; // expected-error {{address of property expression requested}}