10 writes to TypeName
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\Components\ComponentBindLoweringPass.cs (3)
576
valueNode.
TypeName
= valueAttribute?.IsWeaklyTyped == false ? valueAttribute.TypeName : null;
599
changeNode.
TypeName
= changeAttribute?.IsWeaklyTyped == false ? changeAttribute.TypeName : null;
626
expressionNode.
TypeName
= expressionAttribute.IsWeaklyTyped ? null : expressionAttribute.TypeName;
Language\Components\ComponentGenericTypePass.cs (4)
341
attribute.
TypeName
= globallyQualifiedTypeName;
373
attribute.
TypeName
= "global::System.Action<global::System.Object>";
378
attribute.
TypeName
= $"global::{ComponentsApi.EventCallback.FullTypeName}";
383
attribute.
TypeName
= "global::System.Object";
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
86
TypeName
= propertyNode.BoundAttribute.IsWeaklyTyped ? null : propertyNode.BoundAttribute.TypeName;
104
TypeName
= node.BoundAttribute.IsWeaklyTyped
124
TypeName
= node.BoundAttributeParameter.TypeName;
17 references to TypeName
Microsoft.CodeAnalysis.Razor.Compiler (17)
Language\Components\ComponentDesignTimeNodeWriter.cs (2)
797
QualifyEventCallback(context.CodeWriter, node.
TypeName
, explicitType);
889
return n.BoundAttribute != null && n.
TypeName
!= null;
Language\Components\ComponentGenericTypePass.cs (8)
331
if (attribute.
TypeName
!= null)
333
globallyQualifiedTypeName = rewriter.Rewrite(globallyQualifiedTypeName ?? attribute.
TypeName
);
337
if (attribute.BoundAttribute?.IsGenericTypedProperty() == true && attribute.
TypeName
!= null)
357
Debug.Assert(attribute.
TypeName
is not null);
358
var typeParameters = ParseTypeParameters(attribute.
TypeName
);
370
else if (attribute.
TypeName
== null && (attribute.BoundAttribute?.IsDelegateProperty() ?? false))
375
else if (attribute.
TypeName
== null && (attribute.BoundAttribute?.IsEventCallbackProperty() ?? false))
380
else if (attribute.
TypeName
== null)
Language\Components\ComponentNodeWriter.cs (3)
429
typeName = attribute.
TypeName
;
519
context.CodeWriter.Write(node.
TypeName
);
527
TypeNameHelper.WriteGloballyQualifiedName(context.CodeWriter, node.
TypeName
);
Language\Components\ComponentRuntimeNodeWriter.cs (1)
710
QualifyEventCallback(context.CodeWriter, node.
TypeName
, explicitType);
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
180
formatter.WriteProperty(nameof(
TypeName
),
TypeName
);
207
return TryGetEventCallbackArgument(
TypeName
.AsMemory(), out argument);