42 references to CreateAnonymousTypeSymbol
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1528
return
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberIsReadOnly, memberLocations, memberNullableAnnotations: default);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenReadonlyStructTests.cs (2)
897
INamedTypeSymbol iNamedType = comp.
CreateAnonymousTypeSymbol
(ImmutableArray.Create<ITypeSymbol>(comp.ObjectType.GetPublicSymbol()), ImmutableArray.Create("qq"));
1061
INamedTypeSymbol iNamedType = comp.
CreateAnonymousTypeSymbol
(ImmutableArray.Create<ITypeSymbol>(comp.ObjectType.GetPublicSymbol()), ImmutableArray.Create("qq"));
CodeGen\CodeGenTupleTest.cs (1)
6331
var e = Assert.Throws<ArgumentException>(() => comp.
CreateAnonymousTypeSymbol
(ImmutableArray.Create(vbType), ImmutableArray.Create("m1")));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Compilation\CompilationAPITests.cs (22)
2508
compilation.
CreateAnonymousTypeSymbol
(
2518
compilation.
CreateAnonymousTypeSymbol
(
2530
compilation.
CreateAnonymousTypeSymbol
(
2542
compilation.
CreateAnonymousTypeSymbol
(
2554
compilation.
CreateAnonymousTypeSymbol
(
2566
compilation.
CreateAnonymousTypeSymbol
(
2576
compilation.
CreateAnonymousTypeSymbol
(
2586
compilation.
CreateAnonymousTypeSymbol
(
2596
compilation.
CreateAnonymousTypeSymbol
(
2605
var type = compilation.
CreateAnonymousTypeSymbol
(
2624
var type = compilation.
CreateAnonymousTypeSymbol
(
2641
var type = compilation.
CreateAnonymousTypeSymbol
(
2660
var type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames);
2663
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, default);
2669
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, default, default, default);
2672
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberIsReadOnly: default);
2675
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberLocations: default);
2678
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberNullableAnnotations: default);
2687
var type = comp.
CreateAnonymousTypeSymbol
(ImmutableArray<ITypeSymbol>.Empty, ImmutableArray<string>.Empty, memberNullableAnnotations: ImmutableArray<CodeAnalysis.NullableAnnotation>.Empty);
2700
var type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames);
2704
Assert.Throws<ArgumentException>(() => comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberNullableAnnotations: ImmutableArray.Create(CodeAnalysis.NullableAnnotation.NotAnnotated)));
2706
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberNullableAnnotations: ImmutableArray.Create(CodeAnalysis.NullableAnnotation.NotAnnotated, CodeAnalysis.NullableAnnotation.Annotated));
Symbols\AnonymousTypesSymbolTests.cs (1)
1924
compilation.
CreateAnonymousTypeSymbol
(
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (15)
Compilation\CompilationAPITests.vb (15)
1551
Return compilation.
CreateAnonymousTypeSymbol
(
1562
compilation.
CreateAnonymousTypeSymbol
(
1575
Compilation.
CreateAnonymousTypeSymbol
(
1586
Dim type = compilation.
CreateAnonymousTypeSymbol
(
1625
Return compilation.
CreateAnonymousTypeSymbol
(
1634
Dim type = compilation.
CreateAnonymousTypeSymbol
(
1648
Dim type = compilation.
CreateAnonymousTypeSymbol
(
1663
Dim type = compilation.
CreateAnonymousTypeSymbol
(
1681
Dim type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames)
1684
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, Nothing)
1690
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, Nothing, Nothing, Nothing)
1693
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberIsReadOnly:=Nothing)
1696
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberLocations:=Nothing)
1699
type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames, memberNullableAnnotations:=Nothing)
1719
Dim type = comp.
CreateAnonymousTypeSymbol
(memberTypes, memberNames)