1 override of Data
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
91public override string Data
19 references to Data
Microsoft.CodeAnalysis.CSharp (1)
CSharpExtensions.cs (1)
1686return $"""[global::System.Runtime.CompilerServices.InterceptsLocationAttribute({location.Version}, "{location.Data}")]""";
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
673[InterceptsLocation({{location.Version}}, "{{location.Data}}")]
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\InterceptorsTests.cs (15)
42private static string GetAttributeArgs(InterceptableLocation location) => $@"{location.Version}, ""{location.Data}"""; 1823[InterceptsLocation(version: {{location.Version}}, data: "{{location.Data}}")] 1856[InterceptsLocation(data: "{{location.Data}}", version: {{location.Version}})] // 1 2024var lambda = [InterceptsLocation({{location.Version}}, "{{location.Data}}")] (string param) => { }; // 1 2026[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 2 2032[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 3 2137[InterceptsLocation({{location1.Version}}, "{{location1.Data}}")] // 1 2138[InterceptsLocation({{location2.Version}}, "{{location2.Data}}")] // 2 2139[InterceptsLocation({{location3.Version}}, "{{location3.Data}}")] // 3 6190[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7350[InterceptsLocation({{locationSpecifier!.Version}}, "{{locationSpecifier.Data}}")] 7396AssertEx.Equal("xRCCFCvTOZMORzSr/fZQFlIAAABQcm9ncmFtLmNz", locationSpecifier.Data); 7405AssertEx.Equal("xRCCFCvTOZMORzSr/fZQFmAAAABQcm9ncmFtLmNz", otherLocation.Data); 7538[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7579[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")]
SourceGeneration\GeneratorDriverTests.cs (1)
4405[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")]
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
148 InterceptableLocation: new InterceptableLocationRecord(interceptableLocation.Version, interceptableLocation.Data),