16 references to AssumeNotNull
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\Components\ComponentDesignTimeNodeWriter.cs (1)
529
using (context.BuildLinePragma(node.Source.
AssumeNotNull
()))
Language\Components\ComponentLoweringPass.cs (1)
354
StartTagSpan = node.StartTagSpan.
AssumeNotNull
(),
Language\Components\ComponentNodeWriter.cs (4)
194
context.CodeWriter.Write(parameter.SeqName.
AssumeNotNull
());
210
context.CodeWriter.Write(parameter.SeqName.
AssumeNotNull
());
219
context.CodeWriter.Write(parameter.SeqName.
AssumeNotNull
());
246
context.CodeWriter.Write(parameter.SeqName.
AssumeNotNull
());
Mvc.Version2_X\RazorPageDocumentClassifierPass.cs (2)
117
RazorExtensionsDiagnosticFactory.CreatePageDirective_CannotBeImported(pageDirective.DirectiveNode.Source.
AssumeNotNull
()));
133
RazorExtensionsDiagnosticFactory.CreatePageDirective_MustExistAtTheTopOfFile(pageDirective.DirectiveNode.Source.
AssumeNotNull
()));
Mvc\RazorPageDocumentClassifierPass.cs (2)
136
RazorExtensionsDiagnosticFactory.CreatePageDirective_CannotBeImported(pageDirective.DirectiveNode.Source.
AssumeNotNull
()));
152
RazorExtensionsDiagnosticFactory.CreatePageDirective_MustExistAtTheTopOfFile(pageDirective.DirectiveNode.Source.
AssumeNotNull
()));
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (3)
Cohost\CohostDocumentPullDiagnosticsTest.cs (1)
49
Assert.Equal("RZ0005", diagnostic.Code.
AssumeNotNull
().Second);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (2)
413
(index: inputText.GetRequiredAbsoluteIndex(r.StartLine, r.StartCharacter.
AssumeNotNull
()), isStart: true, r.Kind),
414
(index: inputText.GetRequiredAbsoluteIndex(r.EndLine, r.EndCharacter.
AssumeNotNull
()), isStart: false, r.Kind)
Microsoft.VisualStudioCode.RazorExtension.UnitTests (3)
Endpoints\CohostDocumentPullDiagnosticsTest.cs (1)
48
Assert.Equal("RZ0005", diagnostic.Code.
AssumeNotNull
().Second);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (2)
413
(index: inputText.GetRequiredAbsoluteIndex(r.StartLine, r.StartCharacter.
AssumeNotNull
()), isStart: true, r.Kind),
414
(index: inputText.GetRequiredAbsoluteIndex(r.EndLine, r.EndCharacter.
AssumeNotNull
()), isStart: false, r.Kind)