33 references to _emptyCompilation
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (33)
CodeGeneration\SyntaxGeneratorTests.cs (33)
277
var intType =
_emptyCompilation
.GetSpecialType(SpecialType.System_Int32);
315
var genericType =
_emptyCompilation
.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T);
318
var arrayType =
_emptyCompilation
.CreateArrayTypeSymbol(
_emptyCompilation
.GetSpecialType(SpecialType.System_Int32));
405
var intType =
_emptyCompilation
.GetSpecialType(SpecialType.System_Int32);
406
var listType =
_emptyCompilation
.GetTypeByMetadataName("System.Collections.Generic.List`1");
854
_emptyCompilation
.GetSpecialType(SpecialType.System_Int32),
855
_emptyCompilation
.GetSpecialType(SpecialType.System_String)
988
var gcHandleType =
_emptyCompilation
.GetTypeByMetadataName(typeof(GCHandle).FullName);
996
var doubleType =
_emptyCompilation
.GetSpecialType(SpecialType.System_Decimal);
998
m.Name == WellKnownMemberNames.ImplicitConversionName && m.Parameters[0].Type.Equals(
_emptyCompilation
.GetSpecialType(SpecialType.System_Byte)));
2156
Generator.Declaration(
_emptyCompilation
.GetTypeByMetadataName("System.ComponentModel.INotifyPropertyChanged")),
2168
_emptyCompilation
.GetTypeByMetadataName("System.IntPtr").GetMembers("ToPointer").Single()),
2179
_emptyCompilation
.GetTypeByMetadataName("System.DateTimeKind")),
2193
_emptyCompilation
.GetTypeByMetadataName("System.Security.SecurityRuleSet")),
2205
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2219
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2240
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2261
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2282
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2303
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2325
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2343
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2361
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2389
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2417
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2444
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2476
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2530
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""
2548
var compilation =
_emptyCompilation
.
2558
compilation =
_emptyCompilation
.AddReferences(reference);
2571
var field =
_emptyCompilation
.GetSpecialType(SpecialType.System_UInt32).GetMembers(nameof(UInt32.MaxValue)).Single();
2581
var compilation =
_emptyCompilation
.AddSyntaxTrees(ParseSyntaxTree("""