Lines Matching full:property
197 __declspec(property(get=GetV)) int V1;
198 __declspec(property(put=SetV)) int V2;
199 __declspec(property(get=GetV, put=SetV_NotExist)) int V3;
200 __declspec(property(get=GetV_NotExist, put=SetV)) int V4;
201 __declspec(property(get=GetV, put=SetV)) int V5;
208 int i = sp.V2; // expected-error{{no getter defined for property 'V2'}}
209 sp.V1 = 12; // expected-error{{no setter defined for property 'V1'}}
210 int j = sp.V4; // expected-error{{no member named 'GetV_NotExist' in 'StructWithProperty'}} expected-error{{cannot find suitable getter for property 'V4'}}
211 sp.V3 = 14; // expected-error{{no member named 'SetV_NotExist' in 'StructWithProperty'}} expected-error{{cannot find suitable setter for property 'V3'}}
223 __declspec(property(get=GetV)) SP1 V;
238 __declspec(property(get=GetV)) int V;
250 __declspec(property(get=GetV)) T V;
259 __declspec(property(get=GetV)) T V;
269 // Property access: explicit, implicit, with Qualifier
271 __declspec(property(get=GetV, put=SetV)) int V;
282 // Property usage
285 __declspec(property(get=GetV, put=SetV)) T V;
326 // Property getter using reference.
328 __declspec(property(get=GetV)) int V;
344 __declspec(property(get=GetV)) int : 10; // expected-error {{anonymous property is not supported}}
349 int __declspec(property(get = get)) n;
353 return &x.n; // expected-error {{address of property expression requested}}
356 return &MSPropertyClass::n; // expected-error {{address of property expression requested}}