24 references to Type
IOperationGenerator (24)
IOperationClassWriter.cs (22)
295WriteLine($"{modifiers}{prop.Type} {prop.Name} {{ get; }}"); 403var ioperationProperties = allProps.Where(p => IsIOperationType(p.Type)).ToList(); 503if (prop.Type == "CommonConversion") 513Write($"{prop.Type} {prop.Name.ToCamelCase()}, "); 564else if (prop.Type == "CommonConversion") 570var initializer = IsIOperationType(prop.Type) 598if (prop.Type == "CommonConversion") 607Write($"public new {propExtensibility}{prop.Type} {prop.Name} => "); 612var basePropTypeWithoutNullable = GetTypeNameWithoutNullable(baseProp.Type); 613var propTypeWithoutNullable = GetTypeNameWithoutNullable(prop.Type); 616Write($"({prop.Type})"); 621if (baseProp.Type[^1] == '?' && prop.Type[^1] != '?') 634WriteLine($"public {propExtensibility}{prop.Type} {prop.Name} {{ get; }}"); 683if (IsImmutableArray(prop.Type, out _)) 744if (IsImmutableArray(prop.Type, out _)) 800bool isImmutableArray = IsImmutableArray(prop.Type, out _); 876bool isImmutableArray = IsImmutableArray(prop.Type, out _); 970if (IsIOperationType(prop.Type)) 972Write(IsImmutableArray(prop.Type, out _) ? "VisitArray" : "Visit"); 975else if (prop.Type == "CommonConversion") 1089return GetAllProperties(node).Where(p => IsIOperationType(p.Type)).ToList();
IOperationClassWriter.Verifier.cs (2)
56if (IsImmutableArray(prop.Type, out _) && prop.Type.Contains("?"))