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