42 references to CreateAnonymousTypeSymbol
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1519return CreateAnonymousTypeSymbol(memberTypes, memberNames, memberIsReadOnly, memberLocations, memberNullableAnnotations: default);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenReadonlyStructTests.cs (2)
897INamedTypeSymbol iNamedType = comp.CreateAnonymousTypeSymbol(ImmutableArray.Create<ITypeSymbol>(comp.ObjectType.GetPublicSymbol()), ImmutableArray.Create("qq")); 1061INamedTypeSymbol iNamedType = comp.CreateAnonymousTypeSymbol(ImmutableArray.Create<ITypeSymbol>(comp.ObjectType.GetPublicSymbol()), ImmutableArray.Create("qq"));
CodeGen\CodeGenTupleTest.cs (1)
6331var e = Assert.Throws<ArgumentException>(() => comp.CreateAnonymousTypeSymbol(ImmutableArray.Create(vbType), ImmutableArray.Create("m1")));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Compilation\CompilationAPITests.cs (22)
2509compilation.CreateAnonymousTypeSymbol( 2519compilation.CreateAnonymousTypeSymbol( 2531compilation.CreateAnonymousTypeSymbol( 2543compilation.CreateAnonymousTypeSymbol( 2555compilation.CreateAnonymousTypeSymbol( 2567compilation.CreateAnonymousTypeSymbol( 2577compilation.CreateAnonymousTypeSymbol( 2587compilation.CreateAnonymousTypeSymbol( 2597compilation.CreateAnonymousTypeSymbol( 2606var type = compilation.CreateAnonymousTypeSymbol( 2625var type = compilation.CreateAnonymousTypeSymbol( 2642var type = compilation.CreateAnonymousTypeSymbol( 2661var type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames); 2664type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, default); 2670type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, default, default, default); 2673type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberIsReadOnly: default); 2676type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberLocations: default); 2679type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberNullableAnnotations: default); 2688var type = comp.CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>.Empty, ImmutableArray<string>.Empty, memberNullableAnnotations: ImmutableArray<CodeAnalysis.NullableAnnotation>.Empty); 2701var type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames); 2705Assert.Throws<ArgumentException>(() => comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberNullableAnnotations: ImmutableArray.Create(CodeAnalysis.NullableAnnotation.NotAnnotated))); 2707type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberNullableAnnotations: ImmutableArray.Create(CodeAnalysis.NullableAnnotation.NotAnnotated, CodeAnalysis.NullableAnnotation.Annotated));
Symbols\AnonymousTypesSymbolTests.cs (1)
1924compilation.CreateAnonymousTypeSymbol(
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (15)
Compilation\CompilationAPITests.vb (15)
1550Return compilation.CreateAnonymousTypeSymbol( 1561compilation.CreateAnonymousTypeSymbol( 1574Compilation.CreateAnonymousTypeSymbol( 1585Dim type = compilation.CreateAnonymousTypeSymbol( 1624Return compilation.CreateAnonymousTypeSymbol( 1633Dim type = compilation.CreateAnonymousTypeSymbol( 1647Dim type = compilation.CreateAnonymousTypeSymbol( 1662Dim type = compilation.CreateAnonymousTypeSymbol( 1680Dim type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames) 1683type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, Nothing) 1689type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, Nothing, Nothing, Nothing) 1692type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberIsReadOnly:=Nothing) 1695type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberLocations:=Nothing) 1698type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames, memberNullableAnnotations:=Nothing) 1718Dim type = comp.CreateAnonymousTypeSymbol(memberTypes, memberNames)