246 references to InterpolatedStringHandlerArgumentAttribute
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
CodeGen\CodeGenCallTests.cs (8)
1854new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 1933new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 2015new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 2051new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 2133new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 2213new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 2295new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, 2331new[] { source, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute },
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (1)
19622var comp = CreateCompilation(new[] { code, CompilerFeatureRequiredAttribute, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute });
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (22)
IOperation\IOperationTests_IInterpolatedStringOperation.cs (22)
2161VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 2260VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 3021VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 3163VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 3305VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 3455VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 3692VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 3841VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 4025VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 4168VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 4281VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false), InterpolatedStringHandlerArgumentAttribute }, 4554VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.RegularPreview); 4698VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.RegularPreview); 5435VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedFlowGraph, expectedDiagnostics); 5539VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.RegularPreview); 5645VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.RegularPreview); 5782VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics, parseOptions: TestOptions.RegularPreview); 5895VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics); 6012VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics); 6169VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics); 6304VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics); 6455VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedFlowGraph, expectedDiagnostics);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (215)
Semantics\InterceptorsTests.cs (3)
4738InterpolatedStringHandlerArgumentAttribute, 4793InterpolatedStringHandlerArgumentAttribute, 4850InterpolatedStringHandlerArgumentAttribute,
Semantics\InterpolationTests.cs (111)
6829var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute }); 6887var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6919var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6994var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7069var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7147var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7222var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7255var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7450var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7527var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7604var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler }); 7697var comp = CreateCompilation(new[] { code, goodCode, InterpolatedStringHandlerArgumentAttribute, handler }); 7714comp = CreateCompilation(new[] { code, badCode, InterpolatedStringHandlerArgumentAttribute, handler }); 7854var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler }); 7892var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler }); 7920var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7969var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 7976var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8027var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: parseOptions); 8095var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8259var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 8263var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8313var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 8321var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8432var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 8443var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8576var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8740var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8873var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9010var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9111var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }); 9174var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }); 9239var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9355var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9472var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9595var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9669var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9713var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9754new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, 9862var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedOutput: "1literal:literal", symbolValidator: validator, sourceSymbolValidator: validator); 9938var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9985comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe); 10038var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10141var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe); 10288var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10387var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10485var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10539var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10638var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10737var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10835var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 10879var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 10934var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 11019var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 11131var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 11383var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 11568var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 11668var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe); 11723var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 11785var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 11869var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedOutput: @" 11919var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 12016var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 12308var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 12572var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 12829var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 12898var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 12953var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 13182var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 13620var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 13876var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 13905var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 13937var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 14791var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14800comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14849var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14852comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14883var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14886comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14917var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 14920comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 14954var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50); 14992var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 15002comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50); 15047var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50); 15050comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50); 17339var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 17360var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 17390var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: @"i:1"); 17424var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 17454var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: @""); 17497var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 17562var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: @"i:1"); 17615var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"1"); 17656var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"1"); 17707var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"12"); 17753var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"12"); 17831var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 17869var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: "s.Field:1"); 17900var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: "2"); 17951var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: "s.Field:1"); 18000var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 18035var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: TestOptions.Regular11); 18042var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, 18139var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 18194var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 18249CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, 18619var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 18701var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 18800var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe); 18913var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
Semantics\NullableReferenceTypesTests.cs (22)
68308", GetInterpolatedStringCustomHandlerType("CustomHandler<T>", "partial struct", useBoolReturns, includeTrailingOutConstructorParameter: validityParameter), InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition }, 68337", GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns, includeTrailingOutConstructorParameter: validityParameter), InterpolatedStringHandlerArgumentAttribute }, 68508var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68541var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68575var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68605var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68631var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68668var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition }); 68695var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition }); 68729var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68765var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68798var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68832var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 68866var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition }); 68897var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition }); 68931var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition }); 68962var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition }); 68990var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition }); 69018var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition }); 69046var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition }); 69074var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition }); 69132var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
Semantics\RawInterpolationTests_Handler.cs (79)
5082var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute }); 5147var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5184var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5271var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5358var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5448var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5535var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5716var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5805var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 5894var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler }); 6024var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler }); 6066var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler }); 6099var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6153var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 6159var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6208var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6430var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 6434var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6486var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 6494var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6607var comp = CreateCompilation(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler }); 6618var dependency = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6753var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 6919var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7054var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7193var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7298var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }); 7365var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }); 7432var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7550var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7670var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7795var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7872var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7920var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 7963new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, 8074var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedOutput: "1literal:literal", symbolValidator: validator, sourceSymbolValidator: validator); 8156var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8246var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8292var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8360var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8447var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, expectedOutput: @" 8499var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8597var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 8890var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9155var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9414var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9485var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9539var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 9770var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 10220var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }); 10482var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 10516var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute }); 10553var comp = CreateCompilation(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp); 11128var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11173var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11206var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11239var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11273var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11311var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 11349var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50); 12752var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 12785var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: @"i:1"); 12821var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 12852var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: @""); 12896var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }); 12971var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: @"i:1"); 13026var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"1"); 13067var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"1"); 13120var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"12"); 13166var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, expectedOutput: @"12"); 13245var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 13286var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: "s.Field:1"); 13319var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: "2"); 13372var verifier = CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, expectedOutput: "s.Field:1"); 13423var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 13458var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 13534var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 13588var comp = CreateCompilation(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }); 13642CompileAndVerify(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) },