79 references to GetAttribute
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (29)
Attributes\AttributeTests_WellKnownAttributes.cs (29)
158
attrSym = igoo.
GetAttribute
(ciSym);
163
attrSym = igoo.
GetAttribute
(guidSym);
169
attrSym = igoo.
GetAttribute
(tLibSym);
172
attrSym = igoo.
GetAttribute
(tLTypeSym);
175
attrSym = igoo.
GetAttribute
(bfmSym);
265
var attrSym = type1.
GetAttribute
(comvSym);
268
attrSym = type1.
GetAttribute
(ufPtrSym);
281
attrSym = type2.
GetAttribute
(comdSym);
284
attrSym = type2.
GetAttribute
(pgidSym);
288
attrSym = method.
GetAttribute
(dispSym);
291
attrSym = method.
GetAttribute
(lcidSym);
294
attrSym = method.
GetAttribute
(comcSym);
305
attrSym = type3.
GetAttribute
(comvSym);
308
attrSym = type3.
GetAttribute
(tidSym);
403
var attrSym = type1.
GetAttribute
(ciptSym);
415
attrSym = parm.
GetAttribute
(defvSym);
417
attrSym = parm.
GetAttribute
(optSym);
423
attrSym = parm.
GetAttribute
(defvSym);
425
attrSym = parm.
GetAttribute
(inSym);
427
attrSym = parm.
GetAttribute
(outSym);
434
attrSym = parm.
GetAttribute
(defvSym);
436
attrSym = parm.
GetAttribute
(optSym);
438
attrSym = parm.
GetAttribute
(outSym);
458
attrSym = parm.
GetAttribute
(iscSym);
465
attrSym = type2.
GetAttribute
(serSym);
468
attrSym = type2.
GetAttribute
(laySym);
477
attrSym = field.
GetAttribute
(nosSym);
479
attrSym = field.
GetAttribute
(mshSym);
481
attrSym = field.
GetAttribute
(offSym);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (50)
Symbols\Metadata\PE\LoadingAttributes.cs (50)
60
var aBoolInst = assembly0.
GetAttribute
(aBoolClass);
63
var aByteInst = assembly0.
GetAttribute
(aByteClass);
66
var aCharInst = assembly0.
GetAttribute
(aCharClass);
69
var aSingleInst = assembly0.
GetAttribute
(aSingleClass);
72
var aDoubleInst = assembly0.
GetAttribute
(aDoubleClass);
75
var aInt16Inst = assembly0.
GetAttribute
(aInt16Class);
78
var aInt32Inst = assembly0.
GetAttribute
(aInt32Class);
81
var aInt64Inst = assembly0.
GetAttribute
(aInt64Class);
84
var aObjectInst = assembly0.
GetAttribute
(aObjectClass);
87
var aStringInst = assembly0.
GetAttribute
(aStringClass);
90
var aTypeInst = assembly0.
GetAttribute
(aTypeClass);
132
var aBoolInst = module0.
GetAttribute
(aBoolClass);
135
var aByteInst = module0.
GetAttribute
(aByteClass);
138
var aCharInst = module0.
GetAttribute
(aCharClass);
141
var aSingleInst = module0.
GetAttribute
(aSingleClass);
144
var aDoubleInst = module0.
GetAttribute
(aDoubleClass);
147
var aInt16Inst = module0.
GetAttribute
(aInt16Class);
150
var aInt32Inst = module0.
GetAttribute
(aInt32Class);
153
var aInt64Inst = module0.
GetAttribute
(aInt64Class);
156
var aObjectInst = module0.
GetAttribute
(aObjectClass);
159
var aStringInst = module0.
GetAttribute
(aStringClass);
162
var aTypeInst = module0.
GetAttribute
(aTypeClass);
268
var a = c3.
GetAttribute
(aBoolClass);
271
a = c3.
GetAttribute
(aByteClass);
274
a = c3.
GetAttribute
(aCharClass);
277
a = c3.
GetAttribute
(aEnumClass);
280
a = c3.
GetAttribute
(aSingleClass);
283
a = c3.
GetAttribute
(aDoubleClass);
286
a = c3.
GetAttribute
(aInt16Class);
289
a = c3.
GetAttribute
(aInt32Class);
292
a = c3.
GetAttribute
(aInt64Class);
295
a = c3.
GetAttribute
(aTypeClass);
327
var a = c4.
GetAttribute
(aInt32Class);
331
a = c4.
GetAttribute
(aEnumClass);
335
a = c4.
GetAttribute
(aStringClass);
339
a = c4.
GetAttribute
(aObjectClass);
345
a = c4.
GetAttribute
(aTypeClass);
692
var attrSym = igoo.
GetAttribute
(attrObj);
746
var attrSym = dfoo.
GetAttribute
(attrObj);
750
attrSym = dfoo.
GetAttribute
(attrObj);
852
var attrSym = ibar.
GetAttribute
(attrObj);
857
attrSym = ibar.
GetAttribute
(attrObj);
922
var attrSym = assemblies[0].
GetAttribute
(attrObj1);
975
attrSym = tp.
GetAttribute
(attrObj1);
1001
attrSym = mtd.Parameters[0].
GetAttribute
(attrObj2);
1124
var attrSym = tp.
GetAttribute
(attrObj1);
1182
var attr1 = assemblies[0].
GetAttribute
(asmFileAttr);
1186
attr1 = assemblies[0].
GetAttribute
(asmInfoAttr);
1210
var attr1 = exprNS.GetTypeMembers("BinaryExpression").First().
GetAttribute
(dbgProxyAttr);
1215
attr1 = exprNS.GetTypeMembers("TypeBinaryExpression").First().
GetAttribute
(dbgProxyAttr);