13 references to Create
Microsoft.Analyzers.Extra.Tests (1)
Resources\AnalyzerOptionsFactory.cs (1)
17var immutableFiles = ImmutableArray.Create(files, 0, files.Length);
Microsoft.Analyzers.Local.Tests (1)
Resources\AnalyzerOptionsFactory.cs (1)
17var immutableFiles = ImmutableArray.Create(files, 0, files.Length);
Microsoft.CodeAnalysis (1)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (1)
112yield return new CustomDebugInfoRecord(kind, version, ImmutableArray.Create(customDebugInfo, offset, bodySize - alignmentSize));
Microsoft.CodeAnalysis.Debugging.Package (1)
CustomDebugInfoReader.cs (1)
112yield return new CustomDebugInfoRecord(kind, version, ImmutableArray.Create(customDebugInfo, offset, bodySize - alignmentSize));
Microsoft.CodeAnalysis.Features (1)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (1)
112yield return new CustomDebugInfoRecord(kind, version, ImmutableArray.Create(customDebugInfo, offset, bodySize - alignmentSize));
Microsoft.ML.FastTree (7)
RegressionTree.cs (7)
162_lteChild = ImmutableArray.Create(_tree.LteChild, 0, _tree.NumNodes); 163_gtChild = ImmutableArray.Create(_tree.GtChild, 0, _tree.NumNodes); 165_numericalSplitFeatureIndexes = ImmutableArray.Create(_tree.SplitFeatures, 0, _tree.NumNodes); 166_numericalSplitThresholds = ImmutableArray.Create(_tree.RawThresholds, 0, _tree.NumNodes); 167_categoricalSplitFlags = ImmutableArray.Create(_tree.CategoricalSplit, 0, _tree.NumNodes); 168_leafValues = ImmutableArray.Create(_tree.LeafValues, 0, _tree.NumLeaves); 169_splitGains = ImmutableArray.Create(_tree.SplitGains, 0, _tree.NumNodes);
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray_1.cs (1)
463return ImmutableArray.Create(items, 0, length);