10 writes to TypeName
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\Components\ComponentBindLoweringPass.cs (3)
601valueNode.TypeName = valueAttribute?.IsWeaklyTyped == false ? valueAttribute.TypeName : null; 624changeNode.TypeName = changeAttribute?.IsWeaklyTyped == false ? changeAttribute.TypeName : null; 651expressionNode.TypeName = expressionAttribute.IsWeaklyTyped ? null : expressionAttribute.TypeName;
Language\Components\ComponentGenericTypePass.cs (4)
356attribute.TypeName = globallyQualifiedTypeName; 388attribute.TypeName = "global::System.Action<global::System.Object>"; 393attribute.TypeName = $"global::{ComponentsApi.EventCallback.FullTypeName}"; 398attribute.TypeName = "global::System.Object";
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
92TypeName = propertyNode.BoundAttribute.IsWeaklyTyped ? null : propertyNode.BoundAttribute.TypeName; 110TypeName = node.BoundAttribute.IsWeaklyTyped 130TypeName = node.BoundAttributeParameter.TypeName;
15 references to TypeName
Microsoft.CodeAnalysis.Razor.Compiler (15)
Language\Components\ComponentGenericTypePass.cs (8)
346if (attribute.TypeName != null) 348globallyQualifiedTypeName = rewriter.Rewrite(globallyQualifiedTypeName ?? attribute.TypeName); 352if (attribute.BoundAttribute?.IsGenericTypedProperty() == true && attribute.TypeName != null) 372Debug.Assert(attribute.TypeName is not null); 373var typeParameters = ParseTypeParameters(attribute.TypeName); 385else if (attribute.TypeName == null && (attribute.BoundAttribute?.IsDelegateProperty() ?? false)) 390else if (attribute.TypeName == null && (attribute.BoundAttribute?.IsEventCallbackProperty() ?? false)) 395else if (attribute.TypeName == null)
Language\Components\ComponentNodeWriter.cs (4)
435typeName = attribute.TypeName; 523context.CodeWriter.Write(node.TypeName); 531TypeNameHelper.WriteGloballyQualifiedName(context.CodeWriter, node.TypeName); 1362QualifyEventCallback(context.CodeWriter, node.TypeName, explicitType);
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
186formatter.WriteProperty(nameof(TypeName), TypeName); 213return TryGetEventCallbackArgument(TypeName.AsMemory(), out argument);