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)
92
TypeName
= propertyNode.BoundAttribute.IsWeaklyTyped ? null : propertyNode.BoundAttribute.TypeName;
110
TypeName
= node.BoundAttribute.IsWeaklyTyped
130
TypeName
= node.BoundAttributeParameter.TypeName;
15 references to TypeName
Microsoft.CodeAnalysis.Razor.Compiler (15)
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 (4)
427
typeName = attribute.
TypeName
;
517
context.CodeWriter.Write(node.
TypeName
);
525
TypeNameHelper.WriteGloballyQualifiedName(context.CodeWriter, node.
TypeName
);
1343
QualifyEventCallback(context.CodeWriter, node.
TypeName
, explicitType);
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
186
formatter.WriteProperty(nameof(
TypeName
),
TypeName
);
213
return TryGetEventCallbackArgument(
TypeName
.AsMemory(), out argument);