2 writes to ModelType
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Intermediate\BaseTypeWithModel.cs (1)
24
ModelType
= IntermediateNodeFactory.CSharpToken("TModel");
Mvc\ModelDirective.cs (1)
95
existingBaseType.
ModelType
= modelType;
3 references to ModelType
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\CodeGeneration\CodeWriterExtensions.cs (1)
734
WriteOptionalToken(baseType.
ModelType
);
Language\Intermediate\BaseTypeWithModel.cs (1)
32
ModelType
.Source = span[(greaterThanIndex + 1)..^1];
Mvc\ModelDirective.cs (1)
93
if (visitor.Class?.BaseType is BaseTypeWithModel {
ModelType
: not null } existingBaseType)