24 references to Type
IOperationGenerator (24)
IOperationClassWriter.cs (22)
302
WriteLine($"{modifiers}{prop.
Type
} {prop.Name} {{ get; }}");
417
var ioperationProperties = allProps.Where(p => IsIOperationType(p.
Type
)).ToList();
517
if (prop.
Type
== "CommonConversion")
527
Write($"{prop.
Type
} {prop.Name.ToCamelCase()}, ");
578
else if (prop.
Type
== "CommonConversion")
584
var initializer = IsIOperationType(prop.
Type
)
612
if (prop.
Type
== "CommonConversion")
621
Write($"public new {propExtensibility}{prop.
Type
} {prop.Name} => ");
626
var basePropTypeWithoutNullable = GetTypeNameWithoutNullable(baseProp.
Type
);
627
var propTypeWithoutNullable = GetTypeNameWithoutNullable(prop.
Type
);
630
Write($"({prop.
Type
})");
635
if (baseProp.
Type
[^1] == '?' && prop.
Type
[^1] != '?')
648
WriteLine($"public {propExtensibility}{prop.
Type
} {prop.Name} {{ get; }}");
697
if (IsImmutableArray(prop.
Type
, out _))
758
if (IsImmutableArray(prop.
Type
, out _))
814
bool isImmutableArray = IsImmutableArray(prop.
Type
, out _);
890
bool isImmutableArray = IsImmutableArray(prop.
Type
, out _);
984
if (IsIOperationType(prop.
Type
))
986
Write(IsImmutableArray(prop.
Type
, out _) ? "VisitArray" : "Visit");
989
else if (prop.
Type
== "CommonConversion")
1126
return GetAllProperties(node).Where(p => IsIOperationType(p.
Type
)).ToList();
IOperationClassWriter.Verifier.cs (2)
68
if (IsImmutableArray(prop.
Type
, out _) && prop.
Type
.Contains("?"))