1 override of Version
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
82public override int Version => 1;
13 references to Version
Microsoft.CodeAnalysis.CSharp (1)
CSharpExtensions.cs (1)
1659return $"""[global::System.Runtime.CompilerServices.InterceptsLocationAttribute({location.Version}, "{location.Data}")]""";
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\InterceptorsTests.cs (11)
1886var lambda = [InterceptsLocation({{location.Version}}, "{{location.Data}}")] (string param) => { }; // 1 1888[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 2 1894[InterceptsLocation({{location.Version}}, "{{location.Data}}")] // 3 1990[InterceptsLocation({{location1.Version}}, "{{location1.Data}}")] // 1 1991[InterceptsLocation({{location2.Version}}, "{{location2.Data}}")] // 2 1992[InterceptsLocation({{location3.Version}}, "{{location3.Data}}")] // 3 5683[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 6834[InterceptsLocation({{locationSpecifier!.Version}}, "{{locationSpecifier.Data}}")] 6871Assert.Equal(1, locationSpecifier.Version); 7022[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")] 7063[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")]
SourceGeneration\GeneratorDriverTests.cs (1)
4230[InterceptsLocation({{locationSpecifier.Version}}, "{{locationSpecifier.Data}}")]