175 references to CreateCompilationWithRequiredMembers
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (175)
Symbols\RequiredMembersTests.cs (175)
105var comp = CreateCompilationWithRequiredMembers(@" 195var comp = CreateCompilationWithRequiredMembers(@" 235var comp = CreateCompilationWithRequiredMembers(code, parseOptions: TestOptions.Regular10); 246comp = CreateCompilationWithRequiredMembers(code, parseOptions: TestOptions.Regular11); 253var comp = CreateCompilationWithRequiredMembers(@" 315var comp = CreateCompilationWithRequiredMembers(code, parseOptions: use10 ? TestOptions.Regular10 : TestOptions.Regular11); 376comp = CreateCompilationWithRequiredMembers(code, parseOptions: use10 ? TestOptions.Regular10 : TestOptions.Regular11); 383var comp = CreateCompilationWithRequiredMembers(@" 401var comp = CreateCompilationWithRequiredMembers(@" 420var comp = CreateCompilationWithRequiredMembers(@" 439var comp = CreateCompilationWithRequiredMembers(@" 458var comp = CreateCompilationWithRequiredMembers(@" 500var comp = CreateCompilationWithRequiredMembers(@base + derived); 508var baseComp = CreateCompilationWithRequiredMembers(@base); 542var comp = CreateCompilationWithRequiredMembers(@base + derived + derivedDerived); 550var baseComp = CreateCompilationWithRequiredMembers(@base); 582var comp = CreateCompilationWithRequiredMembers(@base + derived); 596var baseComp = CreateCompilationWithRequiredMembers(@base, assemblyName: "test"); 633var comp = CreateCompilationWithRequiredMembers(@base + derived + derivedDerived); 648var baseComp = CreateCompilationWithRequiredMembers(@base); 668var comp = CreateCompilationWithRequiredMembers(@" 712var comp = CreateCompilationWithRequiredMembers(@base + derived); 727var baseComp = CreateCompilationWithRequiredMembers(@base, assemblyName: "base"); 773var comp = CreateCompilationWithRequiredMembers(@base + derived); 799var baseComp = CreateCompilationWithRequiredMembers(@base); 831var comp = CreateCompilationWithRequiredMembers(@" 1104var comp = CreateCompilationWithRequiredMembers(@" 1252var comp = CreateCompilationWithRequiredMembers(@" 1324var comp = CreateCompilationWithRequiredMembers(@" 1338var comp = CreateCompilationWithRequiredMembers(@" 1400var comp = CreateCompilationWithRequiredMembers($$""" 1426var comp = CreateCompilationWithRequiredMembers(""" 1451var comp = CreateCompilationWithRequiredMembers(""" 1476var comp = CreateCompilationWithRequiredMembers(""" 1495var comp = CreateCompilationWithRequiredMembers(""" 1520var comp = CreateCompilationWithRequiredMembers(""" 1554var comp = CreateCompilationWithRequiredMembers(@" 1585var comp = CreateCompilationWithRequiredMembers(new[] { c, creation }); 1607var cComp = CreateCompilationWithRequiredMembers(c); 1630var comp = CreateCompilationWithRequiredMembers(new[] { c, creation }); 1634var cComp = CreateCompilationWithRequiredMembers(c); 1655var comp = CreateCompilationWithRequiredMembers(new[] { c, creation }); 1677var cComp = CreateCompilationWithRequiredMembers(c); 1699var comp = CreateCompilationWithRequiredMembers(new[] { c, creation }); 1702var cComp = CreateCompilationWithRequiredMembers(c); 1720var comp = CreateCompilationWithRequiredMembers(c); 1832var comp = CreateCompilationWithRequiredMembers(c); 1865var comp = CreateCompilationWithRequiredMembers(c); 1896var comp = CreateCompilationWithRequiredMembers(c); 1916var comp = CreateCompilationWithRequiredMembers(c); 1933var comp = CreateCompilationWithRequiredMembers(c); 1961var comp = CreateCompilationWithRequiredMembers(c); 1978var comp = CreateCompilationWithRequiredMembers(c); 2004var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2023var baseComp = CreateCompilationWithRequiredMembers(@base); 2057var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, code }); 2061var baseComp = CreateCompilationWithRequiredMembers(@base); 2098var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2117var baseComp = CreateCompilationWithRequiredMembers(@base); 2146var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2150var baseComp = CreateCompilationWithRequiredMembers(@base); 2177var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2181var baseComp = CreateCompilationWithRequiredMembers(@base); 2203var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2253var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalCRef }, targetFramework: TargetFramework.Standard); 2298var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2339var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2349var baseComp = CreateCompilationWithRequiredMembers(@base); 2380var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2384var baseComp = CreateCompilationWithRequiredMembers(@base); 2413var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2423var baseComp = CreateCompilationWithRequiredMembers(@base); 2452var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 2455var baseComp = CreateCompilationWithRequiredMembers(@base); 2557var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 2588var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard); 3215var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original"); 3263var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original"); 3298var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original"); 3346var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original"); 3393var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original"); 3832var comp = CreateCompilationWithRequiredMembers(new[] { code, handler }); 3861var comp = CreateCompilationWithRequiredMembers(code); 3890var comp = CreateCompilationWithRequiredMembers(code); 3915var comp = CreateCompilationWithRequiredMembers(code); 3941var comp = CreateCompilationWithRequiredMembers(code); 3970var comp = CreateCompilationWithRequiredMembers(code); 3999var comp = CreateCompilationWithRequiredMembers(code); 4029var comp = CreateCompilationWithRequiredMembers(code); 4144var comp = CreateCompilationWithRequiredMembers(code); 4176var comp = CreateCompilationWithRequiredMembers(code); 4208var comp = CreateCompilationWithRequiredMembers(code); 4230var comp = CreateCompilationWithRequiredMembers(code); 4256var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4276var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4307var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4327var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4348var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4369var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4397var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4424var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4448var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4477var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4509var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4543var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4578var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4612var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition }); 4660var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition }); 4663var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition }); 4705var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition }); 4708var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition }); 4750var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition }); 4753var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition }); 4794var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition }); 4797var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition }); 4840var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition }); 4843var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition }); 4868var comp = CreateCompilationWithRequiredMembers(code); 4899var comp = CreateCompilationWithRequiredMembers(code); 4926var comp = CreateCompilationWithRequiredMembers(code); 4961var comp = CreateCompilationWithRequiredMembers(code); 5008var comp = CreateCompilationWithRequiredMembers(code); 5053var comp = CreateCompilationWithRequiredMembers(code); 5095var comp = CreateCompilationWithRequiredMembers(code); 5136var comp = CreateCompilationWithRequiredMembers(code); 5199var comp = CreateCompilationWithRequiredMembers(new[] { derived, @base }); 5219var baseComp = CreateCompilationWithRequiredMembers(@base); 5282var comp = CreateCompilationWithRequiredMembers(code); 5345var comp = CreateCompilationWithRequiredMembers(new[] { derived, @base }); 5365var baseComp = CreateCompilationWithRequiredMembers(@base); 5675var attrComp = CreateCompilationWithRequiredMembers("", assemblyName: "attr"); 5708var comp = CreateCompilationWithRequiredMembers(code); 5737var comp = CreateCompilationWithRequiredMembers(code); 5763var comp = CreateCompilationWithRequiredMembers(code); 5789var comp = CreateCompilationWithRequiredMembers(code); 5815var comp = CreateCompilationWithRequiredMembers(code); 5852var comp = CreateCompilationWithRequiredMembers(code); 5884var comp = CreateCompilationWithRequiredMembers(code); 5920var comp = CreateCompilationWithRequiredMembers(code); 5955var comp = CreateCompilationWithRequiredMembers(code); 5991var comp = CreateCompilationWithRequiredMembers(code); 6031var comp = CreateCompilationWithRequiredMembers(code); 6076var comp = CreateCompilationWithRequiredMembers(code); 6302var comp = CreateCompilationWithRequiredMembers(code); 6338var comp = CreateCompilationWithRequiredMembers(code); 6365var comp = CreateCompilationWithRequiredMembers(code); 6399var comp = CreateCompilationWithRequiredMembers(code); 6435var comp = CreateCompilationWithRequiredMembers(code); 6474var comp = CreateCompilationWithRequiredMembers(code); 6525var comp = CreateCompilationWithRequiredMembers(code); 6556var comp = CreateCompilationWithRequiredMembers(code); 6581var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 6584var baseComp = CreateCompilationWithRequiredMembers(@base); 6625var comp = CreateCompilationWithRequiredMembers(code); 6656var comp = CreateCompilationWithRequiredMembers(new[] { @base, code }); 6663var baseComp = CreateCompilationWithRequiredMembers(@base); 6824var comp = CreateCompilationWithRequiredMembers(code); 6849var comp = CreateCompilationWithRequiredMembers(code); 6871var comp = CreateCompilationWithRequiredMembers(code); 6917var comp = CreateCompilationWithRequiredMembers(code); 6947var comp = CreateCompilationWithRequiredMembers($$""" 6967var reference = CreateCompilationWithRequiredMembers("").ToMetadataReference(); 6986var reference = CreateCompilationWithRequiredMembers("").ToMetadataReference(); 7005var comp = CreateCompilationWithRequiredMembers(""" 7050var comp = CreateCompilationWithRequiredMembers(""" 7095var comp = CreateCompilationWithRequiredMembers(""" 7116var comp = CreateCompilationWithRequiredMembers(""" 7138var comp = CreateCompilationWithRequiredMembers(""" 7209var comp = CreateCompilationWithRequiredMembers(code); 7233var comp = CreateCompilationWithRequiredMembers(code); 7250var comp = CreateCompilationWithRequiredMembers(code); 7284var comp = CreateCompilationWithRequiredMembers(code); 7310var comp = CreateCompilationWithRequiredMembers(code); 7331var comp = CreateCompilationWithRequiredMembers(code); 7846var comp = CreateCompilationWithRequiredMembers("""