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)
50private static string GetAttributeArgs(InterceptableLocation location) => $@"{location.Version}, ""{location.Data}"""; 1831[InterceptsLocation(version: {{location.Version}}, data: "{{location.Data}}")] 1864[InterceptsLocation(data: "{{location.Data}}", version: {{location.Version}})] // 1 2032var lambda = [InterceptsLocation({{location.Version}}, "{{location.Data}}")] (string param) => { }; // 1 2034[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 2 2040[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 3 2145[InterceptsLocation({{location1.Version}}, "{{location1.Data}}")] // 1 2146[InterceptsLocation({{location2.Version}}, "{{location2.Data}}")] // 2 2147[InterceptsLocation({{location3.Version}}, "{{location3.Data}}")] // 3 6198[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7358[InterceptsLocation({{locationSpecifier!.Version}}, "{{locationSpecifier.Data}}")] 7404AssertEx.Equal("xRCCFCvTOZMORzSr/fZQFlIAAABQcm9ncmFtLmNz", locationSpecifier.Data); 7413AssertEx.Equal("xRCCFCvTOZMORzSr/fZQFmAAAABQcm9ncmFtLmNz", otherLocation.Data); 7546[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7587[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),