1 write to _assembly
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Metadata\PE\DynamicTransformsTests.cs (1)
30
_assembly
= MetadataTestHelpers.GetSymbolsForReferences(
34 references to _assembly
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (34)
Symbols\Metadata\PE\DynamicTransformsTests.cs (34)
34
_base0Class =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Base0");
35
_base1Class =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Base1");
36
_base2Class =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Base2");
37
_derivedClass =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Derived");
38
_outerClass =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Outer");
41
_outer2Class =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Outer2");
44
_outer3Class =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Outer3");
47
_objectType =
_assembly
.CorLibrary.GetSpecialType(SpecialType.System_Object);
48
_intType =
_assembly
.CorLibrary.GetSpecialType(SpecialType.System_Int32);
76
var arrayOfT = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(t));
80
var arrayOfInnerInnerOfInt = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(memberInnerInnerOfInt));
135
var arrayOfDynamic = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(s_dynamicType), 1);
140
var arrayOfArrayOfDynamic = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(arrayOfDynamic), 1);
222
var complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner), 1);
233
complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner), 1);
234
var complicatedInnerInnerArrayOfArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInnerArray), 1);
240
var arrayOfDerivedTypeParam = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(derivedTypeParam), 1);
246
complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner), 1);
252
complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner), 1);
253
complicatedInnerInnerArrayOfArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInnerArray), 1);
280
var arrayOfDynamic = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(s_dynamicType));
286
var arrayOfDerivedTypeParam = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(derivedTypeParam));
294
var complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner));
300
complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner));
301
var complicatedInnerInnerArrayOfArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInnerArray));
328
var unsafeClass =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("UnsafeClass");
334
var arrayOfDerivedTypeParam = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(unsafeClassTypeParam), 1);
341
var arrayOfPointerToInt = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(pointerToInt), 1);
343
var arrayOfArrayOfPointerToInt = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(arrayOfPointerToInt), 1);
347
var complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner), 1);
353
complicatedInnerInnerArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInner), 1);
354
var complicatedInnerInnerArrayOfArray = ArrayTypeSymbol.CreateCSharpArray(
_assembly
, TypeWithAnnotations.Create(complicatedInnerInnerArray), 1);
366
var structType =
_assembly
.Modules[0].GlobalNamespace.GetMember<NamedTypeSymbol>("Struct");
373
var nullableStruct =
_assembly
.CorLibrary.GetSpecialType(SpecialType.System_Nullable_T).Construct(structType);