79 references to GetAttribute
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (29)
Attributes\AttributeTests_WellKnownAttributes.cs (29)
159
attrSym = igoo.
GetAttribute
(ciSym);
164
attrSym = igoo.
GetAttribute
(guidSym);
170
attrSym = igoo.
GetAttribute
(tLibSym);
173
attrSym = igoo.
GetAttribute
(tLTypeSym);
176
attrSym = igoo.
GetAttribute
(bfmSym);
266
var attrSym = type1.
GetAttribute
(comvSym);
269
attrSym = type1.
GetAttribute
(ufPtrSym);
282
attrSym = type2.
GetAttribute
(comdSym);
285
attrSym = type2.
GetAttribute
(pgidSym);
289
attrSym = method.
GetAttribute
(dispSym);
292
attrSym = method.
GetAttribute
(lcidSym);
295
attrSym = method.
GetAttribute
(comcSym);
306
attrSym = type3.
GetAttribute
(comvSym);
309
attrSym = type3.
GetAttribute
(tidSym);
404
var attrSym = type1.
GetAttribute
(ciptSym);
416
attrSym = parm.
GetAttribute
(defvSym);
418
attrSym = parm.
GetAttribute
(optSym);
424
attrSym = parm.
GetAttribute
(defvSym);
426
attrSym = parm.
GetAttribute
(inSym);
428
attrSym = parm.
GetAttribute
(outSym);
435
attrSym = parm.
GetAttribute
(defvSym);
437
attrSym = parm.
GetAttribute
(optSym);
439
attrSym = parm.
GetAttribute
(outSym);
459
attrSym = parm.
GetAttribute
(iscSym);
466
attrSym = type2.
GetAttribute
(serSym);
469
attrSym = type2.
GetAttribute
(laySym);
478
attrSym = field.
GetAttribute
(nosSym);
480
attrSym = field.
GetAttribute
(mshSym);
482
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);