24 references to Type
IOperationGenerator (24)
IOperationClassWriter.cs (22)
299WriteLine($"{modifiers}{prop.Type} {prop.Name} {{ get; }}"); 407var ioperationProperties = allProps.Where(p => IsIOperationType(p.Type)).ToList(); 507if (prop.Type == "CommonConversion") 517Write($"{prop.Type} {prop.Name.ToCamelCase()}, "); 568else if (prop.Type == "CommonConversion") 574var initializer = IsIOperationType(prop.Type) 602if (prop.Type == "CommonConversion") 611Write($"public new {propExtensibility}{prop.Type} {prop.Name} => "); 616var basePropTypeWithoutNullable = GetTypeNameWithoutNullable(baseProp.Type); 617var propTypeWithoutNullable = GetTypeNameWithoutNullable(prop.Type); 620Write($"({prop.Type})"); 625if (baseProp.Type[^1] == '?' && prop.Type[^1] != '?') 638WriteLine($"public {propExtensibility}{prop.Type} {prop.Name} {{ get; }}"); 687if (IsImmutableArray(prop.Type, out _)) 748if (IsImmutableArray(prop.Type, out _)) 804bool isImmutableArray = IsImmutableArray(prop.Type, out _); 880bool isImmutableArray = IsImmutableArray(prop.Type, out _); 974if (IsIOperationType(prop.Type)) 976Write(IsImmutableArray(prop.Type, out _) ? "VisitArray" : "Visit"); 979else if (prop.Type == "CommonConversion") 1093return GetAllProperties(node).Where(p => IsIOperationType(p.Type)).ToList();
IOperationClassWriter.Verifier.cs (2)
56if (IsImmutableArray(prop.Type, out _) && prop.Type.Contains("?"))