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