42 references to s_dynamicType
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (42)
Symbols\Metadata\PE\DynamicTransformsTests.cs (42)
73var outerClassOfDynamic = _outerClass.Construct(s_dynamicType);
77var innerClassOfTArrDynamic = outerClassOfDynamic.GetTypeMember("Inner").Construct(arrayOfT, s_dynamicType);
82var memberComplicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(arrayOfInnerInnerOfInt, s_dynamicType);
84var memberInnerInnerOfDynamic = memberComplicatedInner.GetTypeMember("InnerInner").Construct(s_dynamicType);
91var base1OfDynamic = _base1Class.Construct(s_dynamicType);
97var base2OfDynamicV = _base2Class.Construct(s_dynamicType, _innerClass.TypeParameters[1]);
131Assert.Equal(s_dynamicType, field1.Type);
135var arrayOfDynamic = ArrayTypeSymbol.CreateCSharpArray(_assembly, TypeWithAnnotations.Create(s_dynamicType), 1);
145Assert.Equal(s_dynamicType, field4.Type);
165var outerClassOfDynamic = _outerClass.Construct(s_dynamicType);
178var innerOfTDynamicWithOuterOfDynamic = outerClassOfDynamic.GetTypeMember("Inner").Construct(derivedTypeParam, s_dynamicType);
182var complicatedInner = complicatedOuter.GetTypeMember("Inner").Construct(s_dynamicType, derivedTypeParam);
189var innerOfDynamicDynamicWithOuterOfT = outerOfT.GetTypeMember("Inner").Construct(s_dynamicType, s_dynamicType);
206complicatedInnerInner = innerOfOuterOfTTWithOuterDynamic.GetTypeMember("InnerInner").Construct(s_dynamicType);
212var innerOfDynamicDynamicWithOuterOfDynamic = outerClassOfDynamic.GetTypeMember("Inner").Construct(s_dynamicType, s_dynamicType);
213complicatedInnerInner = innerOfDynamicDynamicWithOuterOfDynamic.GetTypeMember("InnerInner").Construct(s_dynamicType);
221complicatedInnerInner = innerOfOuterOfDynamicTWithOuterDynamic.GetTypeMember("InnerInner").Construct(s_dynamicType);
232complicatedInnerInner = complicatedInner.GetTypeMember("InnerInner").Construct(s_dynamicType);
242complicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(arrayOfDerivedTypeParam, s_dynamicType);
248complicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(complicatedInnerInnerArray, s_dynamicType);
250complicatedInnerInner = complicatedInner.GetTypeMember("InnerInner").Construct(s_dynamicType);
258var inner3OfDynamic = _inner3Class.Construct(s_dynamicType);
269Assert.Equal(s_dynamicType, f1.ReturnType);
270Assert.Equal(s_dynamicType, f1.GetParameterType(0));
274Assert.Equal(s_dynamicType, f2.ReturnType);
275Assert.Equal(s_dynamicType, f2.GetParameterType(0));
280var arrayOfDynamic = ArrayTypeSymbol.CreateCSharpArray(_assembly, TypeWithAnnotations.Create(s_dynamicType));
288var outerClassOfDynamic = _outerClass.Construct(s_dynamicType);
290var complicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(arrayOfDerivedTypeParam, s_dynamicType);
296complicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(complicatedInnerInnerArray, s_dynamicType);
298complicatedInnerInner = complicatedInner.GetTypeMember("InnerInner").Construct(s_dynamicType);
311Assert.Equal(s_dynamicType, prop1.Type);
312Assert.Equal(s_dynamicType, prop1.GetMethod.ReturnType);
336var outerClassOfDynamic = _outerClass.Construct(s_dynamicType);
338var complicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(arrayOfDerivedTypeParam, s_dynamicType);
349complicatedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(complicatedInnerInnerArray, s_dynamicType);
351complicatedInnerInner = complicatedInner.GetTypeMember("InnerInner").Construct(s_dynamicType);
375var outerClassOfDynamic = _outerClass.Construct(s_dynamicType);
377var constructedInner = outerClassOfDynamic.GetTypeMember("Inner").Construct(s_dynamicType, nullableStruct);
410var constructedA = classA.Construct(s_dynamicType);