11 references to GetSpan
Microsoft.AspNetCore.App.Analyzers (11)
Infrastructure\RoutePattern\RoutePatternLexer.cs (8)
148token.GetSpan())); 154token.GetSpan())); 160token.GetSpan())); 223new EmbeddedDiagnostic(Resources.TemplateRoute_UnescapedBrace, token.GetSpan())); 228new EmbeddedDiagnostic(Resources.FormatTemplateRoute_InvalidParameterName(token.Value!.ToString().Replace("{{", "{").Replace("}}", "}")), token.GetSpan())); 296new EmbeddedDiagnostic(Resources.TemplateRoute_UnescapedBrace, token.GetSpan())); 386new EmbeddedDiagnostic(Resources.TemplateRoute_UnescapedBrace, token.GetSpan())); 429new EmbeddedDiagnostic(Resources.AttributeRoute_TokenReplacement_UnescapedBraceInToken, token.GetSpan()));
RouteEmbeddedLanguage\RoutePatternClassifier.cs (1)
135_context.AddClassification(typeName, token.GetSpan());
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (2)
209context.CompletionListSpan.Value = token.GetSpan(); 213context.CompletionListSpan.Value = token.GetSpan();