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)
1662return $"""[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)
51private static string GetAttributeArgs(InterceptableLocation location) => $@"{location.Version}, ""{location.Data}"""; 1832[InterceptsLocation(version: {{location.Version}}, data: "{{location.Data}}")] 1865[InterceptsLocation(data: "{{location.Data}}", version: {{location.Version}})] // 1 2033var lambda = [InterceptsLocation({{location.Version}}, "{{location.Data}}")] (string param) => { }; // 1 2035[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 2 2041[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 3 2146[InterceptsLocation({{location1.Version}}, "{{location1.Data}}")] // 1 2147[InterceptsLocation({{location2.Version}}, "{{location2.Data}}")] // 2 2148[InterceptsLocation({{location3.Version}}, "{{location3.Data}}")] // 3 6199[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7359[InterceptsLocation({{locationSpecifier!.Version}}, "{{locationSpecifier.Data}}")] 7405AssertEx.Equal("xRCCFCvTOZMORzSr/fZQFlIAAABQcm9ncmFtLmNz", locationSpecifier.Data); 7414AssertEx.Equal("xRCCFCvTOZMORzSr/fZQFmAAAABQcm9ncmFtLmNz", otherLocation.Data); 7547[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7588[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")]
SourceGeneration\GeneratorDriverTests.cs (1)
4360[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")]
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
148 InterceptableLocation: new InterceptableLocationRecord(interceptableLocation.Version, interceptableLocation.Data),