173 references to InterpolatedStringHandlerAttribute
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
CodeGen\CodeGenCallTests.cs (8)
1854
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
1933
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
2015
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
2051
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
2133
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
2213
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
2295
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
2331
new[] { source,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute },
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (61)
FlowAnalysis\RegionAnalysisTests.cs (2)
9038
" +
InterpolatedStringHandlerAttribute
;
9087
" +
InterpolatedStringHandlerAttribute
;
OverloadResolutionPriorityTests.cs (2)
2118
var verifier = CompileAndVerify([handler, executable, OverloadResolutionPriorityAttributeDefinition,
InterpolatedStringHandlerAttribute
], expectedOutput: "12").VerifyDiagnostics();
2141
var comp = CreateCompilation([handler, OverloadResolutionPriorityAttributeDefinition,
InterpolatedStringHandlerAttribute
]);
Semantics\ExtensionTests.cs (14)
22058
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput).VerifyDiagnostics();
22094
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
22208
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput).VerifyDiagnostics();
22244
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
22692
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput)
22722
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
22806
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput)
22835
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
22907
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput)
22932
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
23017
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput)
23046
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
23119
var verifier = CompileAndVerify([exeSource, src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], expectedOutput: expectedOutput)
23158
var comp1 = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
Semantics\ExtensionTests2.cs (41)
15268
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15380
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
15469
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15569
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
15644
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15783
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15928
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
16032
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16117
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
16232
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16405
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16534
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16683
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16783
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
16872
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16950
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
17025
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17158
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17291
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
17395
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17469
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
17589
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17744
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17858
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17979
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18125
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18203
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
18271
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18399
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18569
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18643
var comp2 = CreateCompilation([src2,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute]);
18757
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18890
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18981
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
19065
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19176
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19300
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19410
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19523
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19616
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19722
var comp = CreateCompilation([src,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
Semantics\ParamsCollectionTests.cs (1)
3121
CompileAndVerify([source,
InterpolatedStringHandlerAttribute
], expectedOutput: """
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (1)
19622
var comp = CreateCompilation(new[] { code, CompilerFeatureRequiredAttribute,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute });
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (5)
IOperation\IOperationTests_IInterpolatedStringOperation.cs (5)
1790
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code,
InterpolatedStringHandlerAttribute
}, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.RegularPreview);
1875
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code,
InterpolatedStringHandlerAttribute
}, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.RegularPreview);
1930
VerifyOperationTreeAndDiagnosticsForTest<VariableDeclaratorSyntax>(new[] { code,
InterpolatedStringHandlerAttribute
}, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.RegularPreview);
4464
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(new[] { code,
InterpolatedStringHandlerAttribute
}, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.RegularPreview);
5645
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.RegularPreview);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (98)
Semantics\InterpolationTests.cs (63)
3246
var verifier = CompileAndVerify(new[] { code,
InterpolatedStringHandlerAttribute
});
4404
var comp = CreateCompilation(new[] { source,
InterpolatedStringHandlerAttribute
});
4593
CompileAndVerify(new[] { source,
InterpolatedStringHandlerAttribute
}, expectedOutput: "literal:l");
9242
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
});
9305
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
});
10169
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10272
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe);
10419
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10518
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10616
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10670
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10769
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10868
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10966
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11065
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11150
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11262
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11514
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11699
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11799
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11866
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11954
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
14244
var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14289
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14334
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14377
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14426
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14482
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14578
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14677
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14800
var comp = CreateCompilation([source,
InterpolatedStringHandlerAttribute
], targetFramework: TargetFramework.StandardAndCSharp);
14952
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14955
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
14984
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
15021
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15024
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
15061
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15064
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
15101
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15113
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15159
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15162
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15193
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15196
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15227
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15230
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15264
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15302
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15315
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15357
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15360
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15408
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15449
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
15485
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15536
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
15579
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15601
comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15641
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
18014
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"1");
18055
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"1");
18106
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"12");
18152
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"12");
18486
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
});
Semantics\NullableReferenceTypesTests.cs (4)
68400
",
InterpolatedStringHandlerAttribute
},
68437
",
InterpolatedStringHandlerAttribute
},
68488
",
InterpolatedStringHandlerAttribute
},
69124
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
});
Semantics\RawInterpolationTests_Handler.cs (27)
1618
var verifier = CompileAndVerify(new[] { code,
InterpolatedStringHandlerAttribute
});
2682
var comp = CreateCompilation(new[] { source,
InterpolatedStringHandlerAttribute
});
2894
CompileAndVerify(new[] { source,
InterpolatedStringHandlerAttribute
}, expectedOutput: "literal:l");
7298
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
});
7365
var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
});
10553
var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10604
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10655
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10700
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10751
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10812
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10911
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Mscorlib461AndCSharp);
11016
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
11054
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
11089
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
}, targetFramework: TargetFramework.Net50);
11131
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11179
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11212
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11245
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11279
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11317
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11358
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
13035
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"1");
13076
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"1");
13129
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"12");
13175
var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute,
InterpolatedStringHandlerAttribute
}, expectedOutput: @"12");
13488
var comp = CreateCompilation(new[] { code,
InterpolatedStringHandlerAttribute
});
Semantics\RefEscapingTests.cs (4)
4786
CreateCompilation([source, UnscopedRefAttributeDefinition,
InterpolatedStringHandlerAttribute
], options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4861
CreateCompilation([source, UnscopedRefAttributeDefinition,
InterpolatedStringHandlerAttribute
]).VerifyDiagnostics(
4917
CreateCompilation([source,
InterpolatedStringHandlerAttribute
]).VerifyDiagnostics();
4958
CreateCompilation([source,
InterpolatedStringHandlerAttribute
]).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
3122
" + (includeOneTimeHelpers ?
InterpolatedStringHandlerAttribute
+ cultureInfoHandler : "");